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

pmd / pmd / 967
80%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 02:40PM UTC
Jobs 1
Files 2224
Run time 2min
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

13 Nov 2026 02:11PM UTC coverage: 80.244% (-0.004%) from 80.248%
967

push

github

web-flow
[java] Fix #7327: AvoidArrayLoops: report copy loops whose body has no braces (#7342)

* [java] Fix #7327: AvoidArrayLoops: report copy loops whose body has no braces

The AvoidArrayLoops XPath only counted assignments under a Block,
so a loop whose body is a single braceless statement was never
reported. Also count assignments under a direct-child
ExpressionStatement, which is what a braceless single-statement
body parses to. Loops with braced bodies are unaffected: a loop
has exactly one body child, so the added alternative only matches
when there is no Block.

Signed-off-by: xh123637 <3324733895@qq.com>

* add one more test

---------

Signed-off-by: xh123637 <3324733895@qq.com>
Co-authored-by: Sören Glimm <git@uncleowen.de>

20766 of 26862 branches covered (77.31%)

Branch coverage included in aggregate %.

44276 of 54193 relevant lines covered (81.7%)

0.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
79.57
-3.23% pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/internal/asm/ParseLock.java
Jobs
ID Job ID Ran Files Coverage
1 967.1 13 Nov 2026 02:40PM UTC 2224
80.24
GitHub Action Run
Source Files on build 967
  • Tree
  • List 2224
  • 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 #967
  • b5137757 on github
  • Prev Build on main (#966)
  • Next Build on main (#969)
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