Minimum Acceptable Code Coverage Numbers in the real world.

Posted by Pita.O on Stack Overflow See other posts from Stack Overflow or by Pita.O
Published on 2010-05-05T17:50:41Z Indexed on 2010/05/05 17:58 UTC
Read the original article Hit count: 474

Hi, I am in the middle of putting together some guidelines around code coverage and I want to specify a number that really makes sense. It's easy to repeat the 100% mantra that I see all over the internet without considering the cost benefit analysis and when diminishing returns actually sets in.

I solicit comments from persons who have actually reported code coverage on real-life, medium/large-sized projects. What percentages were you seeing? How much is too much? I really want some balance (in figures) that will help developers produce hight quality code. Is 65% coverage too low to expect? Is 80% too high?

© Stack Overflow or respective owner

Related posts about code-coverage

Related posts about quality-metrics