Inspectopedia Help

Package with too few classes

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.

Inspection options

Option

Type

Default

Minimum number of classes

Number

3

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023