SAP ABAP Class CL_CI_TEST_METRIC_STRUCT (Code Inspector: Structural Metric Calculation)
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 | 20070305 |
Properties
Class | CL_CI_TEST_METRIC_STRUCT | |
Short Description | Code Inspector: Structural Metric Calculation | |
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 | 20070305 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CI_TEST_METRIC_STRUCT has no forward declaration.
Interfaces
Class CL_CI_TEST_METRIC_STRUCT has no interface implemented.
Friends
Class CL_CI_TEST_METRIC_STRUCT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_FANOUT' | 20070305 | ||
2 | ![]() |
Constant | Public | Type reference (TYPE) | SCI_ERRC | 'K_FANOUTSR' | 20070305 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | SCI_ERRC | 'KW_FANOUT' | Code Inspector: ID for Message Code | 20070321 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | SCI_ERRC | 'KW_FANOUTS' | Code Inspector: ID for Message Code | 20070321 | |
5 | ![]() |
Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_CI_TEST_METRIC_STRUCT' | 20070305 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TY_GS_INCL_SUBROUTINE_MAPPING | 20070305 | |||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SKZN_S_ABS_PATH_PART | 20070305 | |||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TY_GS_SUBROUTINE_RANGE | 20070305 | |||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TY_GTS_INCLUDES | 20070305 | |||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SKZN_T_ABS_PATH | 20070305 | |||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20070305 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20070305 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | C | 20070305 | |||
14 | ![]() |
Instance attribute | Private | Type reference (TYPE) | C | 20070305 | |||
15 | ![]() |
Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20070321 | ||
16 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 20070305 | |||
17 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20070321 | |||
18 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20070321 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Calculate FANOUT on subroutine level | 20070305 |
2 | ![]() |
Instance method | Private | Method | calculates the FANOUT on top-level | 20070305 |
3 | ![]() |
Instance method | Private | Method | close current subroutine range | 20070305 |
4 | ![]() |
Instance method | Public | Constructor | 20070305 | |
5 | ![]() |
Instance method | Private | Method | Do the real FANOUT calculation on subroutine level | 20070305 |
6 | ![]() |
Instance method | Private | Method | Get references to other objects | 20070305 |
7 | ![]() |
Instance method | Private | Method | Returns a table with ranges of subroutines (include range) | 20070305 |
8 | ![]() |
Instance method | Private | Method | Process a new block of code for the creation of subroutines | 20070305 |
9 | ![]() |
Instance method | Private | Method | Set start of subroutine range | 20070305 |
Events
Class CL_CI_TEST_METRIC_STRUCT has no event.
Types
Class CL_CI_TEST_METRIC_STRUCT has no local type.
Method Signatures
Method CALCULATE_FANOUT_ON_SR_LEVEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_COMPILER | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_COMPILER | 20070305 | |||
2 | ![]() |
ITS_REFS | Call by reference | Type reference (TYPE) | SCR_GLREFS | 20070305 |
Method CALCULATE_FANOUT_ON_SR_LEVEL on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method CALCULATE_FANOUT_ON_TOP_LEVEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ITS_REFS | Call by reference | Type reference (TYPE) | SCR_GLREFS | 20070305 |
Method CALCULATE_FANOUT_ON_TOP_LEVEL on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method CLOSE_SUBROUTINE_RANGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_RANGE_WA | Call by reference | Type reference (TYPE) | TY_GS_SUBROUTINE_RANGE | 20070305 | |||
2 | ![]() |
CTS_RANGES_IT | Call by reference | Type reference (TYPE) | TY_GTS_SUBROUTINE_RANGES | 20070305 |
Method CLOSE_SUBROUTINE_RANGE on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CI_TEST_METRIC_STRUCT has no parameter.
Method CONSTRUCTOR on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method GET_FANOUT_FROM_REFERENCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_SR_RANGES_IT | Call by reference | Type reference (TYPE) | TY_GTS_INCLUDES | 20070305 | |||
2 | ![]() |
IO_COMPILER | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_COMPILER | 20070305 | |||
3 | ![]() |
ITS_REFERENCES_IT | Call by reference | Type reference (TYPE) | SCR_GLREFS | 20070305 |
Method GET_FANOUT_FROM_REFERENCES on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method GET_REFERENCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_REFERENCES | Call by reference | Type reference (TYPE) | SCR_GLREFS | 20070305 | |||
2 | ![]() |
IO_COMPILER | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_COMPILER | 20070305 |
Method GET_REFERENCES on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method GET_SUBROUTINE_RANGES Signature
Method GET_SUBROUTINE_RANGES on class CL_CI_TEST_METRIC_STRUCT has no parameter.
Method GET_SUBROUTINE_RANGES on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method PROCESS_BLOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DELETE_INDEX | Call by reference | Type reference (TYPE) | I | 20070305 | |||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20070305 | |||
3 | ![]() |
IV_TYPE | Call by reference | Type reference (TYPE) | STRING | 20070305 |
Method PROCESS_BLOCK on class CL_CI_TEST_METRIC_STRUCT has no exception.
Method SET_SR_RANGE_START Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_SR_RANGE_WA | Call by reference | Type reference (TYPE) | TY_GS_SUBROUTINE_RANGE | 20070305 |
Method SET_SR_RANGE_START on class CL_CI_TEST_METRIC_STRUCT has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 710 |