Classic Jhumka Earrings Silver INR 113.00 Free Shipping Buy Now
Black Jhumka Earrings & Studs INR 94.00 Free Shipping Buy Now
Classic Jhumka Earrings Silver INR 207.00 Free Shipping Buy Now
Beautiful stud earing INR 93.00 Free Shipping Buy Now
Different Size Hoop and Stud Earrings Set INR 243.00 Free Shipping Buy Now
Golden Hoop Earing INR 70.00 Free Shipping Buy Now
Home Questions & Answers Technology Manual Testing Question Answers Explain Statement coverage/Code coverage/Line Coverage?

    Explain Statement coverage/Code coverage/Line Coverage?

  • Statement Coverage or Code Coverage or Line Coverage is a metric used in White Box Testing where we can identify the statements executed and where the code is not executed cause of blockage. In this process each and every line of the code needs to be checked and executed.

    Some advantages of Statement Coverage / Code Coverage / Line Coverage are

    • It verifies what the written code is expected to do and not to do.
    • It measures the quality of code written.
    • It checks the flow of different paths in the program also ensure whether those paths are tested or not.

    To Calculate Statement Coverage,

    Statement Coverage = Statements Tested / Total No. of Statements.