SAP ABAP Interface IF_SCV_MD_REPOSITORY (Persistency Layer of Coverage Metadata of Programs)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-COV (Application Component) Coverage Analyzer
     SCOV_API_CALC (Package) Calculations
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_SCV_MD_REPOSITORY Persistency Logic for Coverage Metadata 20100118
2 Interface implementation (CLASS c. INTERFACES i_ref)  TD_SCV_MD_REPOSITORY Simulates database for coverage metadata 20100201
Properties
Interface IF_SCV_MD_REPOSITORY  
Short Description Persistency Layer of Coverage Metadata of Programs    
General Data
Package SCOV_API_CALC   Calculations 
Created 20100118   SAP 
Last changed 20110908   SAP 
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_SCV_SOURCE_REPOSITORY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Interface IF_SCV_MD_REPOSITORY has no interface.
Friends
Interface IF_SCV_MD_REPOSITORY has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COVREF_RELID Constant Public Type reference (TYPE) INDX_RELID 'AT' Region in IMPORT/EXPORT Data Table 20100812
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_COVREF Instance method Public Method Delete COVREF Entry 20100811
2 DELETE_METADATA Instance method Public Method Deletes associated metadata 20100126
3 READ_ALL Instance method Public Method Gets all metadata 20100126
4 READ_COVREF Instance method Public Method Get COVREF Entry 20100805
5 READ_COV_GENDATA Instance method Public Method Get COV_GENDATA Entry 20100809
6 READ_HEADER_COMPLETE Instance method Public Method Gets complete metadata header 20100126
7 READ_METADATA Instance method Public Method Gets associated metadata without header 20100126
8 UPDATE_COVREF_COND Instance method Public Method Updates Unicode flag and reset counter for test group COND 20100803
9 WRITE_COVREF Instance method Public Method Insert/Update COVREF Entry 20100805
10 WRITE_COV_GENDATA Instance method Public Method Insert/Update COV_GENDATA Entry 20100809
11 WRITE_HEADER_RESTRICTED Instance method Public Method Gets restricted metadata header 20100126
12 WRITE_METADATA Instance method Public Method Writes associated metadata without header 20100126
Events
Interface IF_SCV_MD_REPOSITORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_COVREF Public See coding COVREF Entry 20100805 BEGIN OF ty_covref, progname TYPE program, obj_name TYPE sobj_name, object TYPE trobjtype, init TYPE cva_init, covreset1 TYPE cva_reset, covreset2 TYPE cva_reset, covr1_cond TYPE cva_reset, up_sdate TYPE cva_upsdat, up_stime TYPE cva_upstim, unicode TYPE cva_status, unico_cond TYPE cva_status, hastadir TYPE cva_hastad, version TYPE cva_vers, END OF ty_covref
2 TY_HEADER_COMPLETE Public See coding Complete Metadata Header 20100201 BEGIN OF ty_header_complete, obj_name TYPE covref-obj_name, object TYPE covref-object, covreset1 TYPE covref-covreset1, unicode TYPE covref-unicode, up_sdate TYPE covref-up_sdate, up_stime TYPE covref-up_stime. INCLUDE TYPE ty_header_restricted. TYPES: END OF ty_header_complete
3 TY_HEADER_RESTRICTED Public See coding Restricted Metadata Header 20100201 BEGIN OF ty_header_restricted, prog_hash_gen TYPE cov_gendata-prog_hash_gen, offset_hash_gen TYPE cov_gendata-offset_hash_gen, END OF ty_header_restricted
4 TY_MD_ALL Public See coding All Metadata 20100201 BEGIN OF ty_md_all. INCLUDE TYPE ty_header_complete. INCLUDE TYPE ty_metadata. TYPES END OF ty_md_all
5 TY_METADATA Public See coding Metadata Without Header 20100201 BEGIN OF ty_metadata, scov_version TYPE cov_metadata-scov_version, prog_hash_md TYPE cov_metadata-prog_hash_md, offset_hash_md TYPE cov_metadata-offset_hash_md. INCLUDE TYPE scv_md_program AS data. TYPES: END OF ty_metadata
6 TY_METADATA_GEN Public See coding SCOV metadata created at generation time 20100809 BEGIN OF ty_metadata_gen, progname TYPE program, prog_hash_gen TYPE cva_crc32, offset_hash_gen TYPE cva_crc32, metadata TYPE ty_tab_metadata_pblocks_gen, END OF ty_metadata_gen
7 TY_METADATA_PBLOCK_GEN Public See coding Processing block metadata for generation 20100809 BEGIN OF ty_metadata_pblock_gen, identifier TYPE cvs_wukey, pblock_hash TYPE cva_crc32, num_source_changes TYPE cva_reset, source_date TYPE cva_upsdat, source_time TYPE cva_upstim, END OF ty_metadata_pblock_gen
8 TY_TAB_METADATA_PBLOCKS_GEN Public See coding Set of processing block metadata for generation 20100809 ty_tab_metadata_pblocks_gen TYPE SORTED TABLE OF ty_metadata_pblock_gen WITH UNIQUE KEY identifier
Method Signatures

Method DELETE_COVREF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROG_NAME Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20100811

Method DELETE_COVREF on Interface IF_SCV_MD_REPOSITORY has no exception.

Method DELETE_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126

Method DELETE_METADATA on Interface IF_SCV_MD_REPOSITORY has no exception.

Method READ_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126
2 Returning R_ALL Value transfer Type reference (TYPE) TY_MD_ALL Sämtliche Metadaten des Programms 20100126

Method READ_ALL on Interface IF_SCV_MD_REPOSITORY has no exception.

Method READ_COVREF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROG_NAME Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20100805
2 Returning R_ENTRY Value transfer Type reference (TYPE) TY_COVREF COVREF-Eintrag 20100805

Method READ_COVREF on Interface IF_SCV_MD_REPOSITORY has no exception.

Method READ_COV_GENDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROG_NAME Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20100809
2 Returning R_ENTRY Value transfer Type reference (TYPE) TY_METADATA_GEN SCOV-Metadaten, die zum Generierungszeitpunkt erzeugt werden 20100809

Method READ_COV_GENDATA on Interface IF_SCV_MD_REPOSITORY has no exception.

Method READ_HEADER_COMPLETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126
2 Returning R_HEADER_COMPLETE Value transfer Type reference (TYPE) TY_HEADER_COMPLETE Kompletter Metadatenkopf des Programms 20100128

Method READ_HEADER_COMPLETE on Interface IF_SCV_MD_REPOSITORY has no exception.

Method READ_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126
2 Returning R_METADATA Value transfer Type reference (TYPE) TY_METADATA Zugehörige Abdeckungsmetadaten 20100126

Method READ_METADATA on Interface IF_SCV_MD_REPOSITORY has no exception.

Method UPDATE_COVREF_COND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROG Call by reference Type reference (TYPE) PROGRAM 20100803
2 Importing I_RESET1 Call by reference Type reference (TYPE) CVA_RESET 20100803
3 Importing I_UNICODE_CNT Call by reference Type reference (TYPE) I 20100803

Method UPDATE_COVREF_COND on Interface IF_SCV_MD_REPOSITORY has no exception.

Method WRITE_COVREF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ENTRY Call by reference Type reference (TYPE) TY_COVREF COVREF-Eintrag 20100805

Method WRITE_COVREF on Interface IF_SCV_MD_REPOSITORY has no exception.

Method WRITE_COV_GENDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ENTRY Call by reference Type reference (TYPE) TY_METADATA_GEN SCOV-Metadaten, die zum Generierungszeitpunkt erzeugt werden 20100809

Method WRITE_COV_GENDATA on Interface IF_SCV_MD_REPOSITORY has no exception.

Method WRITE_HEADER_RESTRICTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_RESTRICTED Call by reference Type reference (TYPE) TY_HEADER_RESTRICTED Zu schreibender eingeschränkter Metadatenkopf 20100128
2 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126

Method WRITE_HEADER_RESTRICTED on Interface IF_SCV_MD_REPOSITORY has no exception.

Method WRITE_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METADATA Call by reference Type reference (TYPE) TY_METADATA Zu schreibende Abdeckungsmetadaten 20100126
2 Importing I_PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20100126

Method WRITE_METADATA on Interface IF_SCV_MD_REPOSITORY has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 800