Welcome to MSDN Blogs Sign in | Join | Help
Code Coverage

James Newkirk has an interesting post on code coverage metrics. It's impossible to use a hard code coverage target like 80%, so working with a code coverage trend is better. Would be interesting to know how many of you guys out there are working towards a hard target?

 

Posted: Wednesday, March 07, 2007 8:44 AM by christj
Filed under:

Comments

ploeh said:

That's interesting. I use TDD, and I've never had any trouble with a hard target. TDD itself tends to take me to about 90%, and if I feel like it, a little effort typically takes me to 95%. More than that is typically not worth the effort.

70% or even 80% sounds like an awful lot of untested code to me :)

# March 7, 2007 6:11 AM

christj said:

I think that we both agree that higher is better, but is a hard taget interesting to aim for up front? ;-)

# March 30, 2007 4:55 AM
Anonymous comments are disabled
Page view tracker