Free Engineering Workbench calculator
Defect density and severity index
Track defects per size of code delivered and how severe they are, release by release.
Quality & testingHow it's worked out
- Density = defects ÷ KLOC. Severity index = (10 × critical + 5 × high + 2 × medium + low) ÷ KLOC
- Weights platform-defined
NoteLines of code differ by language, so compare density only within the same codebase. The 10/5/2/1 weights are platform-defined.
Source: IEEE 982.1 measures for reliable software (defect density concept)
Need help acting on this number?
VVnT SeQuor's Digital Testing & Automation practice helps teams turn this metric into a plan.