- On the main menu, choose . Note that this command becomes available on the menu if only the DSM Analysis plugin has been enabled. Refer to the Plugins page of the Preferences dialog.
- In the Specify Analyze Dependency Matrix Scope dialog, click the radio button that corresponds to the desired analysis scope.
-
Check the Include test sources check box, if you want to analyze the test sources. Click OK.
If your project class files are out-of-date, the analysis may result in incomplete or incorrect data. To avoid this, IntelliJ IDEA asks you whether you want to compile a project before continuing the DSM analysis.
- When ready, the DSM View is opened in a new window, enabling you to examine dependencies.