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 C_COVINFO_FCODE Constant Public See coding Function Code of the C-Calls COVINFO 20081124
2 C_COVINFO_FIELD Constant Public See coding Information Type of the C-Calls COVINFO 20081124
3 C_COVINFO_RC Constant Public See coding Return Codes of the C-Calls COVINFO 20081124
4 GO_ENV Static Attribute Private Object reference (TYPE REF TO) CL_COVERAGE_ENVIRONMENT Only Instance of the Service Class (Singleton) 20081124
5 MV_SCOV_BUFFERSIZE_KB Instance attribute Protected Type reference (TYPE) I Buffer size of the coverage data 20081124
6 MV_SCOV_NUM_PARTITIONS Instance attribute Protected Type reference (TYPE) TY_S_COVINFO-PARTITIONS Number of Partitions in COVRES0 20081124
7 MV_SCOV_VERSION 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 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20081124
2 GET_INSTANCE Static method Public Method Returns the only instance of the class 20081124
3 GET_SCOV_BUFFERSIZE_KB Instance method Public Method Buffer size of the coverage data in kilobytes 20081124
4 GET_SCOV_NUM_PARTITIONS Instance method Public Method Number of Partitions in COVRES0 20081124
5 GET_SCOV_VERSION Instance method Public Method Determine SCOV Version 20081124
6 _C_CALL_COV_INFO 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 Returning 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 Returning 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 Returning RE_NUM Value transfer Type reference (TYPE) TY_S_COVINFO-PARTITIONS Anzahl der Partitionen in COVRES0 20081124
# Exception Resumable Description Created on
1 CX_COVERAGE_COVINFO 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 Returning RE_VERSION Value transfer Type reference (TYPE) TY_S_COVINFO-VERSION Version des Coverage Analyzers 20081124
# Exception Resumable Description Created on
1 CX_COVERAGE_COVINFO 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 Changing CH_VALUE Call by reference Type reference (TYPE) TY_S_COVINFO-VALUE Ein Status-Zustand, z.B. für "collect" Status, etc. 20081124
2 Exporting EX_ERRTEXT Call by reference Type reference (TYPE) TY_S_COVINFO-ERRTEXT Fehlertext 20081124
3 Exporting EX_PARTITIONS Call by reference Type reference (TYPE) TY_S_COVINFO-PARTITIONS Anzahl der Partitionen in COVRES0 20081124
4 Exporting EX_RC Call by reference Type reference (TYPE) TY_S_COVINFO-RC Returncode 20081124
5 Exporting EX_TESTKEY Call by reference Type reference (TYPE) TY_S_COVINFO-TESTKEY Testschlüssel für ABAP Unit 20081124
6 Exporting EX_VALUE1 Call by reference Type reference (TYPE) TY_S_COVINFO-VALUE1 Eine Flush-Information, z.B. Anzahl SHM-Flushes 20081124
7 Exporting 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 Exporting EX_VERSION Call by reference Type reference (TYPE) TY_S_COVINFO-VERSION Version des Coverage Analyzers 20081124
9 Importing IM_FCODE Call by reference Type reference (TYPE) TY_S_COVINFO-FCODE Funktionscode ('S' = "set" oder 'G' = "get") 20081124
10 Importing 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