The ABAP Coverage Analyzer is a tool for collecting and analyzing the code coverage of test suites. You can use it to improve the quality of ABAP Unit tests and integration tests and to help manage quality assurance testing.
The Coverage Analyzer tracks how much of your code is exercised in the course of testing or even in the course of normal production use. The Coverage Analyzer reports on code coverage at the procedure, branch, and statement levels. It also tracks the frequency with which code is executed and the occurrence of runtime errors.
Here are some typical tasks for which you can use the ABAP Coverage Analyzer:
You can determine how much of your code is exercised by your tests. You can efficiently find gaps in your testing that you can fill with new or modified tests. You can verify that your integration tests correspond in terms of code coverage to actual user scenarios.
You can see the code coverage your tests achieve in your development system with the coverage display in the ABAP Unit Browser or Detail Display.
You can see the code coverage data of the unit tests directly in the Unit Test Browser.
You don't need any additional authorization to start the Coverage Analyzer and use the Detail Display and the Global Display.
For all other functions, you need an authorization for authorization object S_COV_ADM. This authorization is included in the SAP developer role.