SAP ABAP Class CL_CI_TEST_ABAP_COMPLEXITY (Code Inspector: Determine Complexity Measurements)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ATF (Application Component) ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)
⤷
S_CODE_INSPECTOR (Package) ABAP Source Code Analysis
⤷
⤷
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 | 20050520 |
Properties
| Class | CL_CI_TEST_ABAP_COMPLEXITY | |
| Short Description | Code Inspector: Determine Complexity Measurements | |
| 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_CODE_INSPECTOR | ABAP Source Code Analysis |
| Created | 20050520 | SAP |
| Last change | 20131127 | 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_CI_TEST_ABAP_COMPLEXITY has no interface implemented.
Friends
Class CL_CI_TEST_ABAP_COMPLEXITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'COMPLEX' | Code Inspector: ID for Message Code | 20051209 | ||
| 2 | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'NESTED' | Code Inspector: ID for Message Code | 20051209 | ||
| 3 | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'OPSTMNTS' | Code Inspector: ID for Message Code | 20070915 | ||
| 4 | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'STMNTS' | Code Inspector: ID for Message Code | 20051209 | ||
| 5 | Constant | Public | Type reference (TYPE) | SCI_ERRC | 'STAT' | Code Inspector: ID for Message Code | 20051209 | ||
| 6 | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'VERSIONS' | Code Inspector: ID for Message Code | 20051209 | ||
| 7 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_CI_TEST_ABAP_COMPLEXITY' | Object Type Name | 20050520 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | T_LEVELS | 20050707 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | Limit: Complexity | 20051209 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SYDATUM | 20130205 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | SYDATUM | 20130205 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | I | Limit: Nesting Depth | 20051209 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | I | Limit: Number of Statements | 20070915 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | Limit: Number of Statements | 20051209 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | CHAR01 Data Element for SYST | 20051209 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | I | 20051209 | ||||
| 17 | Instance attribute | Private | Type reference (TYPE) | SYCHAR01 | Natural Number | 20050706 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | T_PROC_VERSIONS | 20050707 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | PROGRAM | 20050707 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | T_STATEMENTS | 20050707 | ||||
| 21 | Instance attribute | Protected | Type reference (TYPE) | I | 20050520 | ||||
| 22 | Instance attribute | Private | Type reference (TYPE) | T_TOKENS | 20050707 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20050707 | ||
| 2 | Instance method | Private | Method | 20050707 | ||
| 3 | Instance method | Protected | Method | Check for FORM | 20050520 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20050520 | |
| 5 | Instance method | Private | Method | 20050707 | ||
| 6 | Instance method | Private | Method | 20050707 | ||
| 7 | Instance method | Private | Method | 20050707 | ||
| 8 | Instance method | Private | Method | 20050707 | ||
| 9 | Instance method | Private | Method | 20050708 | ||
| 10 | Instance method | Private | Method | 20070915 | ||
| 11 | Instance method | Private | Method | 20050707 | ||
| 12 | Instance method | Private | Method | 20050707 | ||
| 13 | Instance method | Private | Method | 20050705 | ||
| 14 | Instance method | Private | Method | 20050707 |
Events
Class CL_CI_TEST_ABAP_COMPLEXITY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_INCLUDES | Private | See coding | 20050707 | T_INCLUDES type standard table of PROGRAM
|
||
| 2 | T_INCLUDE_SOURCE | Private | See coding | 20050707 | T_INCLUDE_SOURCE type standard table of SYCHAR255
|
||
| 3 | T_LEVELS | Private | See coding | 20050707 | T_LEVELS type standard table of SLEVEL
|
||
| 4 | T_LIST | Public | See coding | 20050705 | T_LIST type standard table of T_LIST_STRUCT
|
||
| 5 | T_LIST_STRUCT | Public | See coding | 20050705 | begin of T_LIST_STRUCT,
PROC_TYPE type SCI_PROC_TYPE,
PROC_NAME type SCI_PROC_NAME,
VAL1 type SCI_PROC_STMTS,
VAL2 type SCI_PROC_OPSTMTS,
VAL3 type SCI_PROC_CYC,
VAL4 type SCI_PROC_NESTED,
VAL5 type SCI_PROC_VERSIONS,
INCLUDE type SCI_PROC_INCLUDE,
LINE type SCI_PROC_LINE,
end of T_LIST_STRUCT
|
||
| 6 | T_PROC_VERSION | Private | See coding | 20050707 | begin of T_PROC_VERSION,
PROC_TYPE type SYCHAR04,
PROC_NAME type STRING,
CRC type SCI_CRC64,
end of T_PROC_VERSION
|
||
| 7 | T_PROC_VERSIONS | Private | See coding | 20050707 | T_PROC_VERSIONS type sorted table of T_PROC_VERSION with unique key PROC_TYPE PROC_NAME CRC
|
||
| 8 | T_STATEMENTS | Private | See coding | 20050707 | T_STATEMENTS type standard table of SSTMNT
|
||
| 9 | T_TOKENS | Private | See coding | 20050707 | T_TOKENS type standard table of STOKESX
|
||
| 10 | T_VERSION | Private | Type reference (TYPE) | VRSN | 20050707 | |
|
| 11 | T_VERSIONS | Private | See coding | 20050707 | T_VERSIONS type standard table of T_VERSION
|
Method Signatures
Method ANALYZE_INCLUDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | 20050707 |
Method ANALYZE_INCLUDE on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method ANALYZE_PROC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PROC_NAME | Call by reference | Type reference (TYPE) | STRING | 20050707 | ||||
| 2 | P_PROC_TYPE | Call by reference | Type reference (TYPE) | SYCHAR04 | 20050707 |
Method ANALYZE_PROC on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PROC_NAME | Call by reference | Type reference (TYPE) | STRING | 20050705 | ||||
| 2 | P_PROC_TYPE | Call by reference | Type reference (TYPE) | SYCHAR04 | CHAR04-Datenelement fuer SYST | 20050705 |
Method CHECK on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CI_TEST_ABAP_COMPLEXITY has no parameter.
Method CONSTRUCTOR on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method GET_INCLUDES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDES | Call by reference | Type reference (TYPE) | T_INCLUDES | 20050707 |
Method GET_INCLUDES on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method GET_INCLUDE_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | 20050707 | ||||
| 2 | P_INCLUDE_SOURCE | Call by reference | Type reference (TYPE) | T_INCLUDE_SOURCE | 20050707 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | T_VERSION | 20050707 |
Method GET_INCLUDE_SOURCE on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method GET_INCLUDE_VERSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATE_FROM | Call by reference | Type reference (TYPE) | SYDATUM | 20130205 | ||||
| 2 | P_DATE_TO | Call by reference | Type reference (TYPE) | SYDATUM | 20130205 | ||||
| 3 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | 20050707 | ||||
| 4 | P_VERSIONS | Call by reference | Type reference (TYPE) | T_VERSIONS | 20050707 |
Method GET_INCLUDE_VERSIONS on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method GET_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | 20050707 | ||||
| 2 | P_OBJ_NAME | Call by reference | Type reference (TYPE) | C | 20050707 | ||||
| 3 | P_OBJ_TYPE | Call by reference | Type reference (TYPE) | SYCHAR04 | 20050707 |
Method GET_OBJECT on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method GET_PROC_VERSIONS Signature
Method GET_PROC_VERSIONS on class CL_CI_TEST_ABAP_COMPLEXITY has no parameter.
Method GET_PROC_VERSIONS on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method IS_DECLARATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEYWORD | Call by reference | Type reference (TYPE) | STRING | 20070915 | ||||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | SYCHAR01 | 20070915 |
Method IS_DECLARATION on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method MY_GET_TOKEN_REL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_N | Call by reference | Type reference (TYPE) | I | 20050707 | ||||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | STRING | 20050707 |
Method MY_GET_TOKEN_REL on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method MY_KEYWORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RESULT | Value transfer | Type reference (TYPE) | STRING | 20050707 |
Method MY_KEYWORD on class CL_CI_TEST_ABAP_COMPLEXITY 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 | 20050705 | ||||
| 2 | P_RESULT | Value transfer | Type reference (TYPE) | STRING | 20050705 |
Method PACK on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
Method SCAN_INCLUDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | 20050707 | ||||
| 2 | P_INCLUDE_SOURCE | Call by reference | Type reference (TYPE) | T_INCLUDE_SOURCE | 20050707 |
Method SCAN_INCLUDE on class CL_CI_TEST_ABAP_COMPLEXITY has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 710 |