PMD is a code analyzer that can help find common programming problems such as unused variables, empty catch blocks, unnecessary object creation, and more. Initially supporting Java code only, JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML and XSL are now also supported.
PMD 6.52 is officially released, and the content of this update is as follows:
new rules
- New Java Rules
InvalidJavaBean
Beans that do not conform to the JavaBeans API specification, such as beans that lack getters or setters, can be identified.
<rule ref="category/java/design.xml/InvalidJavaBean"/>
renaming rules
Java rules
BeanMembersShouldSerialize
has been renamed toNonSerializableClass
.It has been modified to only check forSerializable
class and report every field in it that is not serializable.Attributes
prefix
Deprecated because in a serializable class all fields must be serializable regardless of their name.
modified rules
- rule
ClassNamingConventions
has a new attributetestClassPattern
which is applied to the test class - rule
ImmutableField
properties ofignoredAnnotations
Obsolete and no longer serves any purpose
For more details, please check: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.52.0
#PMD #Released #Code #Analyzer #News Fast Delivery