Skip to Main Content
Software Metrics, 3rd Edition
book

Software Metrics, 3rd Edition

by Norman Fenton, James Bieman
October 2014
Intermediate to advanced content levelIntermediate to advanced
617 pages
19h 10m
English
CRC Press
Content preview from Software Metrics, 3rd Edition
Measuring Internal Product Attributes 401
EXAMPLE 9.21
For the owgraph in Figure 9.16, we compute the minimum number of test
cases m for statement coverage using the tables in Appendix A.2:
m(F) = m(D
1
(D
0
;P
1
;D
2
),(m(D
0
(D
3
))
= m(D
0
;P
1
;D
2
) + m(D
0
(D
3
))
= max(m(D
0
),m(P
1
),m(D
2
)) + m(D
3
)
= max(1,1,1) + 1 = 2
EXAMPLE 9.22
Bertolino and Marre noted several problems with using some of the strate-
gies and their lower bound to drive test case selection (Bertolino and Marre
1995). For example, if a complex program is enclosed in a loop, then theo-
retically it is possible to satisfy branch coverage with a single path. In this
case, the lower bound of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Metrics and Models in Software Quality Engineering, Second Edition

Metrics and Models in Software Quality Engineering, Second Edition

Stephen H. Kan
Software Quality Assurance

Software Quality Assurance

Claude Y. Laporte, Alain April
Software Quality Assurance

Software Quality Assurance

Ivan Mistrik, Richard M Soley, Nour Ali, John Grundy, Bedir Tekinerdogan
Software Quality

Software Quality

Daniel Galin

Publisher Resources

ISBN: 9781439838228