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

pmd / pmd / 798
80%

Build:
DEFAULT BRANCH: main
Ran 13 Sep 2026 07:21PM UTC
Jobs 1
Files 2202
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

13 Sep 2026 06:53PM UTC coverage: 79.469%. Remained the same
798

push

github

web-flow
[java] Deprecate statementOrderMatters property of VariableCanBeInlined (refs #3124) (#7065)

* [java] Fix #3124: Deprecate statementOrderMatters property of VariableCanBeInlined

The property silently migrated into the replacement rule when
UnnecessaryLocalBeforeReturn was deprecated (#5847): setting it to false
relaxes the rule under the assumption that the statements between the
declaration and the return/throw have no side effects, which is unsafe
and could introduce an application bug when following the suggestion.

Mark the property as deprecated using DEPRECATED_RULE_PROPERTY_MARKER:
configuring it now issues a warning when the ruleset is loaded, and the
rule documentation displays a deprecated label. Behavior is unchanged
while deprecated (the conservative default, statementOrderMatters=true,
stays the default); the property will be removed later.

Signed-off-by: 付典 <fudianchn@gmail.com>

* New rule name in changelog entry

* We really don't need a test for that.

Only make actually removing the property harder.

* Explicitely call out the deprecation/removal version.

---------

Signed-off-by: 付典 <fudianchn@gmail.com>
Co-authored-by: Sören Glimm <git@uncleowen.de>

19807 of 25918 branches covered (76.42%)

Branch coverage included in aggregate %.

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

42760 of 52813 relevant lines covered (80.96%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 798.1 13 Sep 2026 07:21PM UTC 2202
79.47
GitHub Action Run
Source Files on build 798
  • Tree
  • List 2202
  • 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 #798
  • 6c8bbe8d on github
  • Prev Build on main (#797)
  • Next Build on main (#799)
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