Which quality metrics are useful, and how do you prevent them from becoming misleading targets?
Answer
Choose a balanced set tied to decisions: escaped-defect impact, change failure and recovery, risk coverage, cycle time, flake rate and customer signals. Use trends and context, avoid ranking people by counts, and retire metrics that no longer change decisions.
Strong answer includes
- outcomes plus leading indicators
- trend and context
- recognizes gaming risk
Practical example
A team tracks escaped-defect severity trend and change-failure rate as outcome metrics, plus flake rate and cycle time as leading indicators, reviewed monthly with context rather than as a scoreboard. When a manager once proposed ranking testers by 'number of bugs found per week,' the lead pushed back because it would reward filing trivial bugs and discourage testers from doing deep exploratory work on harder, high-risk areas — the metric was dropped before it caused that exact behavior.