top button

what are the main advantages of statement coverage metric of software testing?

+2 votes
posted Dec 20, 2018 by Sheetal Gawade

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

2 Answers

0 votes

its so good!!!

answer Dec 20, 2018 by Joseph Williams
0 votes

The statement coverage is also known as line coverage or segment coverage. The statement coverage covers only the true conditions.

Advantage of statement coverage:

1) It verifies what the written code is expected to do and not to do
2) It measures the quality of code written
3) It checks the flow of different paths in the program and it also ensure that whether those path are tested or not.

answer Jan 3 by Bhumika Prajapati