asked 157k views
0 votes
How is statement coverage determined?

A. Number of test decision points divided by the number of test cases
B. Number of decision outcomes tested divided by the total number of executable statements
C. Number of possible test case outcomes divided by the total number of function points
D. Number of executable statements tested divided by the total number of executable statements

asked
User Bradia
by
8.3k points

1 Answer

3 votes

Final answer:

Statement coverage is determined by calculating the number of executable statements tested divided by the total number of executable statements.

Step-by-step explanation:

Statement coverage is determined by calculating the number of executable statements tested divided by the total number of executable statements.



For example, if there are 100 executable statements in a program and 75 of them are tested, then the statement coverage would be 75/100, or 75%.

answered
User ElenaHristova
by
8.4k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.