Report Banner - Edit rsm.cfg File
Resource Standard Metrics™ for C, C++, C# and Java
Version 7.62 - mSquaredTechnologies.com
License Type: Site Multi-Network License - 10 Users
Licensed To : M Squared Technologies LLC
License No. : ST1000 License Date: May 31, 2007
Build Date : Jul 2 2008 Maintenance Date: May 31, 2010
©1996-2008 M Squared Technologies™ Run Date: Jul 02, 2008
________________________________________________________________________
License File: C:\Program Files\MSquared\M2 RSM\rsm.lic
Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg
Command Line: -H -STotal All Report -Ta -Tl -TN cell.h game.h ocean.h pl
ayer.h sub.h target.h timer.h utility.h cell.cpp game.cpp
ocean.cpp player.cpp player_solution.cpp seahunt.cpp sub.c
pp target.cpp timer.cpp utility.cpp Fibonacci.cs
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
Total All Report
------------------------------------------------------------------------
~~ Total Metrics For 19 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
Total: Functions
LOC 843 eLOC 519 lLOC 392 InCmp 130 CycloCmp 157
Function Points FP(LOC) 15.8 FP(eLOC) 9.8 FP(lLOC) 7.4
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 95 Total Physical Lines ..: 920
Total LOC .............: 843 Total Function Pts LOC : 15.8
Total eLOC ............: 519 Total Function Pts eLOC: 9.8
Total lLOC.............: 392 Total Function Pts lLOC: 7.4
Total Cyclomatic Comp. : 157 Total Interface Comp. .: 130
Total Parameters ......: 35 Total Return Points ...: 95
Total Comment Lines ...: 40 Total Blank Lines .....: 62
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 9.68
Avg LOC ...............: 8.87 Avg eLOC ..............: 5.46
Avg lLOC ..............: 4.13 Avg Cyclomatic Comp. ..: 1.65
Avg Interface Comp. ...: 1.37 Avg Parameters ........: 0.37
Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.42
------ ----- ----- ------ ------ -----
Max LOC ...............: 53
Max eLOC ..............: 31 Max lLOC ..............: 21
Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 5
Max Parameters ........: 4 Max Return Points .....: 1
Max Comment Lines .....: 4 Max Total Lines .......: 65
------ ----- ----- ------ ------ -----
Min LOC ...............: 1
Min eLOC ..............: 0 Min lLOC ..............: 0
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
Min Comment Lines .....: 0 Min Total Lines .......: 1
------------------------------------------------------------------------
~~ Project Class/Struct Metrics ~~
Parent LOC Metrics Include Nested LOC Metrics
Total: All Classes/Structs
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 56 Prot 0 Private 5 Total 61
Complexity Param 35 Return 87 Cyclo Vg 141 Total 263
LOC 857 eLOC 547 lLOC 404 Comment 46 Lines 899
------------------------------------------------------------------------
~~ Project Class/Struct Analysis ~~
Total Classes/Structs .: 9 Total Methods .........: 87
Total Public Methods ..: 56 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 899 Total LOC .............: 857
Total eLOC ............: 547 Total lLOC ............: 404
Total Cyclomatic Comp. : 141 Total Interface Comp. .: 122
Total Parameters ......: 35 Total Return Points ...: 87
Total Comment Lines ...: 46 Total Blank Lines .....: 34
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 99.89 Avg Methods ...........: 9.67
Avg Public Methods ....: 6.22 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.56
Avg Private Methods ...: 0.56 Avg Private Attributes : 2.11
Avg LOC ...............: 95.22 Avg eLOC ..............: 60.78
Avg lLOC ..............: 44.89 Avg Cyclomatic Comp. ..: 15.67
Avg Interface Comp. ...: 13.56 Avg Parameters ........: 3.89
Avg Return Points .....: 9.67 Avg Comment Lines .....: 5.11
------ ----- ----- ------ ------ -----
Max Physical Lines ....: 189 Max Methods ...........: 11
Max Public Methods ....: 11 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 2 Max Private Attributes : 6
Max LOC ...............: 186 Max eLOC ..............: 116
Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31
Max Interface Comp. ...: 36 Max Parameters ........: 9
Max Return Points .....: 27 Max Comment Lines .....: 18
------ ----- ----- ------ ------ -----
Min Physical Lines ....: 22 Min Methods ...........: 0
Min Public Methods ....: 0 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 18 Min eLOC ..............: 12
Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2
Min Interface Comp. ...: 1 Min Parameters ........: 0
Min Return Points .....: 1 Min Comment Lines .....: 0
------------------------------------------------------------------------
~~ Class 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]
+ Timer [D0.C0]
+ test.Fibonacci [D0.C0]
Total Classes : 9
Total Base Classes : 8
Total Derived Classes: 1
Derived/Based Ratio : 0.13
Maximum Depth of Inheritance: 1
Average Depth of Inheritance: 0.11
Maximum Number of Direct Child Classes: 1
Average Number of Direct Child Classes: 0.11
------------------------------------------------------------------------
~~ Project Namespace/Package Metrics ~~
Total: All Namespaces/Packages
Total Classses 8 Total Functions 75 Avg Func/Class 9.38
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 56 Prot 0 Private 5 Total 61
Complexity Param 34 Return 75 Cyclo Vg 127 Total 236
LOC 764 eLOC 482 lLOC 376 Comment 46 Lines 803
------------------------------------------------------------------------
~~ Project Namespace/Package Analysis ~~
Total Namespace/Package: 2
Total Classes/Structs .: 8 Total Methods .........: 75
Total Public Methods ..: 56 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 803 Total LOC .............: 764
Total eLOC ............: 482 Total lLOC ............: 376
Total Cyclomatic Comp. : 127 Total Interface Comp. .: 109
Total Parameters ......: 34 Total Return Points ...: 75
Total Comment Lines ...: 46 Total Blank Lines .....: 31
------ ----- ----- ------ ------ -----
Avg Classes/Structs ...: 4.00 Avg Methods ...........: 37.50
Avg Public Methods ....: 28.00 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 2.50
Avg Private Methods ...: 2.50 Avg Private Attributes : 9.50
Avg LOC ...............: 382.00 Avg eLOC ..............: 241.00
Avg lLOC ..............: 188.00 Avg Cyclomatic Comp. ..: 63.50
Avg Interface Comp. ...: 54.50 Avg Parameters ........: 17.00
Avg Return Points .....: 37.50 Avg Comment Lines .....: 23.00
------ ----- ----- ------ ------ -----
Max Classes/Struct ....: 7 Max Methods ...........: 60
Max Public Methods ....: 55 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 5 Max Private Attributes : 19
Max LOC ...............: 746 Max eLOC ..............: 470
Max lLOC ..............: 365 Max Cyclomatic Comp. ..: 125
Max Interface Comp. ...: 108 Max Parameters ........: 34
Max Return Points .....: 74 Max Comment Lines .....: 42
------ ----- ----- ------ ------ -----
Min Classes/Structs ...: 1 Min Methods ...........: 1
Min Public Methods ....: 1 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 18 Min eLOC ..............: 12
Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2
Min Interface Comp. ...: 1 Min Parameters ........: 0
Min Return Points .....: 1 Min Comment Lines .....: 4
------------------------------------------------------------------------
~~ Project Quality Profile ~~
Type Count Percent Quality Notice
________________________________________________________________________
1 3 0.85 Physical line length > 80 characters
7 7 1.98 Pre-increment operator "++" identified
16 4 1.13 Function/class/struct/interface white space < 10.0%
17 39 11.02 Function comment content less than 10.0%
20 12 3.39 File comment content < 10.0%
31 4 1.13 Class/Struct comments are < 10.0%
34 4 1.13 Class specification contains a pointer to data
36 5 1.41 Class specification contains protected data
43 3 0.85 Keyword "continue" has been identified
44 1 0.28 Keyword "break" identified outside a "switch" structure
45 2 0.56 New and Delete counts are not equal for the file.
46 42 11.86 Function/Class Blank Line content less < 10.0%
48 5 1.41 Function lLOC <= 0, non-operational function
49 8 2.26 Function appears to have null or blank parameters
50 66 18.64 Variable assignment to a literal number
51 75 21.19 No comment preceding a function block
52 8 2.26 No comment preceding a class block
119 32 9.04 Return is not a function
124 18 5.08 The test Test Copyright string was not found
130 16 4.52 A data member in the header file is not of the form m_*
________________________________________________________________________
354 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 265.2 ( 26.52%)
Quality Notices/K eLOC = 370.7 ( 37.07%)
Quality Notices/K lLOC = 694.1 ( 69.41%)
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 18.9 22.8 22.4 43.7 27.3 21.6
*.c* 79.4 75.6 75.3 52.9 71.0 76.7
*.cs 1.7 1.6 2.4 3.4 1.7 1.7
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 252 eLOC 218 lLOC 114 Comment 52 Lines 374
Average per File, metric/8 files
LOC 31 eLOC 27 lLOC 14 Comment 6 Lines 46
C++ Source Files *.c*
LOC 1060 eLOC 722 lLOC 384 Comment 63 Lines 1325
Average per File, metric/10 files
LOC 106 eLOC 72 lLOC 38 Comment 6 Lines 132
C# Source File *.cs
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
Average per File, metric/1 files
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 1335 eLOC 955 lLOC 510 Comment 119 Lines 1728
Average per File, metric/19 files
LOC 70 eLOC 50 lLOC 26 Comment 6 Lines 90
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 0 C/C++ Include Files *.h: 8
C++ Source Files *.c* .: 10 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 1 Java Source File *.jav*: 0
Other Source Files ....: 0
Total File Count ......: 19
________________________________________________________________________
Report Banner - Edit rsm.cfg File