
Basics of Software Testing
3TART
%ND
WUXH
IDOVH
IDOVH
WUXH
IDOVH
WUXH
)LJ Flow graph representation of Program P1.2. A complete path is shown us-
ing bold edges and a subpath using a dashed line.
The next two paths of lengths 4 and 5 are incomplete. The first of
these two paths is shown by a dashed line in Figure 1.17.
Q
= (5, 7, 8, 9)
Q
= (6, 5, 7, 9, &OE)
The next two paths of lengths 11 and 8 are complete but
infeasible.
Q
= 4UBSU 1, 3, 4, 5, 6, 5, 7, 8, 9, &OE
Q
= 4UBSU 1, 2, 4, 5, 7, 9, &OE
Finally, the next two paths are invalid as they do not satisfy the
sequence condition stated earlier.
Q
= 4UBSU 1, 2, 4, 8, 9, &OE
Q
= 4UBSU 1,