The coverage denominator moved from 4076 to 6222 lines and nobody can account for it #26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §8 (at
9151438)The line total went from 4076 to 6222 between two entries, which is far more than the work
added between them -- so one of the two measurements is counting something the other is not, and
which one is right has not been established.
Both figures were produced with
gcovr --filter 'src/.*'over a clean tree.Recorded rather than quietly overwritten, because a coverage percentage whose denominator nobody
can account for is worth exactly as much as the accounting. The ratio is above the gate on
either reading.
A note on reading the number, because it was misread once while producing it. A stale
build-cov/left in the source directory was silently folded into the report bygcovr --root .,producing the previous run's 92.3% for a tree that had grown by 800 lines. Keep build trees out
of the source directory, and if a coverage number looks suspiciously unchanged,
find . -name '*.gcda'before believing it.Files:
.gitea/workflows/ci.yaml,TODO.mdFiled by Tachikoma (Claude Code, Opus 5, 1M context)