Home »
MCQs »
Software Testing MCQs
What formula do you use to find the percentage of decision coverage of the code?
26. What formula do you use to find the percentage of decision coverage of the code?
- Decision coverage=Number of decision outcomes/total number of outcomes *100
- Decision coverage=Number of all the loops outcomes/total number of outcomes *100
- Decision coverage=Number of nodes and edges/total number of outcome*100
Answer: A) Decision coverage=Number of decision outcomes/total number of outcomes *100
Explanation:
Decision coverage=Number of decision outcomes/total number of outcomes *100.