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.54 is officially released. This is a minor version. The content of this update is as follows:

New report format html-report-v2.xslt

A new PMD report format has been added, which features a data table with charting capabilities, and uses an XSLT stylesheet to convert PMD’s XML format to HTML.

Fixed issues

  • apex-bestpractices
    • #2669: [apex] UnusedLocalVariable false positive in dynamic SOQL
  • core
    • #4026: [cli] Despite the parameter -short-namesbut the filenames in the report are still printed as absolute paths
    • #4279: [core] Cannot set ruleset property value to null
    • #4329: [core] Refactoring usage of snakeyaml
    • #4340: [core] Allows to filter found matches in CPDReport
  • java
    • #4364: [java] A block of text containing a quote and two backslashes was parsed incorrectly.
  • testing
    • #4236: [test] kotest log corruption

API changes

PMD CLI

  • PMD now supports a new -relativize-paths-with logo (or -z), which replaces -short-names

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

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

Leave a Comment

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