SAP ABAP Class CL_CI_TEST_METRIC_LANGU_COMM (Code Inspector: Determine Language of Comments)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_KAIZEN (Package) ABAP Metrics
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CI_TEST_SCAN | Code Inspector: Test Based on SCAN | 20070502 |
Properties
| Class | CL_CI_TEST_METRIC_LANGU_COMM | |
| Short Description | Code Inspector: Determine Language of Comments | |
| Super Class | CL_CI_TEST_SCAN | Code Inspector: Test Based on SCAN |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_KAIZEN | ABAP Metrics |
| Created | 20070502 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CI_TEST_METRIC_LANGU_COMM has no interface implemented.
Friends
Class CL_CI_TEST_METRIC_LANGU_COMM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_COMMENT_HEURISTICS | 20070502 | ||||
| 2 | Constant | Public | Type reference (TYPE) | I | 1 | 20070502 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 2 | 20070502 | |||
| 4 | Constant | Public | Type reference (TYPE) | I | 3 | 20070502 | |||
| 5 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMAB' | 20070502 | |||
| 6 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMDE' | 20070502 | |||
| 7 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMEN' | 20070502 | |||
| 8 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMX' | 20070502 | |||
| 9 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_MPCOM' | Code Inspector: ID for Message Code | 20070502 | ||
| 10 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'METRIC' | Code Inspector: ID for Message Code | 20070502 | ||
| 11 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_W_ABAP' | 20070502 | |||
| 12 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_W_DE' | 20070502 | |||
| 13 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_CI_TEST_METRIC_LANGU_COMM' | 20070502 | |||
| 14 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_N_PCOM' | Code Inspector: ID for Message Code | 20070502 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 4 | 20070502 | |||
| 16 | Constant | Public | Type reference (TYPE) | I | 5 | 20070502 | |||
| 17 | Constant | Public | Type reference (TYPE) | I | 0 | 20070502 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20070502 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 23 | Instance attribute | Private | Type reference (TYPE) | I | 20070502 | ||||
| 24 | Instance attribute | Private | Type reference (TYPE) | SKZNRT_PCOM | Pseudo comment range table | 20070502 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | General Flag | 20070502 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 27 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | ||||
| 28 | Instance attribute | Protected | Type reference (TYPE) | I | 20070502 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20070502 | ||
| 2 | Instance method | Private | Method | get text from token index | 20070502 | |
| 3 | Instance method | Private | Method | issue SCI warning | 20070502 | |
| 4 | Instance method | Private | Method | 20070502 | ||
| 5 | Instance method | Private | Method | 20070502 |
Events
Class CL_CI_TEST_METRIC_LANGU_COMM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_LIST | Public | See coding | 20070502 | T_LIST type standard table of T_LIST_STRUCT
|
||
| 2 | T_LIST_STRUCT | Public | See coding | 20070502 | begin of T_LIST_STRUCT,
DEVC type DEVCLASS,
TYPE type SKZN_TYPE,
NAME type SKZN_NAME,
* PROC type SKZN_PROC,
COMX type SKZN_COMX,
COMAB type SKZN_COMAB,
COMDE type SKZN_COMDE,
COMEN type SKZN_COMEN,
COMPC type SKZN_COMPC,
INCLUDE type SKZN_INCLUDE,
LINE type SKZN_LINE,
end of T_LIST_STRUCT
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CI_TEST_METRIC_LANGU_COMM has no parameter.
Method CONSTRUCTOR on class CL_CI_TEST_METRIC_LANGU_COMM has no exception.
Method GET_TOKEN_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Value transfer | Type reference (TYPE) | STRING | 20070502 | ||||
| 2 | TOKEN_INDEX | Call by reference | Type reference (TYPE) | I | 20070502 |
Method GET_TOKEN_TEXT on class CL_CI_TEST_METRIC_LANGU_COMM has no exception.
Method ISSUE_WARNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMMENT_INFO | Call by reference | Type reference (TYPE) | CL_ABAP_COMMENT_HEURISTICS=>COMMENT_INFO_T | 20070502 | ||||
| 2 | ERROR_CODE | Call by reference | Type reference (TYPE) | SCI_ERRC | Code Inspector: Kennung für Meldungscode | 20070502 | |||
| 3 | ERROR_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20070502 | ||||
| 4 | MESSAGE_KIND | Call by reference | Type reference (TYPE) | SYCHAR01 | CHAR01-Datenelement fuer SYST | 20070502 |
Method ISSUE_WARNING on class CL_CI_TEST_METRIC_LANGU_COMM has no exception.
Method PACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_LIST | Call by reference | Type reference (TYPE) | T_LIST | 20070502 | ||||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | STRING | 20070502 |
Method PACK on class CL_CI_TEST_METRIC_LANGU_COMM has no exception.
Method REPORT_LANGUAGE_TOTALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ABAP_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | ||||
| 2 | IV_DE_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | ||||
| 3 | IV_EN_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | ||||
| 4 | IV_PCOM_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | ||||
| 5 | IV_UNKNOWN_CNT | Call by reference | Type reference (TYPE) | I | 20070502 |
Method REPORT_LANGUAGE_TOTALS on class CL_CI_TEST_METRIC_LANGU_COMM has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |