Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below is a graph, which is defined by the sets of nodes. nitial nodes. final nodes. edges, and defs and uses. The graph also contains
Below is a graph, which is defined by the sets of nodes. nitial nodes. final nodes. edges, and defs and uses. The graph also contains a collection of test paths. Answer the following questions about the graph Graph II. N-1, 2, 3, 4, 5, 6] Nf 16) def(x)1,3) use(x- (3,6) II Assume the use of x in 3 precedes the def Test Paths 12= [1, 2, 3, 4, 5, 2, 3, 5, 2.6] 13= [1, 2, 3, 5, 2, 3, 4, 5, 2.6] 14 1, 2, 3. 5, 2, 6] a) Draw the graph b) List all of the du-paths with respect to x ote: Include all du-paths, even those that are subpaths of some other du-path) 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 sidetrips (Hint: A table is a convenient format for describing this relationship) c) 1st 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 al-uses coverage with respect to x (Direct tours only.) Use the given test paths ist a minimal test set that satisfies all-du-paths coverage with respect tox (Direct tours only.) Use the given test paths
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