miniblog.
← Back to all posts
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
Related 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
Shared words: Find, good, code, coverage, lines, tests Score: 134.6
Dec 30, 2014 at 00:48
A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Real World
https://cacm.acm.org/magazines/2010/2/69354-a-few-billion-lines-of-code-later/fulltext
Wilfred Hughes
Shared words: Find, code, few, lines, bugs Score: 94.8
Jan 21, 2015 at 19:22
Theorem: if you have tests for all the features of your program (e.g. implementing a spec) you don't need to measure code coverage. Agree?
Wilfred Hughes
Shared words: code, measure, coverage, tests Score: 69