Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Best for Defect Rate Tracking? Defects per KLOC?

Tags:

tdd

I'm trying to create some internal metrics to demonstrate (determine?) how well TDD improves defect rates in code.

Is there a better way than defects/KLOC? What about a language's 'functional density'?

Any comments or suggestions would be helpful.

Thanks - Jonathan

like image 298
jdharley Avatar asked Oct 20 '09 15:10

jdharley


1 Answers

You may also consider mapping defect discovery rate and defect resolution rates... how long does it take to find bugs, and once they're found, how long do they take to fix? To my knowledge, TDD is supposed to improve on fix times because it makes defects known earlier... right?

like image 93
Matt G. Avatar answered Jan 04 '23 00:01

Matt G.