PMD is a code analyzer that helps find common programming problems like unused variables, empty catch blocks, unnecessary object creation, and more. Initially only Java code is supported, and now JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML and XSL are also supported.

PMD 6.50 is officially released. The update content is as follows:

New and noteworthy changes

Lua now supports additional Luau

This version of PMD adds support for Luau, a language derived from Lua. This means that the Lua language in PMD can now parse both Lua and Luau.

Modified Rules

  • Java Rules UnusedPrivateField Private Fields can now be ignored
  • Java Rules CommentDefaultAccessModifier JUnit5 annotated methods are now ignored by default.This behavior can use properties ignoredAnnotations to customize.

Fixed issues

  • core
    • –file parameter missing from TreeExport CLI example
  • doc
    • Add a page for third-party rule sets
    • Fix typo in Java rules documentation
  • java
    • Add an example of a java project that uses the new language construct in regression testing
  • scala
    • Upgrade scala-library to 2.12.7/2.13.9
    • Upgrade scalameta to 4.6.0

CPD CLI

  • CPD now supports use when analyzing Lua code --ignore-literal-sequences parameter

For more details, please check: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.50.0

#PMD #Released #Code #Analyzer #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *