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

pmd / pmd / 898
80%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 04:33PM UTC
Jobs 1
Files 2222
Run time 1min
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

26 Oct 2026 04:00PM UTC coverage: 79.989% (+0.01%) from 79.976%
898

push

github

web-flow
[java] Fix #7150: type of numeric conditionals with byte, short or char operands (#7162)

A conditional like flag ? 'a' : 1 was typed int by binary numeric
promotion. JLS 15.25.2 gives char when one operand is a char and the
other is an int constant that fits, short for byte with short, and the
unboxed type for a Byte, Short or Character operand with such a
constant. getConditionalStandaloneType now applies these rules before
the promotion. Conditionals before Java 8 take the same standalone path
instead of a computation from the branch types alone. On that path a
diamond constructor call is inferred from its arguments instead of
being typed with the generic type declaration. The branches of a
standalone conditional are checked against its type, not against the
parameter type of the enclosing call.

20547 of 26706 branches covered (76.94%)

Branch coverage included in aggregate %.

25 of 25 new or added lines in 4 files covered. (100.0%)

4 existing lines in 1 file now uncovered.

43938 of 53911 relevant lines covered (81.5%)

0.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
91.67
-0.55% pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/InvalidLogMessageFormatRule.java
Jobs
ID Job ID Ran Files Coverage
1 898.1 26 Oct 2026 04:33PM UTC 2222
79.99
GitHub Action Run
Source Files on build 898
  • Tree
  • List 2222
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #898
  • 6c892f04 on github
  • Prev Build on main (#896)
  • Next Build on main (#899)
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