defect origin (j) phase requirement analysis design coding unit testing
TRANSCRIPT
Defect Origin (j)
Phase Requirement Analysis Design Coding
Requirement 40
Analysis 10 20
Design 40 40 40
Coding 60 10 40 80
Unit testing 60 30 30 60
Integration testing 30 10 30 30
Field 5 0 6 7
Defects/phase 245 110 146 177
Product Size = 50K LOC
1 Calculate the defect removal rate for every phase
Phase Defect removal rate (per KLOC)Requirement 0.80Analysis 0.60Design 2.40Coding 3.80Unit testing 4.00Integration testing 2.20Field 0.48
2 Calculate the defect injection rate for every phase
Phase Defect injection rate (per KLOC)Requirement 4.90Analysis 2.20Design 2.92Coding 3.54Unit testing 0.40Integration testing 0.20
Field 0.12
3 Calculate the defect escape rate for every phase
Phase Defect escape rate (per KLOC)Requirement 4.10Analysis 5.70Design 6.22Coding 5.96Unit testing 2.36Integration testing 0.36
4 Which phase is the most effective in removing defects?
Phase Defect Removal Effectiveness %Requirement 16.33Analysis 9.52Design 27.84Coding 38.93Unit testing 59.88Integration testing 82.09
5 Calculate the overall defect removal effectiveness.
96.64
Its clear from the above table that defect removal is most effective the Integration testing phase.
6 Do you think reviews and inspections were effective? Explain.
Yes, the final product that was shipped to the customer lies in the 95%-100% comfort zone. Hence the product was able to meet the 95% bench mark. Hence we can infer that the reviews and inspections where effective.
Defect Origin (j)
Unit testing Integration testing Field Defects Fixed in phase
40
30
120
190
20 200
0 10 110
0 0 6 24
20 10 6 714
Formula used
Formula used
Defects Fixed in phase50K
Defects/phase50K
Formula used
Formula 1 used for front end phases
Formula 2 used for back end phases
Formula used
Total Defects escaped = Ti,i
Total Defects escaped50K Ti,i = ΣNi,j (i = i+1 to K & j = 1 toi)
Defects removed at each step * 100%defects on step entry + defects injected in the step
Defects removed at current phase * 100%defects removed on current step + subsequest step
( 1 - Defects removed at current phase * 100% ) * 100 defects removed on current step + subsequest step
Yes, the final product that was shipped to the customer lies in the 95%-100% comfort zone. Hence the product was able to meet the 95% bench mark. Hence we can infer that the reviews and inspections where effective.