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
396 Software Metrics
One testing strategy is to select test cases so that every program state-
ment is executed at least once. is approach is called statement coverage—
each statement is a test requirement. For deterministic soware, each test
case causes one test path through the program to execute. In terms of the
program owgraph, statement coverage is achieved by nding a set of test
cases that execute test paths such that every owgraph node lies on at least
one test path.
EXAMPLE 9.18
Figure 9.14 contains a program written to meet the specication S of Example
9.17. We can achieve 100% statement coverage for this program by choo
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