Understanding your Project with metrics: Inheritance Metrics DIT and NOC
Depth of Inheritance Tree (DIT) measures the complexity of a class hierarchy. It represents the number of levels from a given class up to the root class in the inheritance hierarchy, the deeper the hierarchy, the higher the DIT value.
Number of Children (NOC) measures the width of an inheritance hierarchy level. It represents the number of subclasses that inherit from a common super class.