PMD 6.17.0 released. PMD is a code analyzer that can help find common programming problems, such as unused variables, empty catch blocks, unnecessary object creation and so on. Initially only supports Java code, currently also supports JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML and XSL.
This is a minor update version Major update includes:
Update PMD Designer
The PMD release a new version of pmd-designer. About the changes, please refer to the PMD Designer change log .
It includes a new feature directly in the designer to edit the test case.
Lua support
On the basis of full support for the efforts made based on Antlr language, PMD is now providing support for the CPD Lua.
The revised rules
- Java rules
CloseResource
(java-errorprone
) now defaults to ignorejava.io.ByteArrayInputStream
andjava.io.CharArrayWriter
. These streams / writer does not need to turn off. - Java rules
MissingStaticMethodInNonInstantiatableClass
(java-errorprone
) now has a new propertyannotations
. When one private constructor to use when one of the annotation to annotate, the class is no longer considered a non-instantiated and does not report any irregularities. By default, Spring@Autowired
and Java EE@Inject
annotations are identified.
This release also fixes a lot of bug, Details for update instructions .