0 votes
in Testing by

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
asked May 26, 2019 in Testing by rajeshsharma
0 votes
asked May 26, 2019 in Testing by rajeshsharma
...