Module 2. Advanced testing · Lesson 17 of 41 · 11 min

Quality metrics: what to measure without fooling yourself

DRE and defect leakage, pass rate, requirements coverage, regression time — and metric traps.

A metric should help you decide

A good metric answers a specific question: "is the release ready?", "is quality improving?", "where are we losing time?". A metric collected for the sake of a report is noise.

Defect removal efficiency (DRE)

The share of defects the team finds before users do:

Defect removal efficiency (DRE)90found before release+10found by users=90%DREBefore release: 90After release: 10DRE = defects before release / (before + after release) × 100%
Defect removal efficiency (DRE). Example: the team found 90 defects before the release and users found 10 more after it. DRE = 90 / (90 + 10) = 90%. The other 10% is defect leakage.

The inverse metric is defect leakage: defects after the release / all defects. Its trend over several releases says more about the process than any single number from one release.

Useful metrics

Metric Question Trap
Pass rate How many executed checks passed 98% with one blocker is still a No-Go
Test progress How much of the scope is done Says nothing about the quality of what's done
Requirements coverage Does every requirement have a test The test may be shallow
Open defects by severity What's blocking the release A count without severity means nothing
Regression time How long a full check takes Creeps up unnoticed if you don't measure it
Automation stability Can we trust the build Retries make it look artificially high

What not to do

  • Rate people by the number of bugs they find. You'll get trivial duplicates, and collaboration with developers will fall apart.
  • Turn a metric into a target. Goodhart's law: when a measure becomes a target, it ceases to be a good measure.
  • Look at one number without a trend. The trajectory over several releases is what matters.

A report for management

One page: release readiness, key risks, a recommendation, the defect leakage trend. Details behind a link. The QA Tools test plan calculates per-release and per-tester stats automatically, and a test summary report template is available in Excel.

Key takeaways

  • DRE shows the share of defects found before release; leakage shows how many reached users.
  • A pass rate without the severity of open defects doesn't tell you whether you're ready.
  • Metrics aren't used to rate people and aren't turned into targets.

Check yourself

  1. 1. 45 defects were found before release and 5 after. What's the DRE?

  2. 2. Why is it bad to rate QA by the number of bugs found?

  3. 3. What matters more than a single metric value?