• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pmd / pmd / 772
79%

Build:
DEFAULT BRANCH: main
Ran 06 Sep 2026 06:53PM UTC
Jobs 1
Files 2200
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2026 06:26PM UTC coverage: 79.418% (+0.001%) from 79.417%
772

push

github

web-flow
[java] Fix #6780: NonThreadSafeSingleton checkNonStaticMethods contradicting impl (#6864)

* [java] Fix NonThreadSafeSingleton checkNonStaticMethods contradicting its description (#6780)

checkNonStaticMethods=true (the default) was silently skipping
non-static methods instead of checking them - the exact opposite
of the documented behavior. Inverted the condition so the flag
now matches its Javadoc, and added regression tests covering both
the default (checked) and checkNonStaticMethods=false (skipped)
cases.

* Update NonThreadSafeSingleton.xml for consistency

* Deprecate non-static methods check in NonThreadSafeSingletonRule

Updated the NonThreadSafeSingletonRule to remove the check for non-static methods as it is now always enforced. Added deprecation notice for the ignored property.

* Update NonThreadSafeSingleton.xml test data

* Use constant for "!deprecated" rule property

* Add additional tests

- for suppressing via xpath
- for checkNonStaticFields

* NonThreadSafeSingleton: Improve rule documentation

* Update release notes (#6780, #6864)

* Fix dead links checker

* NonThreadSafeSingleton: Use ASTVariableId instead of field names

This makes sure, we resolve the correct
fields in case of shadowing.

---------

Co-authored-by: dweep <existing1.001@gmail>
Co-authored-by: Andreas Dangel <andreas.dangel@pmd-code.org>

19698 of 25798 branches covered (76.35%)

Branch coverage included in aggregate %.

23 of 24 new or added lines in 2 files covered. (95.83%)

2 existing lines in 1 file now uncovered.

42628 of 52680 relevant lines covered (80.92%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% pmd-doc/src/main/java/net/sourceforge/pmd/doc/internal/DeadLinksChecker.java

Coverage Regressions

Lines Coverage ∆ File
2
29.17
-16.67% pmd-core/src/main/java/net/sourceforge/pmd/lang/metrics/LanguageMetricsProvider.java
Jobs
ID Job ID Ran Files Coverage
1 772.1 06 Sep 2026 06:53PM UTC 2200
79.42
GitHub Action Run
Source Files on build 772
  • Tree
  • List 2200
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #772
  • e80f7255 on github
  • Prev Build on main (#771)
  • Next Build on main (#773)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc