Called in tasks
Title short form | Tasks |
Categories | Maintainability, reliability |
Definition | Number of tasks in which the program organization unit (POU) is called up |
Further information | For function blocks, the number of tasks in which the function block itself or any function block in the function block's inheritance tree is called is counted. For methods and actions, the number of tasks in which the (higher-level) function block is called is displayed. |
Sample:
FUNCTION_BLOCK FB1FUNCTION_BLOCK FB2 EXTENDS FB1FUNCTION_BLOCK FB3 EXTENDS FB2Each function block is instantiated and called in a separate program. In addition, each program is called in a separate task.
The metric Called in tasks therefore results:
- For
FB3: 1 - For
FB2: 2, as the calls fromFB2andFB3(EXTENDS FB2) are counted. - For
FB1: 3, as the calls fromFB1,FB2andFB3are counted.