This page provides the information on various metrics and their categories. It also provides the ID's of those metrics. All these metrics are part of the Assessment Model of CAST AIP.
It also provides the procedure that calculates the particular metric.
For more information, refer to:
- For 8.0: Official documentation (For Example - CAST AIP Official Documentation > End User Guides > CAST Assessment Model)
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 |
METRIC_ID | Metric name | Procedure | Table | Category | Type | Criterion | Exception |
---|---|---|---|---|---|---|---|
66067 | Avoid High Volume of Copy Pasted Code | APM_SCOPE_COPYVOLUME | DSSAPP_ARTIFACTS, |
|
|
|
|
65705 | Very High OO Complexity Class | APM_SCOPE_OO_CPLX_VHIGH | DSSAPP_CLASSES |
|
|
| APM Interfaces |
65704 | High OO Complexity Class | APM_SCOPE_OO_CPLX_HIGH | DSSAPP_CLASSES |
|
|
| APM Interfaces |
65703 | Moderate OO Complexity Class | APM_SCOPE_OO_CPLX_MOD | DSSAPP_CLASSES |
|
|
| APM Interfaces |
65702 | Low OO Complexity Class | APM_SCOPE_OO_CPLX_LOW | DSSAPP_CLASSES |
|
|
| APM Interfaces |
65701 | OO Complexity Distribution | APM_SCOPE_OO_CLASS |
|
|
|
|
|
65701 | OO Complexity Distribution | APM_SCOPE_OO_CLASS |
|
|
|
|
|
65605 | Very High 4GL Complexity Forms | APM_SCOPE_4GL_CPLX_VHIGH | DSSAPP_FORMS |
|
|
|
|
65604 | High 4GL Complexity Forms | APM_SCOPE_4GL_CPLX_HIGH | DSSAPP_FORMS |
|
|
|
|
65603 | Moderate 4GL Complexity Forms | APM_SCOPE_4GL_CPLX_MOD | DSSAPP_FORMS |
|
|
|
|
65602 | Low 4GL Complexity Forms | APM_SCOPE_4GL_CPLX_LOW | DSSAPP_FORMS |
|
|
|
|
65601 | 4GL Complexity Distribution | APM_SCOPE_4GL_FORMS | DSSAPP_FORMS |
|
|
|
|
62004 | SEI Maintainability Index 4 | APM_SCOPE_HALSTEAD_MI4 |
|
|
|
|
|
62003 | SEI Maintainability Index 3 | APM_SCOPE_HALSTEAD_MI3 |
|
|
|
|
|
19192 | Number of Transactions | APM_SCOPE_ABAP_TRANSACTIONS |
|
| 133041 |
|
|
19191 | Number of User-Exits | APM_SCOPE_ABAP_USEREXITS |
|
| 133035 ABAP User-Exit |
|
|
19190 | Number of Template Function Instances | APM_SCOPE_INST_TPL_FUNCTIONS |
| 1105 templateInstanceFunction |
|
|
|
19189 | Number of Template Functions | APM_SCOPE_TPL_FUNCTIONS |
| 1098, 10052 templateObject |
|
|
|
19188 | Number of Template Method Instances | APM_SCOPE_INST_TPL_METHODS |
| 1104 templateInstanceMethod |
|
|
|
19187 | Number of Template Methods | APM_SCOPE_TPL_METHODS |
| 1098,10028 templateObject |
|
|
|
19186 | Number of Template Interface Instances | APM_SCOPE_INST_TPL_INTERFACES |
| 1103 templateInstanceInterface |
|
|
|
19185 | Number of Template Interfaces | APM_SCOPE_TPL_INTERFACES | DSSAPP_CLASSES | 1098 |
| IS_INTERFACE = 1 |
|
19184 | Number of Template Class Instances | APM_SCOPE_INST_TPL_CLASSES |
| 1099 templateInstanceClass |
|
|
|
19183 | Number of Template Classes | APM_SCOPE_TPL_CLASSES | DSSAPP_CLASSES | 1098 templateObject |
| IS_INTERFACE = 0 |
|
19182 | Number of Processing Screens | APM_SCOPE_ABAP_PROSCREENS |
|
| 133012 |
|
|
19181 | Number of Function Pools | APM_SCOPE_ABAP_FUNCPOOLS |
|
| 133007 |
|
|
19180 | Number of Includes | APM_SCOPE_INCLUDES |
| 10063 |
|
|
|
19178 | Number of Units | APM_SCOPE_UNITS |
|
| 335 |
|
|
19177 | Number of Modules | APM_SCOPE_MODULES |
| 10057 |
|
|
|
19176 | Number of Namespaces | APM_SCOPE_NAMESPACES |
|
| 388 NameSpace |
|
|
19175 | Number of Functions and Procedures | APM_SCOPE_FUNC_AND_PROCS |
| 10056 |
|
|
|
19174 | Number of Datablocks | APM_SCOPE_DATABLOCKS |
|
| 108 |
|
|
19173 | Number of Copybooks | APM_SCOPE_COPYBOOKS |
|
| 544 |
|
|
19172 | Number of Paragraphs | APM_SCOPE_PARAGRAPHS |
|
| 606 |
|
|
19171 | Number of Sections | APM_SCOPE_SECTIONS |
|
| 548 |
|
|
19170 | Number of Userobjects | APM_SCOPE_USEROBJECTS |
|
| 37 |
|
|
19169 | Number of Datawindows | APM_SCOPE_DATAWINDOWS |
|
| 35 |
|
|
19168 | Number of Macros | APM_SCOPE_MACROS |
| 10055 |
|
|
|
10506 | Number of Decision Points | APM_SCOPE_COMPLEXITY | DSSAPP_ARTIFACTS |
|
| CYCLOMATIC |
|
10204 | Unadjusted Transactional Functions | APM_SCOPE_GET_TF_2 | DSSAPP_IFPUG_TF |
|
|
|
|
10203 | Unadjusted Data Functions | APM_SCOPE_GET_DET_2 | DSSAPP_IFPUG_DET |
|
|
|
|
10201 | Backfired IFPUG Function Points | APM_SCOPE_BFP_DET |
|
|
|
|
|
10167 | Number of Events | APM_SCOPE_EVENTS |
| 10054 |
|
|
|
10166 | Number of Packages | APM_SCOPE_PACKAGES |
| 10064 |
|
|
|
10165 | Number of Triggers | APM_SCOPE_TRIGGERS |
| 10053 |
|
|
|
10164 | Number of Views | APM_SCOPE_VIEWS |
| 6101 |
|
|
|
10163 | Number of Tables | APM_SCOPE_TABLES |
| 6100 |
|
|
|
10162 | Number of Functions | APM_SCOPE_FUNCTIONS |
| 10052 |
|
|
|
10161 | Number of Methods | APM_SCOPE_METHODS |
| 10051 |
|
|
|
10160 | Number of Interfaces | APM_SCOPE_INTERFACES | DSSAPP_CLASSES |
|
| IS_INTERFACE = 1 |
|
10159 | Number of WEB Pages | APM_SCOPE_WEB_PAGES |
|
| 274 | exists (select 1 from CTT_OBJECTS O where O.OBJECT_ID = C.OBJECT_ID and (O.OBJECT_NAME like '%.jsp' or O.OBJECT_NAME like '%.js' or O.OBJECT_NAME like '%.aspx' or O.OBJECT_NAME like '%.asmx' or O.OBJECT_NAME like '%.ascx' or O.OBJECT_NAME like '%.asax' or O.OBJECT_NAME like '%.asp' or O.OBJECT_NAME like '%.htc' or O.OBJECT_NAME like '%.htm' or O.OBJECT_NAME like '%.html' or O.OBJECT_NAME like '%.xhtml' ) ) |
|
10158 | Number of SQL Artifacts | APM_SCOPE_SQL_ARTIFACTS | DSSAPP_SQL_ARTIFACTS |
|
| IS_SQL_OBJECT |
|
10157 | Number of Forms | APM_SCOPE_FORMS | DSSAPP_FORMS | 10025 | 133009 | JSP/ASP case : |
|
10156 | Number of Programs | APM_SCOPE_PROGRAMS |
| 10059 |
|
|
|
10155 | Number of Classes | APM_SCOPE_CLASSES | DSSAPP_CLASSES |
|
| IS_INTERFACE = 0 |
|
10154 | Number of Files | APM_SCOPE_FILES |
| 10058 | 620, 274 jsp, js,aspx, asmx, ascx, asax, asp, htc, htm, html | k2.ObjTyp = 620 from CTT_OBJECTS O where O.OBJECT_ID = C.OBJECT_ID and (O.OBJECT_NAME like '%.jsp' or O.OBJECT_NAME like '%.js' or O.OBJECT_NAME like '%.aspx' or O.OBJECT_NAME like '%.asmx' or O.OBJECT_NAME like '%.ascx' or O.OBJECT_NAME like '%.asax' or O.OBJECT_NAME like '%.asp' or O.OBJECT_NAME like '%.htc' or O.OBJECT_NAME like '%.htm' or O.OBJECT_NAME like '%.html' or O.OBJECT_NAME like '%.xhtml' ) ) |
|
10152 | Number of Artifacts | APM_SCOPE_APP_OBJECTS | DSSAPP_ARTIFACTS |
|
|
|
|
10151 | Number of Code Lines | APM_SCOPE_NOCL_C | DSSAPP_SOURCES |
|
| CODE_LINES |
|
10109 | Number of Commented-out Code Lines | APM_SCOPE_NBCOMMENTEDLOC |
|
|
| ObjInf.InfTyp = 9 And ObjInf.InfSubTyp = 1509 |
|
10107 | Number of Comment Lines | APM_SCOPE_NOCCL | DSSAPP_SOURCES |
|
| COMMENT_LINES |
|