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
⤷ 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 | CL_ABAP_COMMENT_HEURISTICS | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | SCAN | 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 | COMMENT_HEURISTICS_REF | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_COMMENT_HEURISTICS | 20070502 | |||
2 | GC_ABAP_CODE_I | Constant | Public | Type reference (TYPE) | I | 1 | 20070502 | ||
3 | GC_ENGLISH_I | Constant | Public | Type reference (TYPE) | I | 2 | 20070502 | ||
4 | GC_GERMAN_I | Constant | Public | Type reference (TYPE) | I | 3 | 20070502 | ||
5 | GC_METRIC_COMAB | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMAB' | 20070502 | ||
6 | GC_METRIC_COMDE | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMDE' | 20070502 | ||
7 | GC_METRIC_COMEN | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMEN' | 20070502 | ||
8 | GC_METRIC_COMX | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_COMX' | 20070502 | ||
9 | GC_METRIC_PCOM | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_MPCOM' | Code Inspector: ID for Message Code | 20070502 | |
10 | GC_METRIC_SUMMARY | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'METRIC' | Code Inspector: ID for Message Code | 20070502 | |
11 | GC_METRIC_WARNING_ABAP | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_W_ABAP' | 20070502 | ||
12 | GC_METRIC_WARNING_DE | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_W_DE' | 20070502 | ||
13 | GC_MY_NAME | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_CI_TEST_METRIC_LANGU_COMM' | 20070502 | ||
14 | GC_PCOM_INFO | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_N_PCOM' | Code Inspector: ID for Message Code | 20070502 | |
15 | GC_PSEUDO_AUNIT | Constant | Public | Type reference (TYPE) | I | 4 | 20070502 | ||
16 | GC_PSEUDO_SLIN | Constant | Public | Type reference (TYPE) | I | 5 | 20070502 | ||
17 | GC_UNKNOWN_I | Constant | Public | Type reference (TYPE) | I | 0 | 20070502 | ||
18 | MV_PA_CALC_N_ABAP_METRIC | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
19 | MV_PA_CALC_N_ENGL_METRIC | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
20 | MV_PA_CALC_N_GERM_METRIC | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
21 | MV_PA_CALC_N_PCOM_METRIC | Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20070502 | ||
22 | MV_PA_CALC_N_UNKNOWN_METRIC | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
23 | MV_PA_MIN_ROWS_ABAP_COMMENTS | Instance attribute | Private | Type reference (TYPE) | I | 20070502 | |||
24 | MV_PA_PCOM_RANGE | Instance attribute | Private | Type reference (TYPE) | SKZNRT_PCOM | Pseudo comment range table | 20070502 | ||
25 | MV_PA_SEARCH_PSEUDOCOMMENTS | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | General Flag | 20070502 | ||
26 | MV_PA_WARN_ON_ABAP | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
27 | MV_PA_WARN_ON_GERMAN | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | 20070502 | |||
28 | MV_STATEMENT_INDEX | Instance attribute | Protected | Type reference (TYPE) | I | 20070502 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | 20070502 | |
2 | GET_TOKEN_TEXT | Instance method | Private | Method | get text from token index | 20070502 |
3 | ISSUE_WARNING | Instance method | Private | Method | issue SCI warning | 20070502 |
4 | PACK | Instance method | Private | Method | 20070502 | |
5 | REPORT_LANGUAGE_TOTALS | 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 | Returning | TEXT | Value transfer | Type reference (TYPE) | STRING | 20070502 | |||
2 | Importing | 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 | Importing | COMMENT_INFO | Call by reference | Type reference (TYPE) | CL_ABAP_COMMENT_HEURISTICS=>COMMENT_INFO_T | 20070502 | |||
2 | Importing | ERROR_CODE | Call by reference | Type reference (TYPE) | SCI_ERRC | Code Inspector: Kennung für Meldungscode | 20070502 | ||
3 | Importing | ERROR_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20070502 | |||
4 | Importing | 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 | Importing | P_LIST | Call by reference | Type reference (TYPE) | T_LIST | 20070502 | |||
2 | Returning | 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 | Importing | IV_ABAP_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | |||
2 | Importing | IV_DE_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | |||
3 | Importing | IV_EN_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | |||
4 | Importing | IV_PCOM_CNT | Call by reference | Type reference (TYPE) | I | 20070502 | |||
5 | Importing | 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 |