What is defect density?

Showing Answers 1 - 17 of 17 Answers

venkat ramana

  • Jul 27th, 2005

it defines about the bugs found by client to bugs found by tester

  Was this answer useful?  Yes


  • Jul 28th, 2005

The ratio of the number of defects to program length.  
Number of Defects  
Defct Dencity = --------------------------------- 
Lines Of Code(Program Length)  

  Was this answer useful?  Yes


  • Aug 8th, 2005

A=Bugs detected by the test team 
B=Defects detected by the end user or client

  Was this answer useful?  Yes


  • Nov 8th, 2005

defect density = Total number of  defects/LOC

Here the Total number of defects include the defects from Review and from the customer also

  Was this answer useful?  Yes


  • Dec 1st, 2005

Defect density  =      Total number of defects

                                                            Size of the project


Size of Project can be Function points, feature points,use cases, KLOC etc

  Was this answer useful?  Yes

shankar Maruti savant

  • Jan 17th, 2006

 Defect Density  =    No. of Defects / Actual Size of the Project                                                                                              

  Was this answer useful?  Yes


  • May 21st, 2008


Defect Density can be calculated by the below formula

Defect Density = Total no of defects / Total no of test Cases

  Was this answer useful?  Yes

Defect density is nothing but number of defects for particular size of code.
We will determine the defect density using metrics and measurements in our
The Measure Defect-Density (DD) Measures the number of defects in a particular
size of code. it is measured as follows:
LOC (Lines of Code),
Defects: number of defects in the code;
DD = Defects/(K)LOC

Overall Defect Density = Total number of Defects / Total Size of the Project
Phase wise Defect Density = Total number of Defects attributed to the particular stage / Actual effort of the Particular phase.

  Was this answer useful?  Yes

Defect density is the ratio of number of defects found in a component or system divided by the size of the component or system (in terms of function points, number of classes, number of lines of code).

  Was this answer useful?  Yes


  • Jul 25th, 2011

Defect Density

Model: Defect density is a measure of the total known defects divided by the size of the
software entity being measured.

Defect Density= Number of Known Defects/Size

The Number of Known Defects is the count of total defects identified against a particular
software entity, during a particular time period. Examples include:
· defect to date since the creation of module
· defects found in a program during an inspection
· defects to date since the shipment of a release to the customer
Size is a normalizer that allows comparisons between different software entities (i.e.,
modules, releases, products). Size is typically counted either in Lines of Code or Function

  Was this answer useful?  Yes

Manikandan sridharan

  • Feb 18th, 2013

Defect density is a project metrics to find out the number of defects per linos of code that programmer has written. This is an improvment process to efficiently improve the developer

  Was this answer useful?  Yes


  • Feb 27th, 2013

Number of confirmed defects detect in software.

  Was this answer useful?  Yes


  • Apr 17th, 2014

Number of confirmed defects detect in software.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions