coverage-gaps

Detect untested code paths, error paths, and edge cases in source code.

746|130|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/Archive228/loopkit --skill coverage-gaps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coverage-gaps
Source: https://github.com/Archive228/loopkit/tree/main/skills/coverage-gaps
Command: npx skills add https://github.com/Archive228/loopkit --skill coverage-gaps

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies the critical code paths that are not tested, helping developers ensure comprehensive test coverage.

Core Features & Use Cases

  • Error Path Testing: Detects common error paths such as timeouts, empty inputs, and malformed payloads.
  • Boundary Testing: Assesses edge cases such as zero, maximum values, and off-by-one errors.
  • Branch Testing: Verifies all branches in if/else and catch blocks.
  • Concurrency/Order Testing: Checks stateful tests in isolation and in sequence.
  • Use Case: After writing tests, use this skill to ensure no high-risk paths are overlooked before merging code.

Quick Start

Run the coverage-gaps skill to find untested code paths after your tests are complete.

Frequently Asked Questions about coverage-gaps

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

FAQPage Schema
How do I find untested code paths in my source code?

To find untested code paths, you can run a coverage analysis skill to detect errors and edge cases not covered by existing tests, ensuring overall test coverage and codebase robustness.

What is code coverage analysis for error paths and boundary testing?

Code coverage analysis identifies untested error paths like timeouts and empty inputs, while boundary testing assesses edge cases such as zero, maximum values, and off-by-one errors.

How do I check if all if else and catch branches are tested?

To check if all if else and catch branches are tested, run a branch testing analysis that verifies all conditional blocks in your source code are covered by your test suite.

Can I test stateful tests in isolation and sequence for concurrency issues?

Yes, you can test stateful tests in isolation and in sequence to check for concurrency and order issues, ensuring stateful logic handles sequential execution correctly.

When should I run test coverage gap detection in my workflow?

You should run test coverage gap detection after writing tests and before merging code, ensuring no high-risk paths or edge cases are overlooked in your source code.

Does this code analysis tool require any specific test automation frameworks?

No specific test automation frameworks are required as dependencies. The code analysis focuses on detecting untested paths in source code applicable to any comprehensive testing environment.