Skip to main content

Command: Run Static Analysis

Symbol: sa_icon_runstaticanalysis.png

Function: The command starts the static analysis for the active application and displays the metrics for all POUs in a table.

Call: Build → Static Analysis menu

During the code analysis, CODESYS Static Analysis generates code just like the Build → Generate Code command. The results of the analysis are displayed as errors sa_icon_runstaticanalysis.png and warnings sa_icon_warning.png in the message view (Build category). The numbers refer to the corresponding rules as they are defined in the project settings. The syntax for the displayed messages is SA<rule number>:<rule text>.