211k views
0 votes
Which of the following descriptions of decision coverage is CORRECT?

A. Decision coverage is a measure of the percentage of possible paths through the source code exercised by tests
B. Decision coverage is a measure of the percentage of business flows through the component exercised by tests
C. Decision coverage is a measure of the 'if' statements in the code that are exercised with both the true and false outcomes
D. Decision coverage is a measure of the proportion of decision outcomes in the source code exercised by tests

User Sevce
by
7.7k points

1 Answer

1 vote

Final answer:

Decision coverage is a measure of the 'if' statements in the code that are exercised with both the true and false outcomes.

Step-by-step explanation:

The correct description of decision coverage is (C) Decision coverage is a measure of the 'if' statements in the code that are exercised with both the true and false outcomes. It refers to the percentage of conditional statements in the source code that have been executed with both true and false inputs during testing.

User Newtron Labs
by
7.2k points