IntelliJ IDEA 2020.3 Help

Backward dependencies

With this type of analysis you can find another classes or modules in a certain range of files that depend on the specified scope of analysis (a whole project, a module, a file, unversioned files, and so on).

Analysing backward dependencies analysis might be time consuming, especially in large projects.

Run the backward dependencies analysis

  1. From the main menu, select Analyze | Backward Dependencies.

  2. In the Analysis Scope section of the dialog, specify the part of your project for which you would like to find the dependencies.

  3. In the Scope to Analyze Usages in section, specify the scope in which you want to search for dependencies.

    You can select one of the pre-defined scopes from the list, or click the ellipsis button and create your own scope in the Scopes dialog.

  4. Select the Include test sources checkbox, if you wish to analyze the test sources.

  5. Click OK to run the analysis.

    Running the backward dependencies analysis

    When ready, in the Dependency viewer opens a special tab, enabling you to examine dependencies.

In the left pane of the Dependency Viewer, select the node in which you want to search for dependencies. In the right pane select what to search for. Search results display in the lower pane of the tab.

Analyzing backward dependencies
Last modified: 07 July 2020