Skip to content

Update pmd config to make it pmd 7 compatible#13168

Draft
vishesh92 wants to merge 1 commit into
apache:4.20from
shapeblue:update-pmd-config
Draft

Update pmd config to make it pmd 7 compatible#13168
vishesh92 wants to merge 1 commit into
apache:4.20from
shapeblue:update-pmd-config

Conversation

@vishesh92
Copy link
Copy Markdown
Member

@vishesh92 vishesh92 commented May 15, 2026

Description

This PR updates pmd config to make it pmd 7 compatible

mvnd clean install -P developer,systemvm -DskipTests=true

# Generates pmd.xml in target directory for modules with errors.
mvnd pmd:check -P developer,systemvm -DskipTests=true

Ref: https://docs.pmd-code.org/pmd-doc-7.0.0-rc2/pmd_rules_java.html#best-practices

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.26%. Comparing base (a7c2a05) to head (be6b50c).

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #13168      +/-   ##
============================================
- Coverage     16.27%   16.26%   -0.01%     
+ Complexity    13440    13437       -3     
============================================
  Files          5665     5665              
  Lines        500555   500555              
  Branches      60789    60789              
============================================
- Hits          81445    81439       -6     
- Misses       410004   410011       +7     
+ Partials       9106     9105       -1     
Flag Coverage Δ
uitests 4.15% <ø> (ø)
unittests 17.12% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant