May 26, 2019 in Testing
Q:

Explain Statement coverage.

Statement Coverage is a metric used in White Box Testing. Statement coverage is used to ensure that all the statement in the program code is executed at least once. The advantages of Statement Coverage are:

- Verifies that written code is correct.
- Measures the quality of code written.
- Determine the control flow of the program.
- To Calculate Statement Coverage:
- Statement Coverage = Statements Tested / Total No. of Statements.

Related questions

0 votes
May 26, 2019 in Testing
...