SAP ABAP Class CL_ABAP_COMMENT_HEURISTICS (Comment Analysis for KAIZEN)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_KAIZEN (Package) ABAP Metrics

⤷

⤷

Properties
Class | CL_ABAP_COMMENT_HEURISTICS | |
Short Description | Comment Analysis for KAIZEN | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_KAIZEN | ABAP Metrics |
Created | 20070329 | SAP |
Last change | 20110908 | 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) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ABAP_COMMENT_HEURISTICS has no interface implemented.
Friends
Class CL_ABAP_COMMENT_HEURISTICS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | LCL_ABAP | 20070412 | |||
2 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | LCL_LANGUAGE | 20070412 | |||
3 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | LCL_PSEUDO | 20070412 | |||
4 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_COMMENT_HEURISTICS | Comment Analysis for KAIZEN | 20070329 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Constructor | Constructor | 20070329 |
2 | ![]() |
Static method | Public | Method | Singleton Factory | 20070329 |
3 | ![]() |
Instance method | Public | Method | 20070420 | |
4 | ![]() |
Instance method | Public | Method | 20070329 |
Events
Class CL_ABAP_COMMENT_HEURISTICS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | COMMENT_INFO_T | Public | See coding | 20070329 | BEGIN OF comment_info_t,
line_count TYPE i,
first_token TYPE i,
END OF comment_info_t
|
||
2 | COMMENT_STATISTICS_T | Public | See coding | 20070329 | BEGIN OF comment_statistics_t,
stmt_index TYPE i,
lines_total TYPE i,
abap TYPE comment_info_t,
pseudo TYPE comment_info_t,
english TYPE comment_info_t,
german TYPE comment_info_t,
unknown TYPE comment_info_t,
END OF comment_statistics_t
|
||
3 | COMMENT_STATISTICS_TABLE_T | Public | See coding | 20070412 | comment_statistics_table_t TYPE STANDARD TABLE OF comment_statistics_t WITH DEFAULT KEY
|
||
4 | TEXT_ANGLE_T | Public | See coding | 20070619 | begin of text_angle_t,
langu type lang,
length type i,
angle type f,
end of text_angle_t
|
||
5 | TEXT_ANGLE_TABLE_T | Public | See coding | 20070619 | text_angle_table_t type standard table of text_angle_t with DEFAULT KEY
|
||
6 | WORD_COUNT_INFO_T | Public | See coding | 20070424 | BEGIN OF word_count_info_t,
word_count_table TYPE word_count_table_t,
text_angle_table type text_angle_table_t,
mean_size TYPE f,
num_words TYPE i,
num_samples TYPE i,
END OF word_count_info_t
|
||
7 | WORD_COUNT_T | Public | See coding | 20070420 | BEGIN OF word_count_t,
word TYPE SKZN_WORD,
langu TYPE lang,
count TYPE SKZN_FREQ,
END OF word_count_t
|
||
8 | WORD_COUNT_TABLE_T | Public | See coding | 20070420 | word_count_table_t TYPE SORTED TABLE OF word_count_t WITH UNIQUE KEY word langu
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ABAP_COMMENT_HEURISTICS has no parameter.
Method CONSTRUCTOR on class CL_ABAP_COMMENT_HEURISTICS has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OREF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_COMMENT_HEURISTICS | Kommentar-Analyse für KAIZEN | 20070329 |
Method GET_INSTANCE on class CL_ABAP_COMMENT_HEURISTICS has no exception.
Method GET_WC_BY_CISCAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CI_SCAN | Call by reference | Object reference (TYPE REF TO) | CL_CI_SCAN | Code Inspector: Quelltext für SCAN erzeugen | 20070420 | ||
2 | ![]() |
STMT_INDEX | Call by reference | Type reference (TYPE) | I | Index in STATEMENT Tabelle | 20070420 | ||
3 | ![]() |
STORE_ANGLES | Call by reference | Type reference (TYPE) | ABAP_BOOL | Winkel speichern | 20070619 | ||
4 | ![]() |
WORD_COUNT | Call by reference | Type reference (TYPE) | WORD_COUNT_INFO_T | Ergebnis | 20070420 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme zur Kommentar-Heuristik | 20070420 |
Method IDENTIFY_BY_CISCAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CI_SCAN | Value transfer | Object reference (TYPE REF TO) | CL_CI_SCAN | Code Inspector: Quelltext für SCAN erzeugen | 20070329 | ||
2 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | COMMENT_STATISTICS_TABLE_T | rgebnis | 20070329 | ||
3 | ![]() |
STMT_INDEX | Value transfer | Type reference (TYPE) | I | Index in STATEMENT Tabelle | 20070329 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme zur Kommentar-Heuristik | 20070411 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |