Menu โ–พ โ–ด

PMD 7.15.0 (27-June-2025) released

27-June-2025 - 7.15.0

The PMD team is pleased to announce PMD 7.15.0.

This is a minor release.

Table Of Contents

๐Ÿš€ New and noteworthy

โœจ New Rules

  • The new Apex rule AvoidBooleanMethodParameters finds methods that take a
    boolean parameter. This can make method calls difficult to understand and maintain as the method is clearly
    doing two things.

๐Ÿ› Fixed Issues

  • apex-design
  • #5427: [apex] New Rule: Avoid Boolean Method Parameters
  • apex-security
  • #5788: [apex] ApexCRUDViolation unable to detect insecure SOQL if it is a direct input argument
  • doc
  • #5790: [doc] Website rule reference pages are returning 404
  • java-bestpractices
  • #5785: [java] UnusedPrivateField doesn't play well with UnnecessaryWarningSuppression
  • #5793: [java] NonExhaustiveSwitch fails on exhaustive switch with sealed class
  • java-codestyle
  • #1639: [java] UnnecessaryImport false positive for multiline @link Javadoc
  • #2304: [java] UnnecessaryImport false positive for on-demand imports in JavaDoc
  • #5832: [java] UnnecessaryImport false positive for multiline @see Javadoc
  • java-design
  • #5804: [java] UselessOverridingMethod doesn't play well with UnnecessarySuppressWarning

๐Ÿšจ API Changes

Rule Test Schema

The rule test schema has been extended to support verifying suppressed violations.
See Testing your rules for more information.

Also note, the schema rule-tests.xsd
is now only in the module "pmd-test-schema". It has been removed from the old location from module "pmd-test".

๐Ÿ’ต Financial Contributions

Many thanks to our sponsors:

โœจ Merged pull requests

๐Ÿ“ฆ Dependency updates

  • #5775: Bump PMD from 7.13.0 to 7.14.0
  • #5778: Bump the all-gems group across 2 directories with 3 updates
  • #5779: Bump org.codehaus.mojo:exec-maven-plugin from 3.5.0 to 3.5.1
  • #5780: Bump org.apache.maven.plugins:maven-clean-plugin from 3.4.1 to 3.5.0
  • #5781: Bump com.google.protobuf:protobuf-java from 4.31.0 to 4.31.1
  • #5782: Bump org.apache.groovy:groovy from 4.0.26 to 4.0.27
  • #5783: Bump com.puppycrawl.tools:checkstyle from 10.24.0 to 10.25.0
  • #5784: Bump org.junit:junit-bom from 5.12.2 to 5.13.0
  • #5807: Bump maven from 3.9.8 to 3.9.10
  • #5809: Bump org.codehaus.mojo:build-helper-maven-plugin from 3.6.0 to 3.6.1
  • #5810: Bump org.junit:junit-bom from 5.13.0 to 5.13.1
  • #5811: Bump junit5.platform.version from 1.13.0 to 1.13.1
  • #5812: Bump org.checkerframework:checker-qual from 3.49.3 to 3.49.4
  • #5813: Bump the all-gems group across 2 directories with 1 update
  • #5828: Bump scalameta.version from 4.13.6 to 4.13.7
  • #5829: Bump liquid from 5.8.6 to 5.8.7 in /.ci/files in the all-gems group across 1 directory
  • #5838: Bump marocchino/sticky-pull-request-comment from 2.9.2 to 2.9.3 in the all-actions group
  • #5839: Bump log4j.version from 2.24.3 to 2.25.0
  • #5840: Bump com.puppycrawl.tools:checkstyle from 10.25.0 to 10.25.1
  • #5841: Bump net.bytebuddy:byte-buddy-agent from 1.17.5 to 1.17.6
  • #5842: Bump net.bytebuddy:byte-buddy from 1.17.5 to 1.17.6
  • #5843: Bump org.sonatype.central:central-publishing-maven-plugin from 0.7.0 to 0.8.0
  • #5844: Bump ostruct from 0.6.1 to 0.6.2 in /.ci/files in the all-gems group across 1 directory
  • #5853: Bump build-tools from 30 to 32

๐Ÿ“ˆ Stats

  • 91 commits
  • 24 closed tickets & PRs
  • Days since last release: 27
Posted by Andreas Dangel 2025-06-27 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.