Skip to content

■ SKILLS // SKILL SPECS

test-coverage-analyzer

Analyze code coverage metrics, identify untested code, and generate comprehensive coverage reports

■ [!] ON THIS PAGE ▼
■ INSTALL // npx @self.md/cli install test-coverage-analyzer
AuthorJeremy Longshore
Namespace@jeremylongshore/claude-code-plugins-plus
Category#security
Version1.0.0
Stars★ 1,193
Downloads↓ 2
Verification[ ✓ ] self.md verified

Analyze code coverage metrics, identify untested code, and generate comprehensive coverage reports

Installation

npx claude-plugins install @jeremylongshore/claude-code-plugins-plus/test-coverage-analyzer

Contents

Folders: commands, skills

Files: LICENSE, README.md

Documentation

Analyze code coverage metrics, identify untested code, and generate comprehensive coverage reports.

Features

  • Multi-metric coverage - Lines, branches, functions, statements
  • Untested code identification - Find coverage gaps
  • Coverage trends - Track improvements over time
  • Threshold enforcement - Minimum coverage requirements
  • Detailed reports - Per-file, per-function analysis
  • Visual coverage maps - Highlight uncovered code

Installation

/plugin install test-coverage-analyzer@claude-code-plugins-plus

Usage

/analyze-coverage              # Full coverage analysis
/analyze-coverage --threshold 80
/cov                          # Shortcut

Requirements

  • Claude Code CLI
  • Coverage tool (nyc, coverage.py, JaCoCo, etc.)

License

MIT

Included Skills

This plugin includes 1 skill definition:

analyzing-test-coverage

|

View skill definition

Test Coverage Analyzer

This skill provides automated assistance for test coverage analyzer tasks.

Prerequisites

Before using this skill, ensure you have:

  • Test environment configured and accessible
  • Required testing tools and frameworks installed
  • Test data and fixtures prepared
  • Appropriate permissions for test execution
  • Network connectivity if testing external services

Instructions

Step 1: Prepare Test Environment

Set up the testing context:

  1. Use Read tool to examine configuration from {baseDir}/config/
  2. Validate test prerequisites are met
  3. Initialize test framework and load dependencies
  4. Configure test parameters and thresholds

Step 2: Execute Tests

Run the test suite:

  1. Use Bash(test:coverage-*) to invoke test framework
  2. Monitor test execution progress
  3. Capture test outputs and metrics
  4. Handle test failures and error conditions

Step 3: Analyze Results

Process test outcomes:

  • Identify passed and failed tests
  • Calculate success rate and performance metrics
  • Detect patterns in failures
  • Generate insights for improvement

Step 4: Generate Report

Document findings in {baseDir}/test-reports/:

  • Test execution summary
  • Detailed failure analysis
  • Performance benchmarks
  • Recommendations for fixes

Output

The skill generates comprehensive test results:

Test Summary

  • Total tests executed
  • Pass/fail counts and percentage
  • Execution time metrics
  • Resource utilization stats

Detailed Results

Each test includes:

Source

View on GitHub