Back to Intellij Community

PackageWithTooManyClasses

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

2025.3-rc-2348 B
Original Source

Reports packages that contain too many classes.

Overly large packages may indicate a lack of design clarity.

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

Use the Maximum number of classes field to specify the maximum allowed number of classes in a package.