Skip to content
Back to skills

Code Coverage

ASecurity

Multi-language code coverage analysis, reporting, and quality gate enforcement

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
data-aijavascripttypescriptpythonjavabashtestingcode-reviewbackendci/cd

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill code-coverage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Coverage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Coverage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-code-coverage/badge)](https://www.skillsdirectory.com/skills/a5c-ai-code-coverage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Code Coverage Analysis
description: Multi-language code coverage analysis, reporting, and quality gate enforcement
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:qa-testing-automation]
  skillAreas: [skill-area:unit-testing, skill-area:component-testing]
  roles: [role:qa-engineer, role:backend-engineer]
  workflows: [workflow:code-review]
  topics: [topic:test-driven-development, topic:code-review-best-practices]

---

# Code Coverage Analysis Skill

## Overview

This skill provides expert-level capabilities for code coverage analysis across multiple languages, enabling coverage collection, report generation, and quality gate enforcement.

## Capabilities

### JavaScript/TypeScript Coverage
- Configure Istanbul/nyc for JavaScript coverage
- V8 coverage collection
- Source map support for TypeScript

### Python Coverage
- Configure coverage.py for Python coverage
- Branch coverage analysis
- Context-based coverage

### Java Coverage
- JaCoCo configuration for Java coverage
- Maven/Gradle integration
- Multi-module project support

### Coverage Merging
- Merge coverage reports from multiple sources
- Combine unit and integration coverage
- Cross-test-type aggregation

### Reporting
- Generate coverage badges
- Track coverage trends
- Generate HTML and XML reports

### Quality Gates
- Configure coverage thresholds
- Enforce minimum coverage requirements
- Block merges on coverage drops

### Analysis
- Analyze uncovered code paths
- Identify dead code
- Priority coverage recommendations

### Integration
- SonarQube integration
- Codecov/Coveralls integration
- CI/CD pipeline integration

## Target Processes

- `automation-framework.js` - Framework coverage setup
- `mutation-testing.js` - Coverage for mutation testing
- `quality-gates.js` - Coverage-based gates
- `continuous-testing.js` - CI/CD coverage

## Dependencies

- `nyc` / `c8` - JavaScript coverage
- `coverage.py` - Python coverage
- `JaCoCo` - Java coverage

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'code-coverage',
    context: {
      action: 'analyze',
      language: 'javascript',
      reportFormats: ['html', 'lcov', 'json'],
      thresholds: {
        lines: 80,
        branches: 75,
        functions: 80
      }
    }
  }
}
```

## Configuration

The skill auto-detects project language and configures appropriate coverage tools.

Files in this skill

  • README.md655 B
  • SKILL.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…