// Analyze test coverage and generate a detailed coverage report
| name | test-coverage |
| description | Analyze test coverage and generate a detailed coverage report |
This skill analyzes test coverage for the codebase and generates a detailed report.
When this skill is invoked, you should:
Parse the coverage data if it exists:
coverage/lcov-buttercup.infoIdentify covered code sections:
Generate a comprehensive report including:
Format the output with:
Coverage % = (Lines with count > 0) / (Total lines) * 100
## Test Coverage Report
### Test Execution
- ✅ All X tests passed
- Execution time: Y ms
### Coverage Statistics
- Lines covered: X/Y (Z%)
- Previous coverage: A/B (C%)
- Change: +D lines (+E%)
### Tested Functions
1. function-name (lines X-Y) - Z lines covered
2. another-function (lines A-B) - C lines covered
### Coverage Gaps
- untested-function (lines X-Y) - D lines
- another-untested (lines A-B) - E lines
### Recommendations
The next most valuable functions to test are:
...