


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This lecture is part of lecture series for Software Quality course. It was delivered by Umar Faiz at Pakistan Institute of Engineering and Applied Sciences, Islamabad (PIEAS). It includes: Defect, Removal, Effectiveness History, Activity Model, Significance, Early, Metrics, General Equation
Typology: Slides
1 / 34
This page cannot be seen from the preview
Don't miss anything!



























Software Quality
was^ test
and^ inspections^ emerged Productivity and^ quality^ improved
Defect^ Removal^ Effectiveness,
and^ Defect Removal Metrics appear in literatureRemoval^ Metrics,^
appear^ in^ literature
Number oferrorsintroduced Number ofdefects
Number ofdefects foundand removed
Number ofdefectsupon exit +^ in thisactivity defectsupon enteringan activity
and removedin this activity
upon exitan activity Defect Removal Activity
^ e.g.^ less^ defects
are^ left^ in^ the^ shipped
release
defects^ are^ found^
early^ and^ less^ time
is^ spent^ fixing k^ f^ l^
h mistakes^ found^ late
in^ the^ process
scheduling^ does^ not
fall^ behind then^ costs^ go^ down.
Found By Stage Defect Removal Effectiveness =
Defects Present At Stage
x 100%
At^ Stage’^ are^ defects
at^ entry^ to^ stage^ p
lus g^
y^ g^ p defects^ injected^ during
stage,^ and^ counted
as:
-^ Defects^ Found^ +^ Defects
Not^ Found ^ ‘Defects not found’ is determined at later stages^ Defects^ not^ found
is^ determined^ at^
later^ stages ^ Must^ account^ for
where^ defects^ should
have^ been^ caught
(I.e.
defect^ must^ have^
existed^ in^ that^ stage
to^ be^ counted^ against effectiveness^ of^ stage)
defects^ could^ be^ removed
during^ the f^ f^ d^ ll l^
ld b^ d requirements^ stage
or^ if^ not^ found^ till
later^ could^ be^ removed during^ design,^ implementation,
testing,^ etc
^ Development^ phases
in^ which^ the^ defects
are^ found^ (and p^ p^
removed) Development^ phases
in^ which^ the^ defects
are^ injected.^ http://www.pieas.edu.pk/umarfaiz/cis
^ High‐level^ design
inspection^ effectiveness ^ Code^ inspection
effectiveness ^ Unit^ test^ effectiveness ^ etc
at^ l0^ =^730 Defects existing on step entry (escapes from requirements phase)Defects existing on^ step^ entry^ (escapes
from^ requirements
phase)
=^122 Defects^ injected^ in
current^ phase^ =^859 IE(I1)^ [730/(122 859]
x100%^ =^ 74%
at^ l1^ =^729 Defects existing on^ step^ entry^ (escapes
from^ requirements
phase
and^ I0)^ =^122 +^859
D f^ i j^ d i^
h^939 Defects^ injected^ in
current^ phase^ =^939 IE(I1)^ =^ [729/(251+939]
x100%^ =^ 61%
at^ l1^ =^1095 Defects existing on step entry (escapes from requirements phaseDefects existing on^ step^ entry^ (escapes
from^ requirements
phase,
I0^ and^ I1)^ =^122 +^ 859+
Defects^ injected^ in
current^ phase^ =^1537 IE(I1)^ [1095/(461 1537]
+1537]^ x100%^ =^ 55%
the^ defect^ injection
(bad^ fixes)^ is^ usually
a
small^ number.^ In^ such
cases,^ effectiveness
can^ be^ calculated
by^ an
alternative method (Dunn's formula or Jones's second formula)alternative^ method
(Dunn's^ formula^ or
Jones's^ second^ formula) TE^ (UT)^ =^ 332/[332^ +^387
+^111 +^ 81]^ x^ 100%^ =^ 36% TE^ (CT)^ =^ 387/[387^ +^111
+81]^ x^ 100%^ =^ 67% TE (ST) = 111/[111 + 81] x 100% = 58%TE^ (ST)^ =^ 111/[111^ +^ 81]
x^ 100%^ =^ 58%
+111/[332^ +^387 +^111
+^ 81]^ x^ 100%^ =^ 91% f^ l^ ffDefect^ Removal^ EffectivenessDRE^ =^ [1‐81/3465]^
=^ 97.7%