Defect Density Is The Number Of Defects Confirmed In Software/module During A Specific Period Of Operation Or Development Divided By The Size Of The Software/module. It Enables One To Decide If A Piece Of Software Is Ready To Be Released.
1.Definition
Defect Density is the number of confirmed defects detected in software/component during a defined period ofdevelopment/operation divided by the size of the software/component.
It enables one to decide if a piece of software is ready to be released.
The ‘defects’ are:
The period might be for one of the following:
The size is measured in one of the following:
2.Defect Density Formula
Defect Density = Number of Defects/Size
Defect density is counted per thousand lines of code also known as KLOC.
size of release can be measured in terms of line of code (LoC)
Standard for defect density
However, there is no fixed standard for defect density, studies suggest that one defect per thousand lines of code is generallyconsidered as a sign of good project quality.
3.Advantages of defect density
Advantages of defect density
Uses