Question
a) Draw the graph. b) List all of the du-paths with respect to x. (Note: Include all du-paths, even those that are sub-paths of some
a) Draw the graph.
b) List all of the du-paths with respect to x. (Note: Include all du-paths, even those that are sub-paths of some other du-path).
c)For each test path, determine which du-paths that test path tours. For this part of the exercise, you should consider both direct touring and side trips. Hint: A table is a convenient format for describing this relationship.
d)List a minimal test set that satisfies all-defs coverage with respect to x. (Direct tours only.) Use the given test paths.
e) List a minimal test set that satisfies all-uses coverage with respect to x.
Graph IV. N={1, 2, 3, 4, 5, 6} No = {1} E=162). (2,3), (2,6), (3,4), (3,5), (4,5). def(x)= {1, 5} use(x) = {5, 6)// Assume the use of x in 5 pre- cedes the def Test Paths: 11 = [1, 2, 61 12 = [1, 2, 3, 4, 5, 2, 3, 5, 2, 6] 13 = [1, 2, 3, 5, 2, 3, 4, 5, 2.6]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started