medium
Single Answer
0Sakis is designing a testing process for software developed by his team. He is designing a test that verifies that every line of code was executed during the test. What type of analysis is Sakis performing?
Answer Options
A
Branch coverage
B
Condition coverage
C
Function coverage
D
Statement coverage
Correct Answer: D
Explanation
Statement coverage tests verify that every line of code was executed during the test. Branch coverage verifies that every if statement was executed under all if and else conditions. Condition coverage verifies that every logical test in the code was executed under all sets of inputs. Function coverage verifies that every function in the code was called and returns results.