Messages in this thread | | | From | V13 <> | Subject | Re: [RFC] Bug zapper? :) | Date | Wed, 11 Aug 2004 00:30:36 +0300 |
| |
On Monday 09 August 2004 23:07, John Richard Moser wrote: > What I found interesting was that it described bugs as > pseudo-quantitative based on the KLOC (thousands of lines of code) for a > code body. The basic theory boils down to 5-50 bugs per 1000 LOC, > approaching 5 for QA audited code. Thus, 10000 LOC executable, 50 bugs.
I believe that you should not believe such things. They are just statistics and nothing more.
If you have a 1000 lines project and:
a) Remove all empty lines means that you remove bugs? b) Split it to 5 libraries and 5 utilities (10 projects) means that you'll have less bugs? c) ....
I don't take generalizations like this seriously and I believe that noone should do. It may be true that 10.000 lines of code contain 50 bugs as an average of all the code that has be written so far but it doesn't mean that:
a) 50 bugs require 10.000 lines b) 50 bugs will always exist on 10.000 lines c) All the projects out there have the same number of bugs/line
> --John <<V13>> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |