adplus-dvertising
frame-decoration

Question

What is the difference between All-DU-Paths coverage and All-Uses coverage in dataflow analysis?

a.

All-DU-Paths coverage requires definition-clear paths to be cycle-free or a simple cycle, while All-Uses coverage does not

b.

All-Uses coverage requires definition-clear paths to be cycle-free or a simple cycle, while All-DU-Paths coverage does not

c.

All-Uses coverage requires each use of a definition to be tested, while All-DU-Paths coverage requires each definition-clear path to be exercised

d.

All-DU-Paths coverage requires each use of a definition to be tested, while All-Uses coverage requires each definition-clear path to be exercised

Answer: (a).All-DU-Paths coverage requires definition-clear paths to be cycle-free or a simple cycle, while All-Uses coverage does not Explanation:A possible test strategy is to construct tests which traverse a definition-clear path between each definition of a variable to each (P- or C-) use of that definition and each successor of that use. This strategy is known as All-Uses coverage. A slightly stronger criterion requires that each definition-clear path is either cycle-free or a simple cycle. This is known as All-DU-Paths coverage. This means that All-Uses coverage requires each definition of a variable to be tested, while All-DU-Paths coverage requires each definition-clear path to be either cycle-free or a simple cycle.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the difference between All-DU-Paths coverage and All-Uses coverage in dataflow analysis?

Similar Questions

Discover Related MCQs

Q. What is All-C-uses/Some-P-uses coverage in dataflow analysis?

Q. What is the main goal of coverage-based testing of requirements specifications?

Q. What is the result of transforming requirements specifications into a graph model?

Q. What is the format used in rewording a use case in requirements specifications?

Q. What is the weak point in the procedure of determining a set of test cases using control-flow coverage criteria?

Q. What is the main idea behind fault-based test techniques?

Q. What is the error seeding technique in fault-based testing strategies?

Q. What is the main goal of fault-based testing techniques?

Q. What is the main advantage of error seeding?

Q. What is the purpose of marking the pikes in the example of error seeding in Lake Soft and Lake Seed?

Q. What is the limitation of constructing faults by hand in error seeding?

Q. What is error seeding?

Q. What is the assumption underlying the error seeding technique?

Q. What is a not very satisfactory technique for determining which faults to seed in the program?

Q. What is a useful rule of thumb for the technique of having the program independently tested by two groups?

Q. What is the relationship between the number of defects discovered during early phases of development and the number of defects discovered later?

Q. What is the purpose of mutation testing?

Q. How are mutants generated in mutation testing?

Q. What does a low quality test set indicate in mutation testing?

Q. What are the two major variants of mutation testing?