Professional Documents
Culture Documents
Defect Management & Metrics: Society For Software Quality April 24, 2010
Defect Management & Metrics: Society For Software Quality April 24, 2010
Metrics
Society for Software Quality
April 24, 2010
2010 Holl
Consulting
021209.01 SSQ Presentation
!o "s #!is $uy%
&
30 years in software
and hardware/software
Quality
&
19 years in Quality &
Process Management
&
6 years as Director of
Software Best Practices
and Corporate Software
Metrics Leader at Intuit
&
Past Q President
Q
U
A
LI
Y
T
Q S
S
2010 Holl
Consulting
021209.01 SSQ Presentation
'ri(ary )ele*ant +,perience
&
-esigne. "ntuit/s corporate .efect
(anage(ent process
&
Assiste. in rollout to 01100 engineers
&
$ui.e. its e*olution for si, years
&
As Corporate Software 2etrics 3ea.er,
fostere. 4uantitati*e pro5ect (anage(ent
an. process i(pro*e(ent
&
2a.e (ista6es an. learne. fro( t!e(
2010 Holl
Consulting
021209.01 SSQ Presentation
Agen.a
&
Su((ary of 're*ious #al6
&
-efect 2anage(ent 2etrics
&
2etrics for 'ro5ect 2anage(ent
&
2etrics for 'rocess "(pro*e(ent
&
A.*ance. 2etric 2o.els
2010 Holl
Consulting
021209.01 SSQ Presentation
3ast ti(e7
&
e re*iewe. cultural issues relate. to
.efect (anage(ent
&
e went o*er a .efect (anage(ent
process8
'olicies
or6flow9States
:iel.s
2010 Holl
Consulting
021209.01 SSQ Presentation
-ata Collection
&
At .ifferent states in t!e wor6flow, .ifferent
.ata are collecte.
&
2ost .ata are collecte. at su;(it ti(e
&
A..itional .ata are entere. ;y t!e
.e*eloper upon resolution
&
An. finally ;y t!e tester upon *erification
2010 Holl
Consulting
021209.01 SSQ Presentation
Agen.a
"f your goal is to get ;etter >learn? or pre.ict t!e future, you nee.
to capture (uc! (ore infor(ation.
$ithout early lifecycle data %re&uirements' etc() !redicti*e
models aren+t that relia,le
$orld-class com!anies don+t .ust manage defects / they analy0e information(
2010 Holl
Consulting
021209.01 SSQ Presentation
-ata Collection Costs
& 1stimate "ssum!tions8
11,000 .efects
@ t!e .efects are correcte. >9,000?
-ata collection ti(e8 10 (inutes >*ali.ate. at H'?
A*erage .efect cost8 1A !ours >.ata fro( 2ic!ael :agan?
-ata collection re.uces .efects BC
#i(e to recor. >116 D10(? E,000 !rs
#i(e to correct >96 D1A!? 144,000
!rs
-efect re.uction >96 D
BC?
4B0 .efects
#i(e sa*ings >4B0 D 1A!? F,200 !rs
23I 4506
Sa(pling is *ali., ;ut
sa(pling !as to ;e
(anage. to get goo.
ran.o( sa(ples an. to
ensure t!at a.e4uate
>statistically significant?
sa(ples are ;eing
collecte..
#!is .oesn/t 4uantify t!e *alue of ;eing a;le to pre.ict 4uality an. sc!e.ules
2010 Holl
Consulting
021209.01 SSQ Presentation
Si(ple 2easures
&
-efect cost G
&
:i, rate G
&
-uration G
3ast two inclu.e 4ueue ti(e, so t!ey .epen. on wor6loa.
"t/s !elpful to un.erstan. t!e stan.ar. .e*iation too
Honus8 Hy type, root cause, in5ection p!ase
D +,cel Ietor6-ays is a useful function
J >#otal )esolution +ffort?
Iu(;er of resol*e. .efects
Iu(;er of resol*e. .efects
'erio. of ti(e >wee6, (ont!, etc.?
J>>Close. -ate? >Su;(it -ate??D
Iu(;er of resol*e. .efects
2010 Holl
Consulting
021209.01 SSQ Presentation
)elati*e -efect Costs
&
"f you recor. in5ection an. .isco*ery
p!ases an. effort, you can co(pute
relati*e costs
&
+,a(ple8
!ttp899www.polariguana.co(9sourceroi.p!p
2elease " 2elease <
Defects
4B2 BAE
8otal C3>
1,A00 4E,B00
Defect
Density
B2.A 12.9
Pro.ect
>hanged
C3>
B,400 4,EB0
Pro.ect
Defect
Density
1E.F 129.4
2010 Holl
Consulting
021209.01 SSQ Presentation
Calculating -- per '!ase
Y -efects "n5ecte. 'er '!ase
'ro5ect US3TC
Iu(;er of -efects In.ection Phase
Disco*ery Phase )e4Ks -esign Co.e #est 'ro.uction
)e4uire(ents 4A 0 0 0 0
-esign 1 2A 0 0 0
Co.e 1E 19 1E 0 0
#esting EE 22 EF 2 0
'ro.uction E 2 1A 0 1
8otal In.ected 1FE A9 1EA 2 1
Defect Density 5(95 1(9@ 3(D9 0(06 0(03
'ro5ect
S3TC G
EB,000
Iote8 if t!is is
only test .efect
.ata, you/re
(issing an
opportunity to get
;etter
infor(ation.
--
'!ase
G
2010 Holl
Consulting
021209.01 SSQ Presentation
Ie,t 'ro5ect
&
+sti(ate. to ;e 20,000 S3TC
Eistorical
Defect
Density
Ci9ely
to
In.ect
Phase
>ontainment
Ci9ely
to Cea9
1ffort to
2esol*eB
8otal
2ewor9
2e&uirements 4.94 99 2A.AC 2A 1B.E 2242.2
Design 1.9F E9 1F.EC F E1.B 2AE.E
>ode E.19 F1 A2.1C 41 11.E 112.9
8esting 0.0A 1 11.FC 1 2.2 2.1
Production 0.0E 1 100.0C 1 1 0.A
#otal 211 Frand 8otal 3391(0
D orst case cost >.efects .isco*ere. in test?
2010 Holl
Consulting
021209.01 SSQ Presentation
-efect -isco*ery S Closure
&
're.ictions can ;e
(a.e in +,cel ;y
e,trapolating an.
seeing w!ere t!e
.isco*ery an.
close lines (eet
>umulati*e Defects u,mitted
0
B0000
100000
1B0000
200000
2B0000
E00000
1
0
9
1
4
9
2
0
0
A
1
0
9
2
1
9
2
0
0
A
1
1
9
1
1
9
2
0
0
A
1
1
9
2
B
9
2
0
0
A
1
2
9
9
9
2
0
0
A
1
2
9
2
E
9
2
0
0
A
1
9
A
9
2
0
0
F
1
9
2
0
9
2
0
0
F
2
9
E
9
2
0
0
F
2
9
1
F
9
2
0
0
F
E
9
E
9
2
0
0
F
E
9
1
F
9
2
0
0
F
E
9
E
1
9
2
0
0
F
4
9
1
4
9
2
0
0
F
4
9
2
1
9
2
0
0
F
B
9
1
2
9
2
0
0
F
B
9
2
A
9
2
0
0
F
A
9
9
9
2
0
0
F
A
9
2
E
9
2
0
0
F
F
9
F
9
2
0
0
F
F
9
2
1
9
2
0
0
F
1
9
4
9
2
0
0
F
2010 Holl
Consulting
021209.01 SSQ Presentation
+,trapolation
&
#!is (et!o. is
4uic6 an. in
so(e cases
surprisingly
goo.
&
Hut not in all
cases
2010 Holl
Consulting
021209.01 SSQ Presentation
Tt!er +,cel +,trapolations
&
A..ing a tren. line uses all t!e .ata
&
Zou (ay only want to use some of t!e
.ata
&
Create a parallel colu(n of t!e .ata you
want to e,trapolate an. e,trapolate only
t!at cur*e
2010 Holl
Consulting
021209.01 SSQ Presentation
+,a(ple
2010 Holl
Consulting
021209.01 SSQ Presentation
Si(ple 3inear +,trapolation
&
#o create a linear e,trapolation on t!e last
few .ata points, start ;y e,ten.ing t!e
.ate
colu(n8
2010 Holl
Consulting
021209.01 SSQ Presentation
Si(ple 3inear +,trapolation
&
Select t!e cells t!at
loo6 linear
&
Copy an. 'aste
Special P Oalues
2010 Holl
Consulting
021209.01 SSQ Presentation
Si(ple 3inear +,trapolation
&
#!en .rag t!e cells .own to t!e last
e,trapolate. .ate
&
+,cel will
.o a linear
e,trapolation
of t!e .ata
2010 Holl
Consulting
021209.01 SSQ Presentation
+,trapolation
&
"n or.er for e,trapolations to ;e relia;le,
t!e .isco*ery rate (ust !a*e pea6e.
$ee9ly Defects u,mitted
0
10
20
E0
40
B0
A0
1
9
1
9
2
0
0
1
1
9
1
B
9
2
0
0
1
1
9
2
9
9
2
0
0
1
2
9
1
2
9
2
0
0
1
2
9
2
A
9
2
0
0
1
E
9
1
1
9
2
0
0
1
E
9
2
B
9
2
0
0
1
4
9
1
9
2
0
0
1
4
9
2
2
9
2
0
0
1
B
9
A
9
2
0
0
1
B
9
2
0
9
2
0
0
1
A
9
E
9
2
0
0
1
A
9
1
F
9
2
0
0
1
F
9
1
9
2
0
0
1
F
9
1
B
9
2
0
0
1
F
9
2
9
9
2
0
0
1
1
9
1
2
9
2
0
0
1
1
9
2
A
9
2
0
0
1
9
9
9
9
2
0
0
1
9
9
2
E
9
2
0
0
1
1
0
9
F
9
2
0
0
1
2010 Holl
Consulting
021209.01 SSQ Presentation
-one%
&
!at .oes it (ean to ;e .one >fro( a
.efect perspecti*e?%
"+++
"H2
Hewlett 'ac6ar.
2010 Holl
Consulting
021209.01 SSQ Presentation
H' -efect Trigins, #ypes, an. 2o.es
2010 Holl
Consulting
021209.01 SSQ Presentation
-efect 3ea6age )easons
1. +n*iron(ental -epen.ency
2. #est Iot )un
E. #est Case +rror
4. -ata -epen.ency
B. "nconsistent Sy(pto(s
A. #est Case Success Criteria Vnclear
F. #est +,ecution +rror
1. #est Case )esults Iot Oerifie.
9. Co.e C!ange. After #est 'asse.
10. Io #est Case9Co*erage
11. Configuration 2anage(ent 'ro;le(
12. )e4uire(ents 2issing9C!ange.
2010 Holl
Consulting
021209.01 SSQ Presentation
Vsing 3ea6age -ata
&
:or eac! .efect foun. in pro.uction, log a lea6age
reason
&
Vse t!e fre4uency >*olu(e? to i(pro*e t!e relate.
process
&
)esist te(ptation to weig!t t!e fre4uency ;y
so(et!ing i(portant
2easures S Analysis9"nterpretation
3essons 3earne.
&
)ules of (etrics eti4uette8
r
o
n
g
*
a
r
i
a
;
l
e
u
s
e
.
T
t
!
e
r
C
a
s
e
s
t
a
t
e
(
e
n
t
#
y
p
o
S
p
e
c
i
f
i
c
a
t
i
o
n
2
i
s
s
i
n
g
$
a
r
;
a
g
e
c
o
l
l
e
c
t
i
o
n
+
,
c
e
p
t
i
o
n
!
a
n
.
l
i
n
g
'
a
r
a
(
e
t
e
r
(
i
s
(
a
t
c
!
)
e
4
u
i
r
e
(
e
n
t
s
r
o
n
g
V
n
i
n
i
t
i
a
l
i
L
e
.
*
a
r
i
a
;
l
e
H
a
.
*
a
l
i
.
a
t
i
o
n
c
!
e
c
6
2
i
s
s
i
n
g
e
n
.
s
t
a
t
e
(
e
n
t
+
n
*
n
o
t
(
a
t
c
!
t
e
s
t
S
p
e
c
i
f
i
c
a
t
i
o
n
P
r
e
4
u
i
r
e
(
e
n
t
(
i
s
(
a
t
c
!
C
o
.
i
n
g
s
t
a
n
.
a
r
.
n
o
t
f
o
l
l
o
w
e
.
S
p
e
c
i
f
i
c
a
t
i
o
n
A
(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