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

pmd / pmd / 842
80%

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2026 04:56AM UTC
Jobs 1
Files 2222
Run time 5min
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 Sep 2026 06:23PM UTC coverage: 79.741% (-0.001%) from 79.742%
842

push

github

web-flow
[java] ExceptionAsFlowControl: a throw in a lambda invoked by the method it is passed to (#7118)

* [java] ExceptionAsFlowControl: a throw in a lambda invoked by the method it is passed to

#7105 stopped the walk at every lambda body. That fixed the false positive of
#4815, but it also stopped reporting a throw inside a lambda that the method it
is passed to calls itself. spring-framework's
LeakAwareNettyDataBufferFactory#checkForLeaks (v5.3.13, line 56) throws inside
Iterable.forEach and catches the exception right below.

The walk now continues through a lambda that is an argument of a call whose
method calls that argument: Iterable.forEach, Iterator.forEachRemaining,
Map.forEach, Optional.ifPresent/ifPresentOrElse, and the Stream methods that
take a lambda argument. A terminal operation calls the action while the call is
evaluated; an intermediate operation is evaluated by the terminal operation of
the same pipeline. Every other lambda stays opaque, so #4815 does not come back.

Signed-off-by: Eljees <3.14hell@gmail.com>

* Use compound invocation matcher and clarify release notes

* [java] Handle primitive streams in ExceptionAsFlowControl

---------

Signed-off-by: Eljees <3.14hell@gmail.com>

20278 of 26472 branches covered (76.6%)

Branch coverage included in aggregate %.

7 of 8 new or added lines in 1 file covered. (87.5%)

43610 of 53647 relevant lines covered (81.29%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.18
-6.82% pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ExceptionAsFlowControlRule.java
Jobs
ID Job ID Ran Files Coverage
1 842.1 01 Oct 2026 04:56AM UTC 2222
79.74
GitHub Action Run
Source Files on build 842
  • Tree
  • List 2222
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #842
  • 5c9271c5 on github
  • Prev Build on main (#840)
  • Next Build on main (#843)
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