SA0031: Unused signatures

SA0031: Unused signatures 1:

SA0031 is only checked with the 'run static analysis [Check all objects]' command

The SA0031: Unused Signatures rule is only checked when the command to check all objects – including unused ones – is executed (Command 'Run static analysis [Check all objects]'. The Command 'Run static analysis' command does not check the SA0031 rule.

Function

Determines programs, function blocks, functions, data types, interfaces, methods, properties, actions etc., which are not called within the compiled program code.

Reason

Unused objects result in unnecessary project bloat and confusion when the code is read.

Importance

Low

PLCopen rule

CP2