Metric: Application Size (Code)

User Description

When logged into a controller, the source code is compiled and an executable is sent to the controller.

The executable consists of code and data sections when loaded into controller memory.

The application code size is the amount of memory needed on the controller to manage the application code.

NOTE: This metric can only be calculated when you activate the Consider Code and Data Size option in the code analyzer Configuration tab.

Metric Calculation

The application code size is calculated based on the size of generated machine code for each POU (program, function block, function).