31 December 2022
The PMD team is pleased to announce PMD 6.53.0.
This is a minor release.
UnusedPrivateField
has a new property reportForAnnotations
.
This is a list of fully qualified names of the annotation types that should be reported anyway. If an unused field
has any of these annotations, then it is reported. If it has any other annotation, then it is still considered
to be used and is not reported.The Java rules ExcessiveClassLength
and ExcessiveMethodLength
have been deprecated. The rule NcssCount
can be used instead.
The deprecated rules will be removed with PMD 7.0.0.
The Java rule EmptyStatementNotInLoop
is deprecated.
Use the rule UnnecessarySemicolon
instead.
Note: Actually it was announced to be deprecated since 6.46.0 but the rule was not marked as deprecated yet.
This has been done now.
These classes / APIs have been deprecated and will be removed with PMD 7.0.0.
ExcessiveLengthRule
(Java)