Command 'Show cognitive complexity for current editor'
Available from TwinCAT 3.1.4026.14 |
Symbol:
Function: The command starts the static code analysis and calculates an increment for the cognitive complexity of the code in the current editor. The dialog that opens visualizes the result and specifies the measured value sum in the title. The analyzed code is listed and displayed with the detected complexities.
Call: Build menu or context menu of the ST editor
Requirement: A programming object in the ST implementation language is open in the editor.
For more information, see also the documentation of the Cognitive Complexity metric.
Dialog: Cognitive complexity
Sample:
"Cognitive complexity of FB_Sample: 3"