Skip to Main Content
Foundations of Software Testing: Fundamental Algorithms and Techniques
book

Foundations of Software Testing: Fundamental Algorithms and Techniques

by Aditya P. Mathur
March 2007
Intermediate to advanced content levelIntermediate to advanced
709 pages
20h 23m
English
Pearson India
Content preview from Foundations of Software Testing: Fundamental Algorithms and Techniques
Test-Adequacy Assessment Using Control Flow
loop. The remaining subscripted nodes indicate edges along which
the values of y are propagated. An explanation follows.
Variable y is defined at node 6 when subpath < 1, 2, 3, 6
1
> is
traversed. This value of y is used in the decision at node 3 when <
6
1
, 2, 3
1
, 4
1
> is traversed. Note that edge (3, 4) is now covered as
there is a def–clear path < 2, 3 > from node 6 to edge (3, 4).
Next, path < 6
2
, 2, 3
2
, 6
2
, 7 > is traversed where y is defined once
again at node 6. This definition of y propagates to edge (3,6) via the
def–clear path < 2, 3
2
, 6
2
>. The control now moves to node 7 and
the program execution terminates ...
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

Foundations of Software Testing (Fundamental Algorithms and Techniques) by Pearson

Foundations of Software Testing (Fundamental Algorithms and Techniques) by Pearson

Aditya P. Mathur
Fundamentals of Computer Programming and IT by Pearson

Fundamentals of Computer Programming and IT by Pearson

Ashok Namdev Kamthane, Rohit Khurana

Publisher Resources

ISBN: 9788131707951