PMD 6.17.0 release, cross-language automatic static code analysis tool

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 ignore  java.io.ByteArrayInputStream and  java.io.CharArrayWriter. These streams / writer does not need to turn off.
  • Java rules MissingStaticMethodInNonInstantiatableClass( java-errorprone) now has a new property annotations. 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  @Autowiredand Java EE @Injectannotations are identified.

This release also fixes a lot of bug, Details for update instructions .

Guess you like

Origin www.oschina.net/news/108619/pmd-6-17-0-released