miniblog.
← Back to all posts
Aug 15, 2020 at 23:26
I find test coverage a useful thing to track, but I can't find a good metric. "Coverage decreased by 10%" sounds bad. If you're deleting pointless code that has tests, it's good! Perhaps total untested lines of code is better?
Wilfred Hughes
Related Posts
Aug 27, 2017 at 10:26
Coverage percentage is misleading, as 60% coverage has a different meaning for 800 LOC vs 80 KLOC. Perhaps uncovered line count is better?
Wilfred Hughes
Shared words: Perhaps, coverage, lines, better Score: 143.8
Jun 6, 2014 at 23:14
1. Find some known-good code you trust and measure coverage. 2. Find a few missing coverage lines. 3. Write tests. 4. Find bugs!
Wilfred Hughes
Shared words: find, test, coverage, good, code, lines Score: 134.6
Sep 11, 2017 at 17:06
Coverage is a useful tool, but total number of test cases is a better predictor of test effectiveness!
Coverage is not strongly correlated with test suite effectiveness
Coverage is not strongly correlated with test suite effectiveness – Inozemtseva and Holmes, 2014 Is code coverage a useful metric? Inozemtseva and Holmes won an ACM Distinguished Paper award …
Wilfred Hughes
Shared words: test, coverage, useful, total, better Score: 111