报告引用过多其他类的类。
耦合度过高的类可能非常脆弱,应该被拆分为较小的类。
配置检查:
- 使用类耦合限制字段可指定类允许的最大耦合度。
- Use the Include couplings to java system classes option to specify whether references to system classes
(those in the
java.or javax. packages) should be counted.
- 使用包括与库类的耦合选项可指定是否应该计算对任何库类的引用。