Back to Intellij Community

PackageWithTooFewClasses

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

2025.3-rc-2420 B
Original Source

Reports packages that contain fewer classes than the specified minimum.

Packages which contain subpackages are not reported. Overly small packages may indicate a fragmented design.

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

Use the Minimum number of classes field to specify the minimum allowed number of classes in a package.