coverage-analysis

coverage-analysis is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 154 tokens per session (2,351 once invoked), scanned A, a copy of coverage-analysis, MIT.

A guide for interpreting .NET code-coverage reports, including line, branch, and condition results. Code coverage shows which parts of the code ran during tests; branch and condition coverage show which alternatives were exercised.

In plain words
What is it for?
Explaining coverage differences, diagnosing uncovered branches or conditions, and identifying code that blocks a coverage goal.
Why use it?
A single coverage percentage does not explain why progress is limited or which code paths remain untested. This analysis connects the report to specific gaps and target calculations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Explaining coverage differences, diagnosing uncovered branches or conditions, and identifying code that blocks a coverage goal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/coverage-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add managedcode/dotnet-skills --skill coverage-analysis
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coverage-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/coverage-analysis/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/coverage-analysis)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/coverage-analysis"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/coverage-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coverage-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/coverage-analysis"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/coverage-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00154 $0.02351
Opus 5.5 $0.00062 $0.00940
Sonnet 5.5 $0.00031 $0.00470
Haiku 4.5 $0.00015 $0.00235

Measured 1mo ago against content hash ce960ce57da3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coverage-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/Compute-CrapScores.ps1, scripts/CoverageData.ps1, scripts/Extract-MethodCoverage.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to coverage-analysis — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

catalog/Testing/Official-DotNet-Test/skills/coverage-analysis/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coverage Analysis

Purpose

Explain what .NET coverage evidence proves, reconcile target arithmetic, and identify the code blocking progress. Add complexity/CRAP ranking only when the user explicitly asks for risk hotspots, CRAP, priorities by risk, or refactoring safety.

When to Use

Use this skill for interpreting supplied .NET line/branch/condition evidence, coverage gaps and plateaus, target arithmetic, or explicit project-wide coverage-backed risk analysis.

When Not to Use

  • Named method, class, or file CRAP/refactoring-safety analysis — use the crap-score skill instead
  • Static source-to-test pairing or listing files with no tests — use find-untested-sources
  • Behavioral or pseudo-mutation gaps in existing tests — use test-gap-analysis
  • Test trait/category distributions or coverage shape by test type — use test-tagging
  • Writing or generating tests — this skill identifies where tests are needed, not write them
  • General test execution unrelated to coverage or CRAP analysis
  • Only collecting .NET coverage or printing a raw percentage with no diagnosis — use run-tests; use native tooling for non-.NET coverage collection or analysis. Interpreting .NET line/branch gaps remains in scope here

Inputs

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
Existing Cobertura path No Discover only if not supplied Preferred input; never rerun tests when usable
CRAP threshold No 30 Used only for explicit risk/CRAP requests
Hotspot count No 3 Explicit risk requests only; cap at 10 unless the user asks for more

Discover optional inputs from the workspace. Do not ask for a project path when the current directory or a supplied report is sufficient.

Read the full file on GitHub · 200 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -1 tokens per session ce960ce57da3
  2. 2mo ago Changed · +4 lines · -63 tokens per session 20fd2c9813dc
  3. 2mo ago First seen · 196 lines · 218 tokens per session scan A 8ddb2cb8dcec

Subscribe to this mod's changes

coverage-analysis is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 154 tokens to every session and 2,351 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to coverage-analysis, differing in 0 lines, and is treated as a copy.

Related

coverage-analysis compared with skills from other repositories

coverage-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coverage-analysismanagedcode/dotnet-skillsSkill52716d agoMITA154Claude Code, Codex
rust-developmentnavikt/copilotSkill65yesterdayMITA27Claude Code, Codex
infra-testsrnichols/plan-forgeSkill625d agoMITA43Claude Code
test-sweepsrnichols/plan-forgeSkill625d agoMITA38Claude Code
precommitsd0xdev/sd0x-harnessSkill1965d agoMITA15Claude Code
loom-ccosmix/loomSkill66todayMITA25Claude Code, Codex
finding-filesSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A28Claude Code, Codex