Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Calculates per-method CRAP scores and ranks risky low-coverage .NET code to guide test priorities and refactoring safety.
Use this skill ↓45% 59%+14 ptsof test cases passed
Passed 13 of 22 test cases with the skill, and 10 of 22 without it.
When generating the Risk Hotspots table for a C# codebase without specifying a custom count limit, how many top risk hotspots should be surfaced in the report by default?
Surfaces the top 10 risk hotspots by default in the analysis table.
3 of 3 safety checks passed
Raw coverage percentages answer "what code was executed?" — they don't answer what you actually need to know:
This skill bridges that gap: from a bare .NET solution to a prioritized risk hotspot list, with no manual tool configuration required.
Use this skill when the user mentions test coverage, coverage gaps, code risk, CRAP scores, where to add tests, why coverage plateaued, or wants to know which code is safest to refactor — even if they don't explicitly say "coverage analysis".
crap-score skill insteaddotnet test with coverage collection directly| Input | Required | Default | Description |
|---|---|---|---|
| Project/solution path | No | Current directory | Path to the .NET solution or project |
| Line coverage threshold | No | 80% | Minimum acceptable line coverage |
| Branch coverage threshold | No | 70% | Minimum acceptable branch coverage |
| CRAP threshold | No | 30 | Maximum acceptable CRAP score before flagging |
| Top N hotspots | No | 10 | Number of risk hotspots to surface |
dotnet on PATH)dotnet add package coverlet.collector (or Microsoft.Testing.Extensions.CodeCoverage) when a test project has no coverage provider yet. Skip when the user supplies an existing Cobertura XML.dotnet tool install (ReportGenerator). Core CRAP/coverage analysis works from Cobertura XML alone — ReportGenerator only adds HTML/CSV reports as an optional post-summary extra.Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.