??-?????-2022 - 7.0.0-SNAPSHOT

The PMD team is pleased to announce PMD 7.0.0-SNAPSHOT.

This is a major release.

New and noteworthy

Gherkin support

Thanks to the contribution from Anne Brouwers PMD now has CPD support for the Gherkin language. It is used to defined test cases for the Cucumber testing tool for behavior-driven development.

Being based on a proper Antlr grammar, CPD can:

Fixed Issues

  • java-bestpractices
    • #3455: [java] WhileLoopWithLiteralBoolean - false negative with complex expressions
  • java-performance
    • #3625: [java] AddEmptyString - false negative with empty var

API Changes

External Contributions