• Home
  • BVSSH
  • C4E
  • Playbooks
  • Frameworks
  • Good Reads
Search

What are you looking for?

Standard : Defect Escape Rate

Description

Defect Escape Rate is the proportion of total defects that are discovered after release to production. It reflects how well teams are embedding quality at each stage of the lifecycle—preventing, detecting, and resolving defects early, before customer impact.

A low escape rate indicates robust engineering practices, including thorough automated testing, quality gates, peer reviews, and shift-left quality techniques.

How to Use

What to Measure

  • Total number of defects discovered in production.
  • Total number of defects found across all environments (development, QA, staging, production).
  • Calculate the proportion that escape into production.

Formula

Defect Escape Rate = (Production Defects / Total Defects Found) × 100

You may also track:

  • Escape rate per service or platform component.
  • Escape rate trend over time.
  • Severity-weighted escape rate (to highlight critical escapes).

Instrumentation Tips

  • Ensure bugs are tagged with discovery environment (e.g. QA, UAT, Production).
  • Use incident management systems to capture production defects consistently.
  • Build dashboards that show escape rate alongside change volume and quality gates passed.

Why It Matters

  • Prevention over detection: Encourages finding and fixing defects earlier when they’re cheaper and less risky.
  • Reduces customer impact: Escaped defects erode trust, drive up support costs, and increase rework.
  • Improves learning: Helps teams analyse root causes and refine development, test, and review processes.

Best Practices

  • Use layered testing strategies (unit, integration, end-to-end).
  • Incorporate quality gates and linting tools into CI pipelines.
  • Adopt shift-left practices like TDD or static analysis on commit.
  • Pair this metric with defect cause analysis to address systemic issues.
  • Treat escaped defects as signals to improve—not blame.

Common Pitfalls

  • Inconsistent defect logging or misclassification of discovery stage.
  • Teams hiding production bugs to avoid negative metrics.
  • Over-focusing on the number, not the impact or severity of defects.
  • Ignoring positive trends or improvements in root cause patterns.

Signals of Success

  • Defect escape rate is low and trending down.
  • Most defects are caught pre-release through automated tests and reviews.
  • Teams use this measure to drive quality improvements, not defensiveness.
  • Post-incident reviews lead to process changes that prevent recurrence.

Related Measures

  • [[CoE/Engineering/Measures/Delivery Performance/Change Failure Rate]]
  • [[CoE/Engineering/Measures/Observability & Detection/Mean Time to Detect (MTTD)]]
  • [[Quality Gate Compliance]]
  • [[Test Coverage of Critical Paths]]
  • [[Rework Ratio]]

Technical debt is like junk food - easy now, painful later.

Awesome Blogs
  • LinkedIn Engineering
  • Github Engineering
  • Uber Engineering
  • Code as Craft
  • Medium.engineering