SAP ABAP Class CL_COVERAGE_EVAL (Calculations for Coverage Analyzer)
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_EVAL | |
| Short Description | Calculations for Coverage Analyzer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCOV_MAIN_II | Main Package II |
| Created | 19990528 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_COVERAGE_EVAL has no interface implemented.
Friends
Class CL_COVERAGE_EVAL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | Intervals for valid traffic light settings | 20090119 | ||||
| 2 | Constant | Public | See coding | Traffic Light Settings | 20090116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Specify Processing Block Info for Selection | 19990528 | |
| 2 | Static method | Public | Method | Calculate percentage | 19990528 | |
| 3 | Static method | Public | Method | (Dummy) Create Upper Limit for Traffic Light Settings | 20090116 | |
| 4 | Static method | Public | Method | Export to Results Table | 19990528 | |
| 5 | Static method | Private | Method | Default Settings to Determine Whether PB Was Tested | 20080820 | |
| 6 | Static method | Public | Method | Import from Results Table | 19990528 | |
| 7 | Static method | Public | Method | Check Limits for Traffic Light Settings | 20091003 | |
| 8 | Static method | Public | Method | Set Status Icons | 20080818 |
Events
Class CL_COVERAGE_EVAL has no event.
Types
Class CL_COVERAGE_EVAL has no local type.
Method Signatures
Method BUILD_WUNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_CALLED | Call by reference | Type reference (TYPE) | CHAR1 | X: Mindestens ein Verarbeitungsblock wurde benutzt | 20000724 | |||
| 2 | CH_LOADSIZE | Call by reference | Type reference (TYPE) | CVA_LOADSI | Loadsize in Kbyte | 20000725 | |||
| 3 | EX_WUNIT | Call by reference | Type reference (TYPE) | CVT_WU | Watch Unit Tabelle | 19990528 | |||
| 4 | IM_PROGNAME | Call by reference | Type reference (TYPE) | PROGRAM | Programmname | 19990823 | |||
| 5 | IM_SELECT | Call by reference | Type reference (TYPE) | CVS_SELECT | Selekt Optionen | 19990604 | |||
| 6 | IM_SETTINGS | Call by reference | Type reference (TYPE) | CVS_INFSEL | Sammlung der Select Optionen für die verschiedenen Zähler | 20080820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abstrakte Oberklasse aller SCOV-Ausnahmen | 20090206 |
Method CALCULATE_PROZ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PRO | Call by reference | Type reference (TYPE) | CVS_INFPRO | Prozentuale Abdeckung | 19990528 | |||
| 2 | IM_ABS | Call by reference | Type reference (TYPE) | CVS_INFABS | Absolut | 19990528 | |||
| 3 | IM_RED_YEL | Call by reference | Type reference (TYPE) | CVA_PROZ | Grenze rot/gelb | 19990610 | |||
| 4 | IM_STATUS_ICON_FOR | Call by reference | Type reference (TYPE) | I | IF_COVERAGE_CONSTANTS=>COVERAGE_TYPE-PROCEDURE_COV | Abdeckungsart worauf die Status-Ikonen sich beziehen sollen | 20080813 | ||
| 5 | IM_TOTAL_PB | Call by reference | Type reference (TYPE) | CVA_TOTAL | Anzahl Verarbeitungsblöcke | 20090121 | |||
| 6 | IM_YEL_GRE | Call by reference | Type reference (TYPE) | CVA_PROZ | Grenze gelb/grün | 19990610 |
Method CALCULATE_PROZ on class CL_COVERAGE_EVAL has no exception.
Method CREATE_LIGHT_INTERVALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VAL_HIGH | Call by reference | Type reference (TYPE) | CVA_PROZ | Obergrenze für Gelb-Grün-Intervall | 20090116 | |||
| 2 | EX_VAL_LOW | Call by reference | Type reference (TYPE) | CVA_PROZ | Obergrenze für Rot-Gelb-Intervall | 20090116 | |||
| 3 | IM_LIGHT_STATUS | Call by reference | Type reference (TYPE) | CVA_LED | Ampelstatus: Hierfür werden Intervalle gebildet | 20090116 | |||
| 4 | IM_PERCENT_TESTED | Call by reference | Type reference (TYPE) | CVA_PROZ | Getestete Objekte in Prozent | 20090116 |
Method CREATE_LIGHT_INTERVALS on class CL_COVERAGE_EVAL has no exception.
Method EXPORT_COVRES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_KEY | Call by reference | Type reference (TYPE) | CVS_RESKEY | Key von COVRES | 19990714 | |||
| 2 | IM_PROG_HASH | Call by reference | Type reference (TYPE) | CVA_CRC32 | Hashwert des Programms | 20091003 | |||
| 3 | IM_VERSION | Call by reference | Type reference (TYPE) | CVA_VERS | Coverage Analyzer: Versionsnummer | 20060511 | |||
| 4 | IM_WURES | Call by reference | Type reference (TYPE) | CVT_WURES | Evaluation Workaerea | 19990714 |
Method EXPORT_COVRES on class CL_COVERAGE_EVAL has no exception.
Method GET_DFLT_SETTINGS_PB_TESTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_SETTINGS | Value transfer | Type reference (TYPE) | CVS_INFSEL | Sammlung der Select Optionen für die verschiedenen Zähler | 20080820 |
Method GET_DFLT_SETTINGS_PB_TESTED on class CL_COVERAGE_EVAL has no exception.
Method IMPORT_COVRES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Returncode | 19990528 | |||
| 2 | CH_VERSION | Call by reference | Type reference (TYPE) | CVA_VERS | Coverage Analyzer: Versionsnummer | 20060511 | |||
| 3 | CH_WURES | Call by reference | Type reference (TYPE) | CVT_WURES | Ergebnisse Watchunits | 19990714 | |||
| 4 | EX_PROG_HASH | Call by reference | Type reference (TYPE) | CVA_CRC32 | Hashwert des Programms | 20091003 | |||
| 5 | IM_RESKEY | Call by reference | Type reference (TYPE) | CVS_RESKEY | COVRES Key | 19990823 |
Method IMPORT_COVRES on class CL_COVERAGE_EVAL has no exception.
Method IS_LIGHT_INTERVAL_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_VAL_HIGH | Call by reference | Type reference (TYPE) | CVA_PROZ | Ober- (Gelb-Grün-) Grenze | 20091003 | |||
| 2 | IM_VAL_LOW | Call by reference | Type reference (TYPE) | CVA_PROZ | Unter- (Rot-Gelb-) Grenze | 20091003 | |||
| 3 | RE_RES | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE wenn gültig, ansonsten ABAP_FALSE | 20091003 |
Method IS_LIGHT_INTERVAL_VALID on class CL_COVERAGE_EVAL has no exception.
Method SET_STATUS_ICON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_PRO | Value transfer | Type reference (TYPE) | CVS_INFPRO | 20080818 | ||||
| 2 | IM_RED_YEL | Value transfer | Type reference (TYPE) | CVA_PROZ | 20080818 | ||||
| 3 | IM_STATUS_ICON_FOR | Value transfer | Type reference (TYPE) | I | 20080818 | ||||
| 4 | IM_YEL_GRE | Value transfer | Type reference (TYPE) | CVA_PROZ | 20080818 |
Method SET_STATUS_ICON on class CL_COVERAGE_EVAL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |