The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is requir
Posted: Fri Jul 22, 2022 11:26 am
The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing.
The following test cases have been run:
Which of the following statements related to coverage is correct?
A. Statement coverage is 100%; decision coverage is 100%.
B. Statement coverage is less than 100%; decision coverage is 100%.
C. Statement coverage is 100%; decision coverage is less than 100%.
D. Statement coverage and decision coverage are both less than 100%.
The following test cases have been run:
Which of the following statements related to coverage is correct?
A. Statement coverage is 100%; decision coverage is 100%.
B. Statement coverage is less than 100%; decision coverage is 100%.
C. Statement coverage is 100%; decision coverage is less than 100%.
D. Statement coverage and decision coverage are both less than 100%.