Interviews6 answers
What is meant by "defect density"?
6 Answers
Defect Density is the number of confirmed defects detected in software/component during a defined period of development/operation divided by the size of the software/component. The 'defects' are: confirmed and agreed upon (not just reported).
Keerthi VenkatesanPosted Jun 7, 2016, 11:03 PM EDT
Defect Density can be used to determine if the amount of testing is sufficient. Ways of calculating defect density
Defect density = Total number of defects/LOC
Bhuvanesh MohankumarPosted May 18, 2016, 4:05 AM EDT
defect denesity=number of lines of code in module/number of defects in the module
vishwanath kumarPosted Jul 2, 2015, 3:38 AM EDT
Defect density is (defective test scripts / total test scripts)*100
Kalyankumar RavichandranPosted Jun 16, 2015, 2:19 AM EDT
I'm guessing that Defect Density is used in order to detect the rate at which your programmers are generating defects, whereas subtracting fixed defects is to do with the number of complaints made by your customers/end users.
Of your goals, (a) seems unsound, (b) is hugely incisive and will pay dividends and (c) may induce false optimism.
You should really be aiming for Zero Defects and you should, for metrics purposes, ignore bugs found and fixed before release.
Munesh SharmaPosted Apr 15, 2014, 7:35 AM EDT
Defect density = No.of errors
------------------
Total lines of code
Meenakshi RamachandranPosted Nov 19, 2013, 12:34 AM EST



