unit-test-running-coverage-analysis

Analyze coverage reports to identify uncovered code and recommend prioritized tests.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/wizeline/sdlc-agents --skill unit-test-running-coverage-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unit-test-running-coverage-analysis
Source: https://github.com/wizeline/sdlc-agents/tree/main/aicores/unit-testing-agent/skills/unit-test-running-coverage-analysis
Command: npx skills add https://github.com/wizeline/sdlc-agents --skill unit-test-running-coverage-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill pinpoints exactly where your test suite is lacking coverage, providing a clear, actionable plan to improve it and reach your target metrics.

Core Features & Use Cases

  • Coverage Gap Identification: Analyzes coverage reports (line, branch, function, statement) to find uncovered code.
  • Prioritized Gap Reporting: Classifies each gap by severity (CRITICAL, HIGH, MEDIUM, LOW).
  • Concrete Test Recommendations: Suggests specific tests to write to fill identified gaps.
  • Projected Coverage Delta: Estimates the coverage improvement after implementing recommended tests.
  • Use Case: After generating initial unit tests, a developer asks "what am I missing?". This Skill analyzes the coverage report, identifies that 15 critical branches are untested, and recommends writing 3 specific tests to cover them, projecting an increase in branch coverage from 70% to 85%.

Quick Start

Analyze the coverage report 'coverage.xml' and provide a prioritized list of recommended tests to reach 80% line coverage.

Frequently Asked Questions about unit-test-running-coverage-analysis

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

FAQPage Schema
How do I analyze coverage gaps to find untested code in my project?

To analyze coverage gaps, parse coverage reports from tools like coverage.py, Istanbul, or JaCoCo to identify uncovered lines and branches. This process classifies testing deficiencies by severity and generates a prioritized gap report highlighting exactly where your test suite is lacking.

What is the best way to recommend unit tests for missing branch coverage?

The best way to recommend unit tests for missing branch coverage is to analyze coverage data and optionally source code to produce a concrete list of specific tests to write. This targets untested critical branches directly, providing a projected coverage delta estimating the improvement after implementation.

Can I use coverage gap analysis to reach specific testing metrics targets?

Yes, you can use coverage gap analysis to reach specific testing metrics targets. By identifying uncovered code and classifying gaps by severity, it provides a prioritized, actionable plan with a projected coverage delta to ensure your newly written tests effectively meet your desired coverage thresholds.

How do I prioritize which unit tests to write for untested code?

Prioritize unit tests for untested code by classifying coverage gaps into CRITICAL, HIGH, MEDIUM, or LOW severity levels. This prioritized gap reporting ensures developers address the most impactful testing deficiencies first, estimating the coverage improvement achieved by writing specific recommended tests.

Does coverage gap analysis generate the missing test code automatically?

No, coverage gap analysis does not generate the missing test code automatically. It orchestrates a focused analysis to produce a prioritized gap report, a concrete list of recommended tests to write, and a projected coverage delta, leaving the actual test code implementation to the developer.