Show TOC

Default Settings: Result Configurations and Object SelectionsLocate this document in the navigation structure

Use

The customizing objects of the Coverage API - object selections and result configurations - let you control how the Coverage API calculates code coverage results:

  • A selection object (an object of type IF_SCV_SELECTION) lets you specify the group of entities - application components, packages, and programs - for which results are calculated from the raw data. A selection object works with the method IF_SCV_MEASUREMENT->BUILD_SELECTION_RESULT.

You can set result configurations and object selections dynamically when you work with the IF_SCV_MEASUREMENT->BUILD...RESULT methods.

But result configurations and object selections are even more useful when you work with a measurement series. You can save the configuration and selection objects with the series as the default settings of the series. The series automatically provides the configuration and selection to IF_SCV_MEASUREMENT->BUILD_SELECTION_RESULT method calls that you make in the context of the series.

Here is more information: