Isbn.java:3, ShortClassName, Priority: Normal
A Classname should have a minimum of five characters.
Card.java:7, ShortClassName, Priority: Normal
A Classname should have a minimum of five characters.
Isbn & Card are both valid class names, should this rule be changed to four characters?
You could annotate these two classes like @SuppressWarning("PMD.ShortClassName")
But I also like the idea of having a variable for the minimum, like for LongVariable.
I've implemented this as a feature-request. With the next release, you can configure the rule via the property "minimum". By default, this will be still 5 characters, but you can change it to four then.