Coverage intelligence risky change
What a coverage-intelligence-risky-change finding of fallow health means, why it matters and how to fix it.
What it reports
Changed hot path combines high CRAP and low test coverage.
Runtime coverage explains how fallow finds it.
Why it matters
Coverage intelligence combined change scope, runtime hot-path evidence, low test coverage, and high CRAP into a risky-change finding. Add focused tests or split the change before merging.
Example
The change touches applyDiscount, a hot path in production, which has less than 70% test coverage and a CRAP score above the limit.
Fix
Add tests for the changed function before you merge, or split the change so that the hot path changes less.
Facts
| Fact | Value |
|---|---|
| Issue type | coverage-intelligence-risky-change |
| Rule id in SARIF output | fallow/coverage-intelligence-risky-change |
| Command | fallow health |
Fixable with fallow fix | No |
Note. Produced by fallow coverage analyze.