Measures project code coverage using Gradle and JaCoCo, supporting unit, integration, and merged reports. Establishes baselines and verifies coverage doesn't drop after changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/amplicode-spring-skills:coverageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Same two dimensions as the `run-tests` skill — test **type**, optionally narrowed
Same two dimensions as the run-tests skill — test type, optionally narrowed
to a module / group:
| Coverage by | Typical Gradle task | Meaning |
|---|---|---|
all (default) | jacocoTestReport | Both suites merged (test + testIntgr) — what the baseline is expressed in. Needs Docker. |
unit | jacocoTestReport -x testIntgr | What the fast tests alone cover. |
integration | jacocoTestReport -x test | What the Testcontainers tests alone cover. Needs Docker. |
| + a module / group | --tests <glob>, or a subproject path (:web:test) | Narrows any of the above to one package/class/subproject. |
Probe FIRST, here, before loading either reference — so you read only the one you
need. Call steroid_list_projects (via ToolSearch if the tool schema isn't
loaded):
project_name
and follow references/ide.md (runs the coverage Gradle task inside the IDE in
its own Run tab). Its steps start already knowing the project_name — don't
re-probe.references/gradle.md (runs Gradle in the console) and tell the user you used
the console fallback because the IDE wasn't reachable.Both paths end by collecting the result in a Haiku subagent that returns the
references/report.md report and nothing else — keeping the long build/coverage
output out of the main context. Act on that report in the main model.
npx claudepluginhub amplicode/spring-skills --plugin spring-toolsQueries test coverage in Python, Node.js, Rust, Go projects. Identifies uncovered areas/files, analyzes trends, and generates reports before changes or PRs.
Analyzes code coverage metrics (line, branch, function) to identify untested code paths, dead code, and coverage gaps. Supports Istanbul, coverage.py, JaCoCo, Go coverage.
Computes code coverage for the active track or module, targeting 95%+ with a report and justification for uncovered lines. Complements TDD workflow.