0% found this document useful (0 votes)
39 views6 pages

Homework 1 Defect Amplification Model

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1/ 6

USC

University of Southern California


C S E Center for Software Engineering

Homework 1 Defect Amplification


Model

Errors Errors passed


from Errors passed through
to next step
previous Percent
step efficiency for
Amplified errors 1:x error
detection
Newly generated errors

©USC-CSE 1
USC
University of Southern California
C S E Center for Software Engineering

Case 1: No Reviews
Inception
High-level design
0 Detailed Design
100 50 50
0 0% 205 102.5102.5
50 50*1.5 0%
100 102.5102.5*1.5 0% 296.2
80 40
Amplification=1.5
Code and unit test Amplification=1.5
Integration
296.2 148.1
148.1 371.4 185.7
148.1 371.4
148.1*2 20% 0 50%
latent errors
(92.9) (185.7)
20 0
Amplification=2
©USC-CSE 2
USC
University of Southern California
C S E Center for Software Engineering

Case 2: With Reviews


Inception
High-level design
0 Detailed Design
50 25 25
0 50% 71.2 35.6 35.6
(50) 25 25*1.5 50%
100 35.6 35.6*1.5 60% 51.6
80 (71.2)
40 (77.4)
Amplification=1.5
Code and unit test Amplification=1.5
Integration

51.6 25.8 25.8 29.2 14.6


25.8 25.8*2 70% 29.2 50%
0 latent errors
(68.2) (14.6)
20 0
Amplification=2
©USC-CSE 3
USC
University of Southern California
C S E Center for Software Engineering

Defect Fixing Costs


Phase found Defects Fixing Cost/Defect* Total
Case 1: No Reviews
Code and Unit Test 92.9 10 * $50 $46,450
Integration 185.7 50 * $75 $696,375
$742,825
Case 2: With Reviews
Inception 50 1 * $100 $5,000
High Level Design 71.2 2 * $80 $67,442
Detailed Design 77.4 4 * $70 $21,672
Code and Unit Test 68.2 10 * $50 $34,100
Integration 14.6 50 * $75 $54,750
$182,964
* person-hours/defect * cost per hour
©USC-CSE 4
USC
University of Southern California
C S E Center for Software Engineering

Review Costs
Phase Effort (Person-hours)* Cost/Hour Total

Case 2: With Reviews


Inception 150 $100 $15,000
High Level Design 150 $80 $12,000
Detailed Design 150 $70 $10,500
Code and Unit Test 150 $50 $7,500
Integration 150 $75 $11,250
$56,250

* Effort = (# reviews) * (# people) * (hours/person) = 10*5*3 = 150 person-


hours

©USC-CSE 5
USC
University of Southern California
C S E Center for Software Engineering

Review Return on Investment


• Return on Investment (ROI) = (benefit-cost) / cost

• Benefit = difference in defect fixing costs


= $742,825 - $182,964 = $559,861

• ROI = ($559,861 – $56,250) / $56,250 = 8.95

• This ROI only considers through integration. The entire


ROI would be greater when accounting for defect fixing
costs in the field.

©USC-CSE 6

You might also like