What is Defect Leakage?
Defect leakage (also called defect escape) measures the share of defects that were missed in testing and found later, in a higher test phase or in production, indicating how effective the earlier testing was.
Free to start · 7-day trial on paid plans
In depth.
Defect leakage answers a sharper question than "how many bugs did we find?": "how many did we miss?" A common formula is defects found after a phase divided by total defects (found in the phase plus those that escaped), often expressed as a percentage. The most-watched version is production escape: defects found by users divided by all defects for that release.
It is one of the best signals of test effectiveness. Rising leakage means tests are not catching what they should, perhaps a coverage gap, weak environments, or rushed cycles. Falling leakage, paired with stable or rising defect detection, means testing is genuinely getting better, not just running more.
The interview nuance is interpretation. Like all metrics it can be gamed (classify escapes as "enhancements") and must be read in context, a tiny absolute number can produce a scary percentage. It pairs naturally with defect density and detection effectiveness for a fuller picture, and a healthy team uses each escaped defect as a root-cause-analysis prompt, not a blame tool.
Why interviewers ask about this.
For lead and quality-engineering interviews, defect leakage shows you can measure whether testing actually works, not just activity. Tying escapes to root cause analysis and prevention is the strongest possible framing.
Example scenario.
A release finds 90 defects in testing and users report 10 in production. Leakage is 10 / 100 = 10%. RCA on the 10 escapes shows most were on mobile Safari, an untested environment, so the team adds it to the matrix and leakage drops the next release.
Interview tip.
Give the formula (escaped defects over total), distinguish it from defect density (which counts defects per size, not misses), and tie escapes to root cause analysis. That progression, measure then prevent, is the signal.
Frequently asked questions.
What is the difference between defect leakage and defect density?
Defect leakage measures the proportion of defects missed in testing and found later (test effectiveness). Defect density measures defects per size unit such as per KLOC (where defects cluster). One is about misses, the other about concentration.
What is a good defect leakage rate?
Lower is better, but the right target depends on the product and risk. The useful signal is the trend over releases and whether escapes are being root-caused and prevented, not a single universal number.
Related Terms
Explore related glossary terms to deepen your understanding.
Related Resources
Dive deeper with these related interview prep pages.
Free QA career tools, no account needed
Instant and private, everything runs in your browser. Try them before you sign up.
QA Resume Checker
Instant 0-100 score on automation keywords, impact, and ATS formatting.
QA Cover Letter Generator
A tailored 3-paragraph QA cover letter from your resume and a job post.
QA Application Tracker
Drag-and-drop kanban to track every QA application from Applied to Offer.
QA Take-Home Test Generator
A realistic take-home assignment with a scenario, tasks, and a rubric.
QA LinkedIn Headline Generator
A recruiter-searchable headline, About section, and skills list.
QA STAR Story Builder
Structure a QA behavioral answer with the STAR method and instant checks.
QA Bug Report Generator
Build a clean, reproducible bug report for Markdown, Jira, or plain text.
Boundary Value Analysis Generator
Generate boundary value and equivalence partitioning test cases from a range.
QA Metrics Calculator
Calculate DRE, defect leakage, defect density, and pass rate with interpretation.
QA Test Plan Generator
Build a structured test plan (scope, approach, criteria, risks) in Markdown.
Ready to Ace Your QA Interview?
Practice explaining defect leakage and other key concepts with our AI interviewer.
Join 1,200+ QA engineers already practicing with AssertHired.
Start your free QA interview