Skip to content

CHANGE @W-22462041@ - Upgrade PMD from 7.24.0 to 7.25.0#474

Merged
nikhil-mittal-165 merged 1 commit into
devfrom
nikhil.mittal/pmd-version-upgrade-20260624
Jun 24, 2026
Merged

CHANGE @W-22462041@ - Upgrade PMD from 7.24.0 to 7.25.0#474
nikhil-mittal-165 merged 1 commit into
devfrom
nikhil.mittal/pmd-version-upgrade-20260624

Conversation

@nikhil-mittal-165

Copy link
Copy Markdown
Contributor

Summary

Upgrades the bundled PMD engine from 7.24.0 to 7.25.0 for the monthly release.

Changes

  • PMD: 7.24.0 → 7.25.0 (gradle/libs.versions.toml, src/constants.ts)
  • junit-jupiter: 5.14.3 → 5.14.4 (latest stable patch)
  • gson: 2.13.2 → 2.14.0 (stays in sync with pmd-core 7.25.0's transitive gson dep)
  • @salesforce/code-analyzer-pmd-engine package version: 0.42.0-SNAPSHOT → 0.43.0-SNAPSHOT

Verification

  • ✅ Clean Gradle build (only pmd-*-7.25.0.jar in dist/java-lib; no duplicate slf4j or gson)
  • ✅ All Java tests pass
  • ✅ All 127 TypeScript tests pass (98.84% coverage)

PMD scan comparison (7.24.0 vs 7.25.0)

Ran the full comparison tool across 435 repos:

  • Total comparisons: 486,214
  • Mismatches: 0
  • Violation count delta: 0
  • Rule additions / removals / count changes: 0
  • Runtime: 22.0 min (7.24) vs 21.9 min (7.25) — essentially identical

PMD 7.25.0 is a behavior-preserving upgrade for our rule set. Full report archived to the team Drive.

Test plan

  • Gradle clean build
  • Java unit tests
  • TypeScript unit tests
  • Full PMD comparison scan (435 repos, 0 mismatches)

- Updated PMD from 7.24.0 to 7.25.0
- Updated junit-jupiter from 5.14.3 to 5.14.4 (latest stable patch)
- Updated gson from 2.13.2 to 2.14.0 (to stay in sync with pmd-core 7.25.0 transitive dep)
- Bumped @salesforce/code-analyzer-pmd-engine to 0.43.0-SNAPSHOT

Full PMD comparison scan (7.24.0 vs 7.25.0) run across 435 repos
(486,214 violations compared): 0 mismatches, 0 violation count delta,
0 rule changes. Behavior parity confirmed.
@git2gus

git2gus Bot commented Jun 24, 2026

Copy link
Copy Markdown

Git2Gus App is installed but the .git2gus/config.json doesn't have right values. You should add the required configuration.

@nikhil-mittal-165 nikhil-mittal-165 merged commit abccdd0 into dev Jun 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants