test-coverage-analyzer

Parse coverage reports to identify uncovered lines and generate test-case suggestions.

Updated Oct 27, 2025
One-click install
npx skills add https://github.com/CrazyDubya/claude-skills --skill test-coverage-analyzer-crazydubya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage-analyzer
Source: https://github.com/CrazyDubya/claude-skills/tree/main/test-coverage-analyzer
Command: npx skills add https://github.com/CrazyDubya/claude-skills --skill test-coverage-analyzer-crazydubya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Analyzes test coverage to identify gaps and prescribes test cases to raise coverage and improve quality.

Core Features & Use Cases

  • Coverage detection: detects missing coverage in functions and branches.
  • Test suggestions: provides concrete test cases and data to cover gaps.
  • Stubs generation: can generate test skeletons.

Quick Start

Generate a skeleton test file with stubs and suggested cases for untested paths.

Frequently Asked Questions about test-coverage-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify gaps in test coverage across my codebase?

Test coverage analysis identifies untested functions, branches, and code paths by parsing coverage reports. It detects which lines lack test execution and prioritizes gaps by impact, helping you understand exactly where tests are missing in JavaScript, TypeScript, Python, Ruby, Go, and Java projects.

Can I generate test suggestions for uncovered code paths?

Yes. Coverage analysis generates concrete test cases with specific data and assertions for uncovered paths. It produces test stubs and suggests exact scenarios needed to reach missing branches, accelerating test writing for gaps identified in your reports.

Does this work with pytest and Jest coverage reports?

Coverage analysis works with multi-language projects including pytest for Python and Jest for JavaScript/TypeScript. It parses standard coverage report formats from these frameworks to detect gaps and recommend test cases tailored to each language's testing patterns.

How do I prioritize which coverage gaps to fix first?

The analyzer ranks uncovered code paths by impact, highlighting high-risk gaps before low-value ones. This prioritization helps you focus test efforts on the most critical untested branches and functions that pose the greatest quality risk.

What's the best way to improve test coverage systematically?

Parse your coverage report to map gaps, review prioritized missing paths, generate concrete test cases from suggestions, and create test stubs as scaffolds. This structured approach transforms coverage data into actionable tests that raise both coverage percentage and code quality.