Dialog: Static Analysis Settings: Metrics
Symbol:
Function: Configures the metrics so that they are calculated and displayed accordingly when the View Standard Metrics command is executed.
Call:
Project → Project Settings menu, Static Analysis category, Open configuration dialog link
Build → Static Analysis → Settings menu
Requirement:
The CODESYS Static Analysis package is installed.
A project is open.
For more information, see: Configuring and Running Static Analysis
Metric | 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 |
Tip
The Code size, Variable size, Stack size, and Number of calls metrics are reported only for POUs from libraries which are integrated in the project.
Tip
Violations of the upper and lower limits of the activated metrics can be reported as build errors by means of static analysis rule SA0150
.