IntelliJ IDEA 2016.3 Help

Analyzing Cyclic Dependencies

Cyclic dependencies analysis enables you to detect any circular relationships between the packages in the specified scope. Results of analysis display in a dedicated tab of the Dependency Viewer.

To analyze a project for cyclic dependencies

  1. On the main menu, choose Analyze | Analyze Cyclic Dependencies.
  2. In the Specify Cyclic Dependency Analysis Scope dialog, select the desired scope of analysis.
  3. Click OK to run the analysis. Productivity hints are displayed while the analysis is in progress. When ready, the Dependency Viewer opens a special tab, enabling you to examine the dependencies.
  4. 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. The search results display in the lower pane of the tab.

See Also

Last modified: 21 March 2017