Reports packages whose names are either too short, too long, or do not follow the specified regular expression pattern.

A quick-fix to rename such packages is available only in the editor.

Example:


  package io;
This example will be reported if the inspection is enabled with the default settings where a package name should have a minimum length of 3.

Use the fields in the Options section to specify the minimum length, maximum length, and regular expression for acceptable package names. Specify 0 in a length field to skip the corresponding check. Regular expressions use the standard java.util.regex format.