analyzing-test-coverage

Solid

This skill analyzes code coverage metrics to identify untested code and generate comprehensive coverage reports. It is triggered when the user requests analysis of code coverage, identification of coverage gaps, or generation of coverage reports. The skill is best used to improve code quality by ensuring adequate test coverage and identifying areas for improvement. Use trigger terms like "analyze coverage", "code coverage report", "untested code", or the shortcut "cov".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview This skill enables Claude to analyze code coverage metrics, pinpoint areas of untested code, and generate detailed reports. It helps you identify gaps in your test suite and ensure comprehensive code coverage. ## How It Works 1. **Coverage Data Collection**: Claude executes the project's test suite with coverage tracking enabled (e.g., using `nyc`, `coverage.py`, or JaCoCo). 2. **Report Generation**: The plugin parses the coverage data and generates a detailed report, including metrics for line, branch, function, and statement coverage. 3. **Uncovered Code Identification**: Claude highlights specific lines or blocks of code that are not covered by any tests. ## When to Use This Skill This skill activates when you need to: - Analyze the overall code coverage of your project. - Identify specific areas of code that lack test coverage. - Generate a detailed report of code coverage metrics. - Enforce minimum code coverage thresholds. ## Examples ### Example 1: Analyzing Project Coverage User request: "Analyze code coverage for the entire project" The skill will: 1. Execute the project's test suite with coverage tracking. 2. Generate a comprehensive coverage report, showing line, branch, and function coverage. ### Example 2: Identifying Untested Code User request: "Show me the untested code in the `src/utils.js` file" The skill will: 1. Analyze the coverage data for `src/utils.js`. 2. Highlight the lines of code in `src/utils.js` that are not covered by any ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

test-coverage-analyzer

Analyzes test coverage gaps and suggests test cases for untested code paths. Use when user requests test improvements, coverage analysis, or wants to increase test coverage.

335 Updated today
aiskillstore
AI & Automation Solid

generating-test-reports

This skill generates comprehensive test reports with coverage metrics, trends, and stakeholder-friendly formats (HTML, PDF, JSON). It aggregates test results from various frameworks, calculates key metrics (coverage, pass rate, duration), and performs trend analysis. Use this skill when the user requests a test report, coverage analysis, failure analysis, or historical comparisons of test runs. Trigger terms include "test report", "coverage report", "testing trends", "failure analysis", and "historical test data".

2,266 Updated today
jeremylongshore
AI & Automation Solid

coverage-report-analyzer

Analyze coverage report analyzer operations. Auto-activating skill for Test Automation. Triggers on: coverage report analyzer, coverage report analyzer Part of the Test Automation skill category. Use when analyzing or auditing coverage report analyzer. Trigger with phrases like "coverage report analyzer", "coverage analyzer", "analyze coverage report r".

2,266 Updated today
jeremylongshore
AI & Automation Solid

test-coverage-analyzer

Analyze test coverage and identify gaps before migration to ensure adequate safety nets

1,034 Updated today
a5c-ai
Testing & QA Solid

coverage-analysis

Automated, project-wide code coverage and CRAP (Change Risk Anti-Patterns) score analysis for .NET projects with existing unit tests. Auto-detects solution structure, runs coverage collection via `dotnet test` (supports both Microsoft.Testing.Extensions.CodeCoverage and Coverlet), generates reports via ReportGenerator, calculates CRAP scores per method, and surfaces risk hotspots — complex code with low test coverage that is dangerous to modify. Use when the user wants project-wide coverage analysis with risk prioritization, coverage gap identification, CRAP score computation across an entire solution, or to diagnose why coverage is stuck or plateaued and identify what methods are blocking improvement. DO NOT USE FOR: targeted single-method CRAP analysis (use crap-score skill), writing tests, general test execution unrelated to coverage/CRAP analysis, or coverage reporting without CRAP context.

3,196 Updated yesterday
dotnet