Report: Object Class Report |
Option: -o |
Compatible Options: a, b, c, e, F, f, i, l, m, n, s, r, R, T, v, w, W |
Usage: rsm -H -o -c *.h *.cpp > report.htm rsm -H -o -c *.java > report.htm |
Source: C, C++ and Java |
The object class report identifies the classes in the source code. The default mode for -o is to count the LOC for the class. When the -c option is used, cyclomatic and interface complexity is measured for each class. Classes for each file are summarized in the project class metrics report. |
Class: Seahunt::Ocean Attributes Publ 0 Prot 0 Private 6 Total 6 Methods Publ 9 Prot 0 Private 2 Total 11 Complexity Param 1 Return 11 Cyclo Vg 31 Total 43 LOC 187 eLOC 117 lLOC 89 Comment 2 Lines 191 Class: Seahunt::Player Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 11 Prot 0 Private 0 Total 11 Complexity Param 4 Return 11 Cyclo Vg 13 Total 28 LOC 86 eLOC 58 lLOC 48 Comment 1 Lines 88 Class: Seahunt::Sub Inheritance: Target Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 1 Total 7 Complexity Param 6 Return 7 Cyclo Vg 9 Total 22 LOC 53 eLOC 35 lLOC 25 Comment 0 Lines 53 |