Infosys在阅读器中打开 / AI 翻译

TE1200 | PLC Static Analysis · 0 次阅读

Depth of Inheritance Tree (DIT)

Title short form

DIT

Categories

Maintainability

Definition

Number of inheritances until a function block is reached that does not extend any other function block

Further information

DIT = Depth of Inheritance Tree

 

Sample:

FUNCTION_BLOCK FB_Base
FUNCTION_BLOCK FB_Sub EXTENDS FB_Base
FUNCTION_BLOCK FB_SubSub EXTENDS FB_Sub

The metric Depth of Inheritance Tree is: