scoverage/sbt-scoverage
63.2
Adequate · 14 November 2026
602
lines of production code
Scala
primary language
5
measurements over time
What this system is
Features
Introduces configurable code coverage minimums with per-file and per-package granularity
The plugin now supports enforcing minimum code coverage thresholds at the total, per-package, and per-file levels. Users can configure specific statement and branch coverage percentages for each scope using new settings keys (e.g., \coverageMinimumStmtTotal\, \coverageMinimumBranchPerPackage\). If the actual coverage falls below these configured minimums, the build can be configured to fail automatically via the \coverageFailOnMinimum\ flag, providing stricter quality gates for CI/CD pipelines.
src/main · high confidence
Fixes
1 commit (1 fix) fixing src/main, src/sbt-test
A fix in src/main, src/sbt-test — 1 commit (1 fix), 7 files: “bugfix: Keep coverage data in the class directory on sbt 2”.
src/sbt-test/scoverage/cached-compile · medium confidence · unverified
Test coverage
Added Scala 3.3.4 integration tests for coverage exclusion; Added sbt-test for older Scala versions; Added scripted test for aggregate-only coverage reporting; Added scripted test for bad coverage detection; Added scripted test for coverage-off functionality; Added scripted test for custom coverage data and report directories; Added scripted test for preserving settings overrides during coverage toggle; Added scripted test for scoverage good coverage scenario; Added scripted test for scoverage good coverage scenarios; Added scripted test for scoverage toggle behavior; Added scripted test for the coverageOff task; Added scripted tests for Scala 3 compatibility; Added scripted tests for Scala.js support; Added scripted tests for bad coverage file scenarios; Added test coverage for the coverageAggregate command; Added test fixtures for coverage aggregate sub-projects; Added test for Scala 3 package exclusion in coverage reports; Added test for scoverage aggregation with disabled modules; Added test for scoverage bad coverage scenario; Updated Scala 3 coverage exclusion test fixtures; Updated scripted tests for coverage exclusion of files and packages; Updated test assertions for Scala 3.5.0 coverage exclusions.
Dependencies
Update default scoverage version to 2.5.2 and add Scala 3.8.4 support
The sbt-scoverage plugin now uses scoverage version 2.5.2 by default, ensuring compatibility with the latest coverage instrumentation features. Additionally, the build configuration has been updated to support cross-building for Scala 3.8.4, extending the plugin's compatibility to newer Scala 3 versions. The main build file also sets the base Scala version to 2.12.20 and configures sbt 2.0.1 for non-2.12 Scala binary versions.
(dependencies) · high confidence
Housekeeping
Initial project scaffolding and documentation
The repository is initialized with core configuration and documentation files, including an Apache 2.0 LICENSE, a Code of Conduct, and a README detailing the sbt-scoverage plugin's setup, usage, and integration options. Development tooling is configured via .gitignore, .scalafmt.conf (version 3.11.5), and .scala-steward.conf, while .git-blame-ignore-revs is added to filter out bulk formatting commits.
(repo-wide) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 64 → 63 (-0.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 76 → 71 (-4.9)
- Architecture 100 → 100 (+0.0)
- Maturity 53 → 53 (+0.0)
- Readiness 67 → 69 (+2.0)
- Security 83 → 74 (-8.7)
Findings
- No change — the same findings as the prior survey.
Changes since last survey
- 7 commits — 7 feature/other, 0 fixes
By area
- (repo) — 4 commits
- .github/workflows — 1 commit
- project/build.properties — 1 commit
- src/sbt-test — 1 commit
Notable commits
- change: Merge branch 'main' into sbt2-coverage-data-in-class-dir
- change: Merge pull request #697 from phdoerfler/sbt2-coverage-data-in-class-dir
- change: Merge pull request #699 from scala-steward/update/sbt-1.13.1
- change: Merge pull request #701 from scoverage/dependabot/github_actions/actions/setup-java-6.1.0
- change: Update sbt, scripted-plugin to 1.13.1
- change: build(deps): bump actions/setup-java from 6.0.1 to 6.1.0
- change: change scalaVersion to 2.x because of JDK 8
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
scoverage/sbt-scoverage was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2d8aa2d4c3390af4195fa151897c0254aa2fa455 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.