Back to Intellij Community

ClassWithTooManyTransitiveDependents

java/java-impl/resources/inspectionDescriptions/ClassWithTooManyTransitiveDependents.html

2025.3-rc-2496 B
Original Source

Reports a class on which too many other classes are directly or indirectly dependent.

Any modification to such a class may require changing many other classes, which may be expensive.

Only top-level classes are reported.

Use the Maximum number of transitive dependents field to specify the maximum allowed number of direct or indirect dependents for a class.

Available only from Code | Inspect Code or Code | Analyze Code | Run Inspection by Name and isn't reported in the editor.