# What is defect density?

#### venkat ramana

• Jul 27th, 2005

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

• Jul 28th, 2005

The ratio of the number of defects to program length.

Number of Defects
Defct Dencity = ---------------------------------
Lines Of Code(Program Length)

#### DEV

• Aug 8th, 2005

A/(A+B)
A=Bugs detected by the test team
B=Defects detected by the end user or client

#### hdoss_hdoss@hotmail.com

• 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

#### Naseem

• 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

#### shankar Maruti savant

• Jan 17th, 2006

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

#### jainbrijesh Profile Answers by jainbrijesh Questions by jainbrijesh

• Jan 2nd, 2007

Defect density is the no. of bugs,now it depends on individual on which scale he count them.

#### pjuvva Profile Answers by pjuvva

• May 21st, 2008

Defect Density can be calculated by the below formula

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

• Sep 8th, 2008

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
environments
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

#### alagianambi.r Profile Answers by alagianambi.r

• Apr 4th, 2009

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.

#### er.anumittal Profile Answers by er.anumittal

• Apr 4th, 2009

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).

#### Rover77 Profile Answers by Rover77

• Nov 24th, 2009

The expected number of defects that will occur in a product during development.

#### kurtz182 Profile Answers by kurtz182 Questions by kurtz182

• Dec 30th, 2009

Defect density refers to the ratio of number of defects to program size, typically measured in lines of code (LOC) or function points (FP).

#### harsha

• 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
Points.

#### 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

#### prem

• Feb 27th, 2013

Number of confirmed defects detect in software.

#### Shalem

• Apr 17th, 2014

Number of confirmed defects detect in software.