Function: In the dialog, you select the metrics to be displayed for each POU in the “Standard Metrics” view by means of the “Build Static Analysis View Standard Metrics” command.
Call:
-
“Open configuration dialog” button in the menu “Project Project Settings”, “Static Analysis” category
-
Menu bar: “Build Static analysis Settings”
Requirement:
-
The CODESYS Static Analysis package is installed.
-
A project is open.
The “Code size”, “Variable size”, “Stack size”, and “Calls” metrics are reported only for POUs from libraries which are integrated in the project.
Violations of the upper and lower limits of the activated metrics can be reported
as build errors by means of static analysis rule SA0150
.
“Metrics” |
All selectable metrics are displayed in the column. |
“Active” |
|
“ Lower limit” |
Lower value from which the “Metric” is displayed |
“Upper Limit” |
Upper value to which the “Metric” is displayed |