Defect Density
Defect Density is a metric used to assess the quality of the software produced by the team. It represents the number of defects or bugs discovered in the product relative to its size or complexity.
Defect Density = Number of Defects / 1000 Lines of Code (KLOC)
A lower defect density indicates better development practices resulting in the team delivering higher software quality and better user experience.
Defect Density acts as a risk indicator for the software. A higher density suggests that the product might be more prone to errors, adding new features would become more difficult, transparency would reduce and could lead to user dissatisfaction.
In Manufacturing industry, the Defect Density is calculated as the number of defective units of a product produced against the total number of units manufactured.