IntelliJ IDEA 14.0.0 Web Help

Analyzing Backward Dependencies

With this type of analysis you can find another classes or modules in a certain scope of interest, that depend on the specified scope of analysis (a whole project, a module, a file, unversioned files etc.). Results of the analysis display in a dedicated tab of the Dependency Viewer.

Backward dependencies analysis might be considerably time-consuming, especially on large projects.

To analyze a project for backward dependencies

  1. On the main menu, choose Analyze | Analyze Backward Dependencies. The Specify Backward Dependency Analysis Scope dialog box opens.
  2. In the Analysis Scope section, specify the part of your project, for which you would like to find the dependencies.
  3. In the Scope of Interest section, specify the scope where the dependencies are sought for. You can select one of the pre-defined scopes from the drop-down list, or click the ellipsis button and create your own scope in the Scopes dialog.
  4. Select the Include test sources check box, if you wish to analyze the test sources.
  5. Click OK to run analysis. Productivity hints are displayed while the analysis is in progress. When ready, the Dependency Viewer opens a special tab, enabling you to examine dependencies.
  6. In the left pane of the Dependency Viewer, select the node to be sought for. In the right pane select the scope to find usages of the selected node. Search results display in the lower pane of the tab.

See Also

Concepts:

Reference:

Web Resources:

Last modified: 12 November 2014
comments powered by Disqus