~15 min

Basic testing metrics

Defect density, escape rate and coverage.

Measure to improve

Metrics help communicate the state of quality and make decisions. They are not meant to 'score' people, but to give objective visibility of progress and risk.

Common metrics
MetricWhat it indicates
Defect densityDefects per size/module
Defect leakageDefects that reached production
Requirements coverage% of requirements with tests
Pass rate% of cases passing

Be careful using metrics as goals in themselves: optimizing a number can worsen real quality (e.g. closing bugs without solving them to improve the pass rate).

QuestionTap to flip

What does 'defect leakage' measure?

Which metric indicates the percentage of requirements that have at least one test?

Want to save your progress?

Create a free account to save your progress, earn points and badges, and unlock the ISTQB and Automation campuses.

Create free account
Next Lesson