beckhoff TE1200 — 4.4.1.1 Code size [number of bytes]

Configuration | Metrics ◦If a value is outside the range defined by an upper and/or lower limit in the configuration, the table cell is shown in red. Static Analysis: ◦Enable rule 150 as error or warning in the Rules [ } 15] tab. ◦Run the Static Analysis (see: Command 'Run static analysis' [ } 110] ). ◦Violations of the upper and/or lower limits are reported in the Error list [ } 118] as errors or warnings. Overview and description of the metrics An overview of the metrics and a detailed description of the rules can be found in the next chapter.

4.4.1 Overview and description (metrics) | Overview and description (metrics) 4.4.1.1 Code size [number of bytes] | Code size [number of bytes] This metric can only be calculated using the Command 'View Standard Metrics' [ } 112] command; it cannot be calculated using the “Check all objects” option. TE1200 94 Version:

2.11.1 Title in the “Standard metrics” view Description Code size Code size [number of bytes] [} 94] Variables size Variables size [number of bytes] [} 95] Stack size Stack size [number of bytes] [} 95] Calls Number of calls [} 96] Tasks Called in tasks [} 96] Globals Number of global variables used [} 96] IOs Number of address accesses [} 97] Locals Number of local variables [} 97] Inputs Number of input variables [} 97] Outputs Number of output variables [} 98] NOS Number Of Statements (NOS) [} 98] Comments Percentage of comment [} 99] McCabe Complexity (McCabe) [} 99] Complexity Cognitive complexity [} 100] DIT Depth of Inheritance Tree (DIT) [} 102] NOC Number Of Children (NOC) [} 102] RFC Response For Class (RFC) [} 103] CBO Coupling between objects (CBO) [} 104] Elshof Complexity of reference (Elshof) [} 104] LCOM Lack of Cohesion Of Methods - LCOM [} 105] SFC branches Number of SFC branches [} 106] SFC steps Number of SFC steps [} 106]