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

pmd / pmd / 759
79%

Build:
DEFAULT BRANCH: main
Ran 01 Sep 2026 04:45AM 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

30 Aug 2026 05:26PM UTC coverage: 79.408% (-0.001%) from 79.409%
759

push

github

web-flow
[java] Fix #7009: ReplaceJavaUtilDate/Calendar miss pattern variables (#7010)

* [java] Fix #7009: ReplaceJavaUtilDate/Calendar miss pattern variables

Both rules matched only LocalVariableDeclaration, FormalParameter,
FieldDeclaration and ConstructorCall, so a variable introduced by a
pattern was never reported. Add TypePattern to both XPath expressions,
which covers instanceof patterns, switch case labels and the component
patterns of a record deconstruction.

* [java] Report record components in ReplaceJavaUtilDate/Calendar

Follow-up to the review on #7010.

Add RecordComponent to both XPath expressions, so a record component
declared as java.util.Date or java.util.Calendar is reported. Varargs
components parse as an array type and stay unreported, which matches
how Date[] parameters behave today.

Replace the java.sql.Timestamp test case with a fully qualified
java.util.Date one, so nothing added here depends on the java.sql
behaviour discussed in #6025.

Let the record deconstruction test declare record Box(Object value),
so it keeps covering only the nested type pattern now that the record
component itself is reported too.

19687 of 25790 branches covered (76.34%)

Branch coverage included in aggregate %.

42606 of 52657 relevant lines covered (80.91%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 759.1 01 Sep 2026 04:45AM UTC 2200
79.41
GitHub Action Run
Source Files on build 759
  • Tree
  • List 2200
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #759
  • 9c1fe8ff on github
  • Prev Build on main (#757)
  • Next Build on main (#762)
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