Explain statement coverage?

Showing Answers 1 - 6 of 6 Answers

sulbha

  • Aug 13th, 2006
 

In software testing, statement coverage is one of the way of measuring code coverage. It describes the degree to which the software code of a program has been tested.

All the statements in the code must be executed and tested.

sudhakar2068

  • Sep 23rd, 2006
 

1. Introduction

This document lists the requirements for a statement coverage tool for modules, describes some issues in design and implementation, and compares  with other statement coverage implementations.

2. Requirements

  1. You can run many tests and perform coverage analysis based on all the tests.

  2. You can get a summary report showing coverage for a set of modules and the total.

  3. You can annotate program source code to show which statements are covered.

  4. The coverage analysis deals correctly with all features.

  5. You can do coverage analysis while testing interactively.

  6. Recording of coverage information doesn't slow down a test case more than necessary.

sudhakar kolla.

My Email:kollasudhakar2005@yahoo.co.in.

My Number:09819859346.

  Was this answer useful?  Yes

s.lakshmipriya

  • Feb 19th, 2007
 

hai!

statement coverage is the one in which all statements executed atleast once.
statement coverage coming under white-box testing.
for example,
if, else are conditions
after if, we give some statements i.e codes that must be executed atleast once.

regards

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions