Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Defect density is a software testing and quality assurance (QA) method used to find the intensity and concentration of logical flaws in a software program, component or product. It refers to the ratio of functional or technical defects found in software or components related to the entire software application over a certain period.
Defect density is used to test software applications and modules relative to its known defects. Although defect density evaluation methods can vary, it is calculated by dividing the number of defects by the total size of the software or component. All validated or confirmed defects are included, whereas software size may be in the form of function points or source lines of code (SLOC).
Defect density is further evaluated over a predefined period.