| code coverage (BC-ABA) |
Code coverage is a measure used in testing of software for quality assurance. Code coverage measures the extent to which a program or module is exercised by a unit test, test suite, or production use of the software. A high degree of code coverage is an indication that the software under test has been adequately tested; most of the code under test has been executed.
In the ABAP Web AS, code coverage can be measured with the Coverage Analyzer (transaction SCOV).
Depending upon the release, the Coverage Analyzer provides up to three different measures of code coverage. These are as follows:
There is a considerable literature as to the significance and use of code coverage in effective testing of software. Branch coverage is considered to be the most significant measure of code coverage, since a high degree of branch coverage indicates that most paths through a program or module have been executed.