medium
Single Answer
0What four types of coverage criteria are commonly used when validating the work of a code testing suite?
Answer Options
A
Input, statement, branch, and condition coverage
B
Function, statement, branch, and condition coverage
C
API, branch, bounds, and condition coverage
D
Bounds, branch, loop, and condition coverage
Correct Answer: B
Explanation
Code coverage testing most frequently requires that every function has been called (function coverage), that each statement has been executed (statement coverage), that all branches of decision points have been explored (branch coverage), and that each Boolean condition has been evaluated for all possible outcomes (condition coverage).