Skip to content

Raise JaCoCo thresholds to 95% instructions and 90% branches - #26

Merged
lpenap merged 1 commit into
masterfrom
lpenap/coverage-phase-4
Sep 16, 2026
Merged

lpenap merged 1 commit into
masterfrom
lpenap/coverage-phase-4

Conversation

@lpenap

@lpenap lpenap commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

Last PR of the coverage plan (phase 4). Pom only.

  • Instruction COVEREDRATIO minimum raised from 0.90 to 0.95
  • New BRANCH COVEREDRATIO rule at 0.90, since branches were not enforced before

Current coverage is 99.3% instructions and 97.1% branches, so both rules pass with margin. A PR that drops either below the threshold now fails ./mvnw verify on the PR build.

I did not enable fail-on-coverage-decrease in the badge generator step. It only runs on master pushes, so it would fail the build after the merge rather than block it, and the JaCoCo rule already fails the PR build.

🤖 Generated with Claude Code

The check rule only enforced 90% instruction coverage. With the
reported scope now covering everything but the GUI shell at 99.3%
instructions and 97.1% branches, raise the instruction minimum to 0.95
and add a branch minimum of 0.90 so branch coverage is enforced too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@lpenap
lpenap merged commit e1f0576 into master Sep 16, 2026
3 checks passed
@lpenap
lpenap deleted the lpenap/coverage-phase-4 branch September 16, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant