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

pmd / pmd / 683
79%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 02:55PM UTC
Jobs 1
Files 2193
Run time 6min
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

24 Jul 2026 02:29PM UTC coverage: 79.222% (+0.007%) from 79.215%
683

push

github

web-flow
[java] CognitiveComplexity: count switch expressions (#6883)

* [java] CognitiveComplexity: count switch expressions

CognitiveComplexityVisitor handled ASTSwitchStatement but not
ASTSwitchExpression, so a switch expression received no structural
increment and opened no nesting level. Anything nested inside it also
lost its nesting increment, and the metric came out too low.

Add visit(ASTSwitchExpression), delegating to the same structural()
helper the switch statement uses, so both forms are scored the same way.
CycloVisitor in the same package already handles both through the common
ASTSwitchLike supertype.

Fixes #6881

* Add github issue number

---------

Co-authored-by: Sören Glimm <git@uncleowen.de>

19351 of 25391 branches covered (76.21%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

42024 of 52081 relevant lines covered (80.69%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 683.1 24 Jul 2026 02:55PM UTC 2193
79.22
GitHub Action Run
Source Files on build 683
  • Tree
  • List 2193
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #683
  • 866fc5af on github
  • Prev Build on main (#682)
  • Next Build on main (#684)
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