Resource Standard Metrics for C, C++ and Java
Visual Metrics Version 5.53
License Type: Site Multi-Network License - 10000 Users
Licensed To : M Squared Technologies
License No. : ST1000 License Date: Fri Jun 25 06:09:01 1999
(C) 2000 M Squared Technologies Run Date: Tue Oct 10 21:45:37 2000
________________________________________________________________________
~~ Total Metrics For 15 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
Sorted By Name
Total: Functions
LOC 622 eLOC 374 lLOC 297 InCmp 93 CycloCmp 118
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 64
Total Physical Lines ..: 673 Total LOC .............: 622
Total eLOC ............: 374 Total lLOC ............: 297
Total Cyclomatic Comp. : 118 Total Interface Comp. .: 93
Total Parameters ......: 29 Total Return Points ...: 64
Total Comment Lines ...: 16 Total Blank Lines .....: 40
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 10.52
Avg LOC ...............: 9.72 Avg eLOC ..............: 5.84
Avg lLOC ..............: 4.64 Avg Cyclomatic Comp. ..: 1.84
Avg Interface Comp. ...: 1.45 Avg Parameters ........: 0.45
Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.25
------ ----- ----- ------ ------ -----
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 Metrics ~~
Sorted By Name
Total: All Classes
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 29 Return 58 Cyclo Vg 108 Total 195
LOC 671 eLOC 429 lLOC 325 Comment 25 Lines 707
------------------------------------------------------------------------
~~ Project Class Analysis ~~
Total Classes .........: 7 Total Methods .........: 60
Total Public Methods ..: 55 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 707 Total LOC .............: 671
Total eLOC ............: 429 Total lLOC ............: 325
Total Cyclomatic Comp. : 108 Total Interface Comp. .: 87
Total Parameters ......: 29 Total Return Points ...: 58
Total Comment Lines ...: 25 Total Blank Lines .....: 22
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 101.00 Avg Methods ...........: 8.57
Avg Public Methods ....: 7.86 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Arrtib. .: 0.71
Avg Private Methods ...: 0.71 Avg Private Attributes : 2.71
Avg LOC ...............: 95.86 Avg eLOC ..............: 61.29
Avg lLOC ..............: 46.43 Avg Cyclomatic Comp. ..: 15.43
Avg Interface Comp. ...: 12.43 Avg Parameters ........: 4.14
Avg Return Points .....: 8.29 Avg Comment Lines .....: 3.57
------ ----- ----- ------ ------ -----
Max Physical Lines ....: 191 Max Methods ...........: 11
Max Public Methods ....: 11 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Arrtib. .: 5
Max Private Methods ...: 2 Max Private Attributes : 6
Max LOC ...............: 187 Max eLOC ..............: 117
Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31
Max Interface Comp. ...: 15 Max Parameters ........: 9
Max Return Points .....: 11 Max Comment Lines .....: 8
------ ----- ----- ------ ------ -----
Min Physical Lines ....: 53 Min Methods ...........: 4
Min Public Methods ....: 4 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Arrtib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 53 Min eLOC ..............: 35
Min lLOC ..............: 25 Min Cyclomatic Comp. ..: 9
Min Interface Comp. ...: 3 Min Parameters ........: 0
Min Return Points .....: 3 Min Comment Lines .....: 0
------------------------------------------------------------------------
~~ Class Inheritance Tree ~~
D - Depth where base class depth = 0
C - Number of direct child classes
+ Seahunt::Cell [D0.C0]
+ Seahunt::Game [D0.C0]
+ Seahunt::Ocean [D0.C0]
+ Seahunt::Player [D0.C0]
+ Seahunt::Target [D0.C1]
- Seahunt::Sub [D1.C0]
+ 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 Child Classes: 1
Average Number of Child Classes: 0.14
------------------------------------------------------------------------
~~ Project Namespace/Package Metrics ~~
Sorted By Name
Total: All Namespaces/Packages
Total Classses 7 Total Functions 60 Avg Func/Class 8.57
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 29 Return 58 Cyclo Vg 108 Total 195
LOC 671 eLOC 429 lLOC 325 Comment 25 Lines 707
------------------------------------------------------------------------
~~ Project Namespace/Package Analysis ~~
Total Namespace/Package: 1
Total Classes .........: 7 Total Methods .........: 60
Total Public Methods ..: 55 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 707 Total LOC .............: 671
Total eLOC ............: 429 Total lLOC ............: 325
Total Cyclomatic Comp. : 108 Total Interface Comp. .: 87
Total Parameters ......: 29 Total Return Points ...: 58
Total Comment Lines ...: 25 Total Blank Lines .....: 22
------ ----- ----- ------ ------ -----
Avg Classes ...........: 7.00 Avg Methods ...........: 60.00
Avg Public Methods ....: 55.00 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Arrtib. .: 5.00
Avg Private Methods ...: 5.00 Avg Private Attributes : 19.00
Avg LOC ...............: 671.00 Avg eLOC ..............: 429.00
Avg lLOC ..............: 325.00 Avg Cyclomatic Comp. ..: 108.00
Avg Interface Comp. ...: 87.00 Avg Parameters ........: 29.00
Avg Return Points .....: 58.00 Avg Comment Lines .....: 25.00
------ ----- ----- ------ ------ -----
Max Classes ...........: 7 Max Methods ...........: 60
Max Public Methods ....: 55 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Arrtib. .: 5
Max Private Methods ...: 5 Max Private Attributes : 19
Max LOC ...............: 671 Max eLOC ..............: 429
Max lLOC ..............: 325 Max Cyclomatic Comp. ..: 108
Max Interface Comp. ...: 87 Max Parameters ........: 29
Max Return Points .....: 58 Max Comment Lines .....: 25
------ ----- ----- ------ ------ -----
Min Classes ...........: 7 Min Methods ...........: 60
Min Public Methods ....: 55 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Arrtib. .: 5
Min Private Methods ...: 5 Min Private Attributes : 19
Min LOC ...............: 671 Min eLOC ..............: 429
Min lLOC ..............: 325 Min Cyclomatic Comp. ..: 108
Min Interface Comp. ...: 87 Min Parameters ........: 29
Min Return Points .....: 58 Min Comment Lines .....: 25
------------------------------------------------------------------------
~~ Project Quality Profile ~~
Type Count Percent Quality Notice
________________________________________________________________________
1 3 3.03 Physical line length exceeds 80 characters
7 7 7.07 Pre-increment operator '++' identified
16 5 5.05 Function white space less than 10.0%
17 56 56.57 Function comment content less than 10.0%
20 11 11.11 File comment content less 10.0%
31 4 4.04 Class comments are less than 10.0%
34 4 4.04 Class specification contains a pointer to data
36 5 5.05 Class specification contains protected data
43 3 3.03 Keyword 'continue' has been identified
44 1 1.01 Keyword 'break' identified outside a 'switch' structure
________________________________________________________________________
99 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 98.9 ( 9.89%)
Quality Notices/K eLOC = 138.7 ( 13.87%)
Quality Notices/K lLOC = 250.6 ( 25.06%)
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 1001 eLOC 714 lLOC 395 Comment 81 Lines 1275
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 0 C/C++ Include Files *.h: 7
C++ Source Files *.c* .: 8 C++ Include Files *.h* : 0
Other Source Files ....: 0 Java Source File *.jav*: 0
Total File Count ......: 15
________________________________________________________________________