coverage-enhancer
Installation
SKILL.md
Coverage Enhancer
Line coverage is a floor, not a goal. 100% lines with 50% branches means half your if conditions never ran the other way. This skill targets the uncovered decisions, not just uncovered lines.
Coverage levels — weakest to strongest
| Metric | What it measures | Gaps it misses |
|---|---|---|
| Line | Each line executed at least once | if a or b: — only one of a/b tested |
| Branch | Each if/else arm taken | if a and b: — never tested a=T, b=F |
| Condition | Each boolean sub-expression both T and F | Masking: short-circuit hides some |
| MC/DC | Each condition independently flips the outcome | Nothing — this is the aviation standard |
| Mutation | Tests kill injected bugs | → mutation-test-suite-optimizer |
Default target: branch coverage. MC/DC for safety-critical. Mutation for "is this suite actually good."