SA0002: Empty objects
Function | Determines POUs, GVLs or data type declarations that do not contain code. |
Reason | Empty objects should be avoided. They are often a sign that an object is not fully implemented. Exception: In some cases, the body of a function block will not assigned code if it is only to be used via interfaces. In other cases, a method is only created because it is required by an interface, without scope for meaningful implementation of the method. In any case, a comment should be included in such a situation. |
Importance | Medium |