SAP ABAP Class CL_SCV_COVERAGE (Coverage Values (Total, Executed, Percentage))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-COV (Application Component) Coverage Analyzer
⤷
SCOV_API_ALL (Package) Coverage API for All Purposes
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SCV_COVERAGE | Coverage Values (Total, Executed, Percentage) | 20090815 |
Properties
| Class | CL_SCV_COVERAGE | |
| Short Description | Coverage Values (Total, Executed, Percentage) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCOV_API_ALL | Coverage API for All Purposes |
| Created | 20090815 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SCV_COVERAGE | Coverage Values (Total, Executed, Percentage) | 20090815 |
Friends
Class CL_SCV_COVERAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | CVA_COVERAGE_EXECUTED | Number Executed | 20090815 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | CVA_COVERAGE_TOTAL | Total number | 20090815 | |||
| 3 | Instance attribute | Private | Attribute reference (LIKE) | 20100323 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Accumulate Coverage Values | 20090815 | |
| 2 | Static method | Public | Method | Creates an instance of coverage values | 20090815 | |
| 3 | Static method | Public | Method | Copies an instance of coverage values | 20090815 | |
| 4 | Instance method | Private | Method | 20100323 | ||
| 5 | Instance method | Private | Method | 20100323 | ||
| 6 | Instance method | Private | Method | 20100323 | ||
| 7 | Instance method | Private | Method | 20100323 | ||
| 8 | Instance method | Private | Method | 20100323 | ||
| 9 | Instance method | Private | Method | Initialize Coverage Value | 20090815 | |
| 10 | Instance method | Public | Method | 20100325 | ||
| 11 | Instance method | Public | Method | 20100325 |
Events
Class CL_SCV_COVERAGE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TAB | Private | Attribute reference (LIKE) | 20100323 | |
Method Signatures
Method ADD_COVERAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COVERAGE | Call by reference | Object reference (TYPE REF TO) | IF_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20090815 |
Method ADD_COVERAGE on class CL_SCV_COVERAGE has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXECUTED | Call by reference | Type reference (TYPE) | NUMERIC | 0 | Anzahl der ausgeführten Einheiten (Anweisunge, Zweige, ...) | 20090815 | ||
| 2 | I_TOTAL | Call by reference | Type reference (TYPE) | NUMERIC | 0 | Gesamtanzahl der Einheiten (Anweisungen, Zweige, ...) | 20090815 | ||
| 3 | I_TYPE | Call by reference | Object reference (TYPE REF TO) | CE_SCV_COVERAGE_TYPE | Abdeckungsart (Anweisung, Zweig, ...) | 20090815 | |||
| 4 | R_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20090815 |
Method CREATE on class CL_SCV_COVERAGE has no exception.
Method CREATE_AS_COPY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COVERAGE | Call by reference | Object reference (TYPE REF TO) | IF_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20090815 | |||
| 2 | R_COVERAGE | Value transfer | Object reference (TYPE REF TO) | CL_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20090815 |
Method CREATE_AS_COPY on class CL_SCV_COVERAGE has no exception.
Method EQUALS Signature
Method EQUALS on class CL_SCV_COVERAGE has no parameter.
Method EQUALS on class CL_SCV_COVERAGE has no exception.
Method GET_EXECUTED Signature
Method GET_EXECUTED on class CL_SCV_COVERAGE has no parameter.
Method GET_EXECUTED on class CL_SCV_COVERAGE has no exception.
Method GET_NOT_EXECUTED Signature
Method GET_NOT_EXECUTED on class CL_SCV_COVERAGE has no parameter.
Method GET_NOT_EXECUTED on class CL_SCV_COVERAGE has no exception.
Method GET_PERCENTAGE Signature
Method GET_PERCENTAGE on class CL_SCV_COVERAGE has no parameter.
Method GET_PERCENTAGE on class CL_SCV_COVERAGE has no exception.
Method GET_TOTAL Signature
Method GET_TOTAL on class CL_SCV_COVERAGE has no parameter.
Method GET_TOTAL on class CL_SCV_COVERAGE has no exception.
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXECUTED | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl der ausgeführten Einheiten (Anweisunge, Zweige, ...) | 20090815 | |||
| 2 | I_TOTAL | Call by reference | Type reference (TYPE) | NUMERIC | Gesamtanzahl der Einheiten (Anweisungen, Zweige, ...) | 20090815 | |||
| 3 | I_TYPE | Call by reference | Object reference (TYPE REF TO) | CE_SCV_COVERAGE_TYPE | Abdeckungsart (Anweisung, Zweig, ...) | 20090815 |
Method INIT on class CL_SCV_COVERAGE has no exception.
Method SET_EXECUTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXECUTED | Call by reference | Type reference (TYPE) | I | 20100325 |
Method SET_EXECUTED on class CL_SCV_COVERAGE has no exception.
Method SET_TOTAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TOTAL | Call by reference | Type reference (TYPE) | I | 20100325 |
Method SET_TOTAL on class CL_SCV_COVERAGE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 800 |