Friday, June 3, 2011

Code Coverage

==============================================
What is EMMA Code coverage.
What do you understand by code coverage report?
==============================================
                Code coverage is a measure used in software testing. It describes the degree to which the source code of a program has been tested. To measure how well the program is exercised by a test suite, one or more coverage criteria are used. There are following types of criteria in general.
 
1) Function coverage - Has each function (or subroutine) in the program been called?
2) Statement coverage - Has each node in the program been executed?
3) Decision coverage  - Has every IF and CASE statements been met as well as not met?
4) Condition coverage - Has each boolean sub-expression evaluated both to true and false?
         Attached is Emma-codeCoverage Text report snap shot.
 
 

No comments:

Post a Comment