coverage-analyzer

Analyze PHP and JavaScript test coverage to identify untested code paths.

16|4|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/kanopi/cms-cultivator --skill coverage-analyzer-kanopi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coverage-analyzer
Source: https://github.com/kanopi/cms-cultivator/tree/main/skills/coverage-analyzer
Command: npx skills add https://github.com/kanopi/cms-cultivator --skill coverage-analyzer-kanopi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes and reports test coverage to reveal untested code paths and guide the creation of targeted tests, helping teams reduce risk and improve code quality.

Core Features & Use Cases

  • Coverage discovery and gap analysis for PHP (PHPUnit) and JavaScript (Jest) projects.
  • Actionable coverage reports with suggested tests and prioritization.
  • Integration guidance for CI workflows and /test-coverage commands to streamline QA.

Quick Start

Run the /test-coverage command to generate a full project coverage report.

Frequently Asked Questions about coverage-analyzer

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

FAQPage Schema
How do I find untested code paths in my Jest or PHPUnit project?

To find untested code paths, execute the /test-coverage command to analyze executed lines, branches, and functions. This generates a structured findings report that highlights specific coverage gaps in your JavaScript or PHP codebase.

What is code coverage gap analysis and how does it improve quality assurance?

Code coverage gap analysis identifies executed lines, branches, and functions to reveal untested code paths. It improves quality assurance by providing actionable reports with suggested tests, enabling developers to prioritize testing efforts and reduce risk.

Does the test coverage analyzer work with both PHP and JavaScript runtimes?

Yes, the test coverage analyzer works with both PHP and JavaScript projects. It requires a Node or PHP runtime environment with standard coverage tools like PHPUnit and Jest installed to perform the line, branch, and function analysis.

How do I integrate test coverage reporting into my CI workflow?

You can integrate test coverage reporting into CI workflows by running the /test-coverage command. It outputs a structured findings report suitable for CI pipelines and documentation, streamlining QA processes for PHPUnit and Jest projects.

What's the best way to prioritize writing new tests for untested branches?

The best way to prioritize new tests is to use a coverage report that analyzes executed lines, branches, and functions. The generated findings include actionable suggestions and prioritization guidance to help QA engineers target the most critical untested paths.