Inspectopedia Help

Package with too many classes

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.

Inspection options

Option

Type

Default

Maximum number of classes

Number

50

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023