Skip to content

Bump pmd.metrics.version from 7.20.0-metrics to 7.21.0-metrics#1738

Merged
uhafner merged 2 commits intomainfrom
dependabot/maven/pmd.metrics.version-7.21.0-metrics
Feb 6, 2026
Merged

Bump pmd.metrics.version from 7.20.0-metrics to 7.21.0-metrics#1738
uhafner merged 2 commits intomainfrom
dependabot/maven/pmd.metrics.version-7.21.0-metrics

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 2, 2026

Bumps pmd.metrics.version from 7.20.0-metrics to 7.21.0-metrics.
Updates edu.hm.hafner:pmd-core from 7.20.0-metrics to 7.21.0-metrics

Release notes

Sourced from edu.hm.hafner:pmd-core's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits

Updates edu.hm.hafner:pmd-java from 7.20.0-metrics to 7.21.0-metrics

Release notes

Sourced from edu.hm.hafner:pmd-java's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `pmd.metrics.version` from 7.20.0-metrics to 7.21.0-metrics.

Updates `edu.hm.hafner:pmd-core` from 7.20.0-metrics to 7.21.0-metrics
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](https://github.com/pmd/pmd/commits)

Updates `edu.hm.hafner:pmd-java` from 7.20.0-metrics to 7.21.0-metrics
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](https://github.com/pmd/pmd/commits)

---
updated-dependencies:
- dependency-name: edu.hm.hafner:pmd-core
  dependency-version: 7.21.0-metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: edu.hm.hafner:pmd-java
  dependency-version: 7.21.0-metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update of dependencies java Pull requests that update Maven Java dependencies labels Feb 2, 2026
@github-actions github-actions bot requested a review from uhafner February 2, 2026 19:22
This rule does not make sense for hidden parent classes.
@uhafner
Copy link
Owner

uhafner commented Feb 6, 2026

Disabled the PublicMemberInNonPublicType rule, as this rule does not make sense for hidden parent classes.

See pmd/pmd#6231

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

☀️   Quality Monitor

Tests

   JUnit   Unit Tests (Whole Project): 100.00% successful (86 passed, 2 skipped)
   ⛔   Architecture Tests (Whole Project): 100.00% successful (17 passed, 2 skipped)

Coverage for New Code

   〰️   Line Coverage (Changed Code): n/a (0 missed lines)
   ➰   Branch Coverage (Changed Code): n/a (0 missed branches)
   PIT   Mutation Coverage (Changed Code): n/a (0 survived mutations)
   💪   Test Strength (Changed Code): n/a (0 survived mutations in tested code)

Coverage for Whole Project

   〰️   Line Coverage (Whole Project): 91.22% (64 missed lines)
   ➰   Branch Coverage (Whole Project): 90.45% (21 missed branches)
   PIT   Mutation Coverage (Whole Project): 84.38% (60 survived mutations)
   💪   Test Strength (Whole Project): 89.26% (39 survived mutations in tested code)

Style

   CheckStyle   CheckStyle (Whole Project): No warnings
   PMD   PMD (Whole Project): No warnings
   ☕   Java Compiler (Whole Project): No warnings

Bugs

   SpotBugs   SpotBugs (Whole Project): No bugs
   🐛   Error Prone (Whole Project): No bugs

API Problems

   🚫   Revapi (Whole Project): No warnings

Vulnerabilities

   🛡️   OWASP Dependency Check (Whole Project): No vulnerabilities

Software Metrics

   🌀   Cyclomatic Complexity (Whole Project): 377 (total)
   💭   Cognitive Complexity (Whole Project): 174 (total)
   ➿   N-Path Complexity (Whole Project): 341 (total)
   📏   Lines of Code (Whole Project): 4282 (total)
   📝   Non Commenting Source Statements (Whole Project): 1261 (total)
   🔗   Class Cohesion (Whole Project): 71.43% (maximum)
   ⚖️   Weight of Class (Whole Project): 100.00% (maximum)

🚦 Quality Gates

Overall Status: ✅ SUCCESS

✅ Passed Gates

  • ✅ Overall Tests Success Rate: 100.00 >= 100.00
  • ✅ Line Coverage in New Code: 100.00 >= 90.00
  • ✅ Branch Coverage in New Code: 100.00 >= 90.00
  • ✅ Mutation Coverage in New Code: 100.00 >= 90.00
  • ✅ Potential Bugs in Whole Project: 0.00 <= 0.00
  • ✅ Style Violation in Whole Project: 0.00 <= 0.00

Created by Quality Monitor v4.0.0 (#8f591a4). More details are shown in the GitHub Checks Result.

@uhafner uhafner merged commit 9ec0905 into main Feb 6, 2026
15 checks passed
@uhafner uhafner deleted the dependabot/maven/pmd.metrics.version-7.21.0-metrics branch February 6, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies java Pull requests that update Maven Java dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant