Menu

PMD 7.7.0 (25-October-2024) released

25-October-2024 - 7.7.0

The PMD team is pleased to announce PMD 7.7.0.

This is a minor release.

Table Of Contents

🚀 New and noteworthy

CPD can now ignore literals and identifiers in C++ code

When searching for duplicated code in C++ differences in literals or identifiers can be
ignored now (like in Java). This can be enabled via the command line options --ignore-literal
and --ignore-identifiers.
See PR #5040 for details.

🌟 Rule Changes

Changed Rules

Renamed Rules

The old rule names still work but are deprecated.

🐛 Fixed Issues

  • apex-performance
  • #5270: [apex] AvoidNonRestrictiveQueries when LIMIT is followed by bind expression
  • java
  • #4532: [java] Rule misnomer for JUnit* rules
  • #5261: [java] Record patterns with empty deconstructor lists lead to NPE
  • java-bestpractices
  • #4286: [java] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch
  • #4813: [java] SwitchStmtsShouldHaveDefault false positive with pattern matching
  • java-codestyle
  • #5253: [java] BooleanGetMethodName: False-negatives with Boolean wrapper
  • java-design
  • #5030: [java] SwitchDensity false positive with pattern matching
  • java-errorprone
  • #3362: [java] ImplicitSwitchFallThrough should consider switch expressions
  • #5067: [java] CloseResource: False positive for FileSystems.getDefault()
  • #5244: [java] UselessOperationOnImmutable should detect java.time types
  • #5257: [java] NonCaseLabelInSwitch should consider switch expressions
  • java-performance
  • #5249: [java] TooFewBranchesForASwitchStatement false positive for Pattern Matching
  • #5250: [java] TooFewBranchesForASwitchStatement should consider Switch Expressions

🚨 API Changes

✨ Merged pull requests

📦 Dependency updates

  • #5234: Bump com.google.protobuf:protobuf-java from 3.25.3 to 4.28.2
  • #5274: Bump org.junit from 5.8.2 to 5.11.2
  • #5276: Bump org.checkerframework:checker-qual from 2.11.1 to 3.48.1
  • #5280: Bump danger from 9.5.0 to 9.5.1 in the all-gems group across 1 directory
  • #5281: Bump org.scala-lang:scala-reflect from 2.13.13 to 2.13.15

📈 Stats

  • 98 commits
  • 32 closed tickets & PRs
  • Days since last release: 27
Posted by Andreas Dangel 2024-10-25 Labels: pmd release

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.