Code Coverage Analysis
Multi-language code coverage analysis, reporting, and quality gate enforcement
What this skill does
# 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.
Related in Data & Analytics
clawarr-suite
IncludedComprehensive management for self-hosted media stacks (Sonarr, Radarr, Lidarr, Readarr, Prowlarr, Bazarr, Overseerr, Plex, Tautulli, SABnzbd, Recyclarr, Unpackerr, Notifiarr, Maintainerr, Kometa, FlareSolverr). Deep library exploration, analytics, dashboard generation, content management, request handling, subtitle management, indexer control, download monitoring, quality profile sync, library cleanup automation, notification routing, collection/overlay management, and media tracker integration (Trakt, Letterboxd, Simkl).
querying-soql
IncludedSOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan analysis, and performance or safety improvements for Salesforce queries. TRIGGER when: user writes, optimizes, or debugs SOQL/SOSL queries, touches .soql files, or asks about relationship queries, aggregates, or query performance. DO NOT TRIGGER when: bulk data operations (use handling-sf-data), Apex DML logic (use generating-apex), or report/dashboard queries.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
habit-flow
IncludedAI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching. Use for creating habits, logging completions naturally ("I meditated today"), viewing progress, and getting personalized coaching.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
visualizing-data
IncludedBuilds dashboards, reports, and data-driven interfaces requiring charts, graphs, or visual analytics. Provides systematic framework for selecting appropriate visualizations based on data characteristics and analytical purpose. Includes 24+ visualization types organized by purpose (trends, comparisons, distributions, relationships, flows, hierarchies, geospatial), accessibility patterns (WCAG 2.1 AA compliance), colorblind-safe palettes, and performance optimization strategies. Use when creating visualizations, choosing chart types, displaying data graphically, or designing data interfaces.