Introduction
When building software, it is important to know how many problems or bugs exist and how serious they are. Defect metrics help teams measure and understand these problems so they can improve the quality of their software.
Imagine a car factory checking cars for problems before selling them. They count how many cars have issues, how serious the issues are, how fast they find and fix problems, and if any problems are found after the cars are sold.
┌─────────────────────┐ │ Defect Metrics │ ├─────────┬───────────┤ │ Density │ Severity │ ├─────────┼───────────┤ │ Arrival │ Resolution│ │ Rate │ Time │ ├─────────┴───────────┤ │ Leakage │ └─────────────────────┘