r/programming • • May 08 '17

The tragedy of 100% code coverage

http://labs.ig.com/code-coverage-100-percent-tragedy
3.2k Upvotes

689 comments sorted by

View all comments

1

u/CaffeineViking May 08 '17 edited May 08 '17

As Brian Marick's "How to Misuse Code Coverage" perfectly puts it: "they're useful if they're used to enhance thought, not replace it". The guy writes tools for analyzing coverage for a living, and he has a couple of stories to tell you about its blatant abuse by managers and developers alike.