Coverage Gaps — Paste Coverage Rows, Get Files Under Target

    1

    Calculate line coverage percentages and target gaps from supplied file rows, with optional branch comparisons and row-numbered unreadable entries. The tool does not inspect test contents or judge adequacy.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Coverage Gaps — Paste Coverage Rows, Get Files Under Target

    Example session with this skill installed

    file,line_covered,line_total,branch_covered,branch_total
    src/ready.py,90,100,18,20
    src/lines-low.py,60,100,16,20
    src/branch-low.py,95,100,12,20

    • Read your context and instructions
    • Compiled the coverage gaps

    Coverage Gaps Results

    Target: 80.00%

    FileLine coverageLine gap (pp)Under target?Shortfall typeBranch coverageBranch gap (pp)Line/branch gap (pp)Large gap?
    src/branch-low.py95.00%0.00yesbranch60.0020.0035.00yes
    src/lines-low.py60.00%20.00yesline80.000.0020.00yes
    src/ready.py90.00%0.00non/a90.000.000.00no

    Files under target

    • src/branch-low.py: branch shortfall 20.00 percentage points
    • src/lines-low.py: line shortfall 20.00 percentage points

    Unreadable rows

    • None

    Method

    • Coverage % = covered / total * 100; gap = max(0, target - coverage).
    • Line/branch gap is the absolute difference in supplied percentages; it is not a test-quality judgment.
      Only supplied counts are used; no source files or test contents are inspected.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Paste a coverage table and a target percentage. Coverage Gaps returns the files below the target, ranked by shortfall, plus rows with a large gap between line and branch coverage. Percentages are calculated from the counts you provide: coverage = covered / total * 100, and a gap is max(0, target - coverage) in percentage points.

    Required columns are file, line_covered and line_total; branch_covered and branch_total are optional (a 0/0 branch pair is shown as n/a). Malformed rows are reported as unreadable with their physical row number and are never silently skipped.

    How to use: run python3 scripts/coverage_gaps.py examples/coverage.csv --target 80 --format markdown on a UTF-8 CSV or TSV. Options: --gap-threshold (default 10 percentage points), --format text|markdown|json|csv, --delimiter auto|comma|tab, --sort gap|file|input, --under-target-only, --large-gap-only, --limit N, and --output PATH (creates a new file and refuses existing paths). Requires Python 3.9 or later; standard library only.

    Limits: the tool uses only the supplied counts and file labels. It does not open source files, inspect test contents, or check how coverage was collected, and a percentage or gap does not establish whether a test suite is adequate. BOM-less UTF-16 is unsupported.

    Included: README, SKILL.md, the script, tests, and examples with the expected output.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    The tool uses only the supplied counts and file labels. It does not inspect source files, test cases, or how coverage was collected, and a percentage or gap does not establish whether a test suite is adequate. BOM-less UTF-16 input is unsupported.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed7 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    Calculate line coverage percentages and target gaps from supplied file rows, with optional branch comparisons and row-numbered unreadable entries. The tool does not inspect test contents or judge adequacy.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Coverage Gaps — Paste Coverage Rows, Get Files Under Target on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Testing & Debugging