quality-coverage-report

Generate and analyze pytest coverage reports to identify untested code paths.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/HomericIntelligence/ProjectOdyssey --skill quality-coverage-report-homericintelligence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-coverage-report
Source: https://github.com/HomericIntelligence/ProjectOdyssey/tree/main/.claude/skills/quality-coverage-report
Command: npx skills add https://github.com/HomericIntelligence/ProjectOdyssey --skill quality-coverage-report-homericintelligence

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers identify sections of their codebase that are not adequately covered by automated tests, leading to potential bugs and regressions.

Core Features & Use Cases

  • Generate Coverage Reports: Produces detailed reports (HTML, terminal) showing line and branch coverage.
  • Identify Missing Tests: Pinpoints specific lines or branches of code that are not executed by existing tests.
  • Improve Test Quality: Guides the writing of new tests to meet defined coverage goals.
  • Use Case: Before merging a pull request, run this skill to ensure all new code is covered by tests, preventing the introduction of untested logic into the main branch.

Quick Start

Run pytest with coverage enabled and view the terminal report showing missing lines.

Frequently Asked Questions about quality-coverage-report

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

FAQPage Schema
How do I identify untested code paths in my Python project?

To identify untested code paths in your Python project, you can generate and analyze test coverage reports using pytest and coverage.py. This process pinpoints specific lines and branches lacking execution to improve software quality.

How do I check line and branch coverage before merging a pull request?

You can check line and branch coverage before merging by running pytest with coverage enabled. This produces detailed terminal or HTML reports showing missing lines, preventing untested logic from entering the main branch.

Does this coverage analysis tool support CI integration for automated quality checks?

Yes, this coverage analysis tool facilitates CI integration for automated quality checks. It supports Python projects using pytest and coverage.py to ensure new code meets defined line and branch coverage goals.

What is the best way to improve test quality and meet defined coverage goals?

The best way to improve test quality and meet defined coverage goals is to analyze detailed coverage reports that highlight unexecuted lines and branches. This guides the writing of new tests to fill gaps in the codebase.

Can I use pytest with coverage.py to find missing tests in my codebase?

Yes, you can use pytest with coverage.py to find missing tests. The analysis generates metrics for line and branch coverage, explicitly pinpointing specific code sections that existing tests do not execute.