By aalmiray
via thediscoblog.com
Published: Nov 08 2008 / 09:52
There are various statistics related to the average defect density (i.e. how many defects one can expect to find in a code base); suffice to say, the numbers point to unhip ranges like
20 to 30 bugs for every 1,000 lines of code
and even
100–250 defects per thousand lines of code
Given this amazingly horrible data, what is one to do about it? There are a few possible answers, including:
* Write a lot of tests
* Write better code
* Write less code
Comments
junkmailbonzai replied ago:
I agree! My motto is "Think - Design - Write Tests - Write Code". If this was done more often we would end up with fewer bugs. Thanks for the good article. :-)
Voters For This Link (18)
Voters Against This Link (2)