Qwestrum Engineering360 · IT & Software · Software Testing
Defect Lifecycle
The defect lifecycle tracks a bug from discovery to closure through defined states; severity and priority guide handling, and metrics like defect removal efficiency measure how well defects are caught before release.
Exam tip: keep SI units consistent end-to-end, write the governing relation symbolically before substituting, and sanity-check magnitude and sign.
Key formulas & points
Skim these first — then read the full notes below.
- Lifecycle: New → Assigned → Fixed → Verified → Closed
- Root-cause analysis prevents recurrence
- Run regression tests after every fix
Topic details
Introduction
This topic covers managing defects. You follow a bug through its lifecycle states, distinguish severity from priority, apply root-cause analysis to prevent recurrence, and compute quality metrics such as defect removal efficiency and leakage.
Key relations & formulas
Formulas (Indian textbook notation)
Formulas (Indian textbook notation)
Formulas (Indian textbook notation)
Notation and sign conventions
Relation 1 —
Formulas (Indian textbook notation)
Write this relation with symbols exactly as in Kaner Testing — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 2 —
Formulas (Indian textbook notation)
Write this relation with symbols exactly as in Kaner Testing — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 3 —
Formulas (Indian textbook notation)
Write this relation with symbols exactly as in Kaner Testing — Standard reference before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Concept in depth
A defect moves through a well-defined lifecycle so its status is always clear — from newly reported, through assignment and fixing, to verification that the fix works and finally closure. Two independent attributes drive handling: severity is the technical impact (a crash is high severity) while priority is business urgency (a cosmetic bug on the home page may be high priority), and the two need not agree. After a fix, regression testing confirms nothing else broke. At the process level, defect removal efficiency — the fraction of defects caught before release — measures how effective the quality process is, and root-cause analysis turns individual bugs into systemic improvements that stop whole classes of defects recurring.
Assumptions and validity limits
State assumptions explicitly before using any relation for defect lifecycle — steady state, uniform properties, linear elastic material, ideal gas, incompressible flow, etc., as applicable.
Wrong assumptions invalidate the entire solution even when the formula is correct. In Software Testing viva and GATE descriptive questions, listing valid assumptions often earns separate marks.
Step-by-step problem approach
1. Read the question and list given data with SI units (common in Software Testing papers).
2. Draw a neat labelled diagram where applicable — examiners in Indian universities award diagram marks even when arithmetic slips.
3. Identify which relation from this topic applies to defect lifecycle.
4. Use equation 1:
5. Use equation 2:
6. Substitute values, compute, and verify units and sign (direction).
7. State conclusion in one line — e.g. safe/unsafe, stable/unstable, feasible/infeasible.
2. Draw a neat labelled diagram where applicable — examiners in Indian universities award diagram marks even when arithmetic slips.
3. Identify which relation from this topic applies to defect lifecycle.
4. Use equation 1:
.
5. Use equation 2:
.
6. Substitute values, compute, and verify units and sign (direction).
7. State conclusion in one line — e.g. safe/unsafe, stable/unstable, feasible/infeasible.
Applications & exam relevance
Defect Lifecycle appears in QA teams and CI pipelines. In Indian it software curricula this topic is tested because it connects theory to verification and validation.
GATE and semester exams often combine defect lifecycle with earlier units — revise prerequisites before attempting mixed problems.
Industry interview panels sometimes ask: "Where did you use defect lifecycle?" — answer with a lab, mini-project, or plant visit example if possible.
Common mistakes in exams
Students conflate severity with priority (they are distinct axes), skip regression testing after a fix, and confuse defect removal efficiency with defect density. Closing a defect without verification, or without root-cause analysis, lets the same bug return.
Quick revision checklist
Before attempting defect lifecycle problems, confirm you can:
1. Lifecycle: New → Assigned → Fixed → Verified → Closed
2. Root-cause analysis prevents recurrence
3. Run regression tests after every fix
2. Root-cause analysis prevents recurrence
3. Run regression tests after every fix
Revise the solved examples in Kaner Testing — Standard reference and one previous-year GATE or university paper for this unit.
Worked examples
Try the problem first — open the solution when you are ready to check.
Defect removal efficiency
Problem
A release had 180 defects found before release and 20 found after. Compute the defect removal efficiency.
Solution
DRE = defects found before release / total = 180 / (180 + 20) = 180/200 = 0.9 = 90%. A higher DRE indicates a more effective pre-release quality process.
Conceptual check — Defect Lifecycle
Problem
In a Software Testing semester or GATE paper you are asked: "State the main assumption, the governing relation, and one practical consequence of defect lifecycle." What should a complete answer include?
📖 Standard books (India)
Kaner Testing — Standard reference
Read: Syllabus unit
Referenced in Indian B.Tech syllabus
Explore related topics
See real it & software careers
After exams and interviews, see how engineers actually built careers — milestones and decisions from people in the field.