| Report: Class Inheritance Tree |
| Option: -i |
| Compatible Options: RSM Option Cross Reference |
| Usage: rsm -H -O report.htm -Ti *.h *.cpp rsm -H -O report.htm -i *.java |
| Source: C, C++, Java |
| RSM will generate the inheritance model for all files processed. The tag [D0,C0] indicates that a class is at depth 0 with 0 children. Root classes of the inheritance tree are by definition at level 0. Combining the -i and -n options will create quality notices for maximum depth and number of children within the inheritance tree. |
D - Depth where base class depth = 0
C - Number of direct child classes
P - Number of direct parents, Multiple Inheritance > 1
+ Seahunt::Cell [D0.C0]
+ Seahunt::Game [D0.C0]
+ Seahunt::Ocean [D0.C0]
+ Seahunt::Player [D0.C0]
+ Seahunt::Target [D0.C1]
- Seahunt::Sub [D1.C0.P1]
+ Seahunt::Utility [D0.C0]
Total Classes : 7
Total Base Classes : 6
Total Derived Classes: 1
Derived/Based Ratio : 0.17
Maximum Depth of Inheritance: 1
Average Depth of Inheritance: 0.14
Maximum Number of Direct Child Classes: 1
Average Number of Direct Child Classes: 0.14
|