简体   繁体   中英

How to find out classes with highest number of dependent classes in IntelliJ Idea?

I want to improve the unit test coverage of a certain project. In order to do this, I need to find out, what classes are the most important ones.

By "important" I mean the number of classes, which use a particular class (including transitive dependencies).

How can I find it out (number of dependent classes for every class in a project) in IntelliJ Idea?

I tried to install JDepend plugin, but it seems outdated.

You could inspect your code with Dependency issues inspection changing the threshold value for dependencies count. Both direct and transitive deps are supported.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM