NetBeans 7 dependency graph (unused class / method)

Is there a way to create a dependency graph for classes and / or methods of Java SE projects in NetBeans 7? I have a very large project, and I would like to clean up unused classes or methods (and a dependency graph would also be useful).

The "center" of the graph will be the entry point main()for the main classes that I call, and adjacencies - method calls (including some Swing environment methods for classes that override the Java Swing structure).

+2
source share
2 answers

What is strange, when I right-click on a project in NetBeans 7.0.1, I can select "Show dependency graph" and it shows me a dependency graph full of conflicts and everything!

+3
source

If you want the dependency viewer (calll rentarchy) to hang, it is written: http://netbeans.dzone.com/announcements/new-class-visualization-module

in the plugin manager add the update center:    http://updates.netbeans.org/netbeans/updates/dev/uc/final/main/catalog.xml.gz and also http://deadlock.netbeans.org/hudson/job/ nbms-and-javadoc / lastStableBuild / artifact / nbbuild / nbms / updates.xml.gz

you can now install

Graphical view of the class

: 1.4 : Build
Java, . , Java.

→ ,

?

+2

Source: https://habr.com/ru/post/1753898/


All Articles