SA0179: Coupling between objects
Function | The check determines whether a defined limit of the coupling between objects in a function block is exceeded. You can configure the parameter that is taken into account in the check by double-clicking on the row for rule 179 in the rule configuration (PLC Project Properties > category "Static Analysis" > "Rules" tab > Rule 179). You can make the following settings in the dialog that appears:
|
Reason | This is about checking individual programming guidelines. Some programming guidelines stipulate a maximum value for the coupling between objects for function blocks. Too much coupling between objects makes the code difficult to maintain. |
Importance | Medium |
Synonym | CBO: Coupling Between Objects |
![]() | Corresponding metric available The following metric is available for calculating the relationship between objects as part of the metrics table: |
