Number Of Children (NOC)
Title short form | NOC |
Categories | Reusability, maintainability |
Definition | Number of function blocks that extend the given basic function block. Function blocks that indirectly extend a basic function block are not counted. |
Further information | NOC = Number Of Children
|
Sample:
FUNCTION_BLOCK FB_BaseFUNCTION_BLOCK FB_Sub EXTENDS FB_BaseFUNCTION_BLOCK FB_SubSub1 EXTENDS FB_SubFUNCTION_BLOCK FB_SubSub2 EXTENDS FB_SubThe metric Number Of Children is:
- For
FB_Base: 1 child (FB_Sub) - For
FB_Sub: 2 children (FB_SubSub1, FB_SubSub2) - For
FB_SubSub1: 0 children - For
FB_SubSub2: 0 children