简体   繁体   English

如何找到IntelliJ Idea中具有最多依赖类的类?

[英]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? 如何在IntelliJ Idea中找到它(项目中每个类的依赖类的数量)?

I tried to install JDepend plugin, but it seems outdated. 我试图安装JDepend插件,但似乎已经过时了。

You could inspect your code with Dependency issues inspection changing the threshold value for dependencies count. 您可以使用依赖项问题检查来检查代码,从而更改依赖项计数的阈值。 Both direct and transitive deps are supported. 支持直接和传递deps。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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