SAP ABAP Class CL_COVERAGE_ENVIRONMENT (Service class for SCOV environment)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-COV (Application Component) Coverage Analyzer
⤷
SCOV_MAIN_II (Package) Main Package II
⤷
⤷
Properties
| Class | CL_COVERAGE_ENVIRONMENT | |
| Short Description | Service class for SCOV environment | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCOV_MAIN_II | Main Package II |
| Created | 20081124 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_COVERAGE_ENVIRONMENT has no forward declaration.
Interfaces
Class CL_COVERAGE_ENVIRONMENT has no interface implemented.
Friends
Class CL_COVERAGE_ENVIRONMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | Function Code of the C-Calls COVINFO | 20081124 | ||||
| 2 | Constant | Public | See coding | Information Type of the C-Calls COVINFO | 20081124 | ||||
| 3 | Constant | Public | See coding | Return Codes of the C-Calls COVINFO | 20081124 | ||||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_COVERAGE_ENVIRONMENT | Only Instance of the Service Class (Singleton) | 20081124 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | I | Buffer size of the coverage data | 20081124 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | TY_S_COVINFO-PARTITIONS | Number of Partitions in COVRES0 | 20081124 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | TY_S_COVINFO-VERSION | Version of the Coverage Analyzer | 20081124 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20081124 | |
| 2 | Static method | Public | Method | Returns the only instance of the class | 20081124 | |
| 3 | Instance method | Public | Method | Buffer size of the coverage data in kilobytes | 20081124 | |
| 4 | Instance method | Public | Method | Number of Partitions in COVRES0 | 20081124 | |
| 5 | Instance method | Public | Method | Determine SCOV Version | 20081124 | |
| 6 | Instance method | Private | Method | Read Coverage Analyzer Admin Data | 20081124 |
Events
Class CL_COVERAGE_ENVIRONMENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_COVINFO | Public | See coding | Parameter Type of the C-Calls COV_INFO | 20081124 | BEGIN OF ty_s_covinfo,
fcode TYPE c LENGTH 1,
field TYPE c LENGTH 1,
rc TYPE i,
errtext TYPE c LENGTH 128,
version TYPE c LENGTH 3,
partitions TYPE i,
value TYPE c LENGTH 1,
value1 TYPE i,
value2 TYPE i,
testkey TYPE c LENGTH 4,
END OF ty_s_covinfo
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_COVERAGE_ENVIRONMENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_COVERAGE_ENVIRONMENT has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_ENV | Value transfer | Object reference (TYPE REF TO) | CL_COVERAGE_ENVIRONMENT | SCOV-Umgebung | 20081124 |
Method GET_INSTANCE on class CL_COVERAGE_ENVIRONMENT has no exception.
Method GET_SCOV_BUFFERSIZE_KB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_SIZE_KB | Value transfer | Type reference (TYPE) | I | Puffergröße in Kilobyte | 20081124 |
Method GET_SCOV_BUFFERSIZE_KB on class CL_COVERAGE_ENVIRONMENT has no exception.
Method GET_SCOV_NUM_PARTITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_NUM | Value transfer | Type reference (TYPE) | TY_S_COVINFO-PARTITIONS | Anzahl der Partitionen in COVRES0 | 20081124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim C-Call COV_INFO | 20081124 |
Method GET_SCOV_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_VERSION | Value transfer | Type reference (TYPE) | TY_S_COVINFO-VERSION | Version des Coverage Analyzers | 20081124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim C-Call COV_INFO | 20081124 |
Method _C_CALL_COV_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_VALUE | Call by reference | Type reference (TYPE) | TY_S_COVINFO-VALUE | Ein Status-Zustand, z.B. für "collect" Status, etc. | 20081124 | |||
| 2 | EX_ERRTEXT | Call by reference | Type reference (TYPE) | TY_S_COVINFO-ERRTEXT | Fehlertext | 20081124 | |||
| 3 | EX_PARTITIONS | Call by reference | Type reference (TYPE) | TY_S_COVINFO-PARTITIONS | Anzahl der Partitionen in COVRES0 | 20081124 | |||
| 4 | EX_RC | Call by reference | Type reference (TYPE) | TY_S_COVINFO-RC | Returncode | 20081124 | |||
| 5 | EX_TESTKEY | Call by reference | Type reference (TYPE) | TY_S_COVINFO-TESTKEY | Testschlüssel für ABAP Unit | 20081124 | |||
| 6 | EX_VALUE1 | Call by reference | Type reference (TYPE) | TY_S_COVINFO-VALUE1 | Eine Flush-Information, z.B. Anzahl SHM-Flushes | 20081124 | |||
| 7 | EX_VALUE2 | Call by reference | Type reference (TYPE) | TY_S_COVINFO-VALUE2 | Größe einer Tabelle im SHM, z.B. prog_table_size | 20081124 | |||
| 8 | EX_VERSION | Call by reference | Type reference (TYPE) | TY_S_COVINFO-VERSION | Version des Coverage Analyzers | 20081124 | |||
| 9 | IM_FCODE | Call by reference | Type reference (TYPE) | TY_S_COVINFO-FCODE | Funktionscode ('S' = "set" oder 'G' = "get") | 20081124 | |||
| 10 | IM_FIELD | Call by reference | Type reference (TYPE) | TY_S_COVINFO-FIELD | Informationsart | 20081124 |
Method _C_CALL_COV_INFO on class CL_COVERAGE_ENVIRONMENT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |