Resource Standard Metrics for C, C++ and Java Visual Metrics Version 6.01 License Type: Shareware Evaluation License Licensed To : Shareware End User - Distribute Freely License No. : SW1380 License Date: Sat Dec 05 12:31:28 1998 (C) 2001 M Squared Technologies Run Date: Fri Jun 22 19:31:57 2001 ________________________________________________________________________ ~~ Total Metrics For 10 Files ~~ ------------------------------------------------------------------------ ~~ Project Functional Metrics ~~ No Sort Method Total: Functions LOC 357 eLOC 209 lLOC 162 InCmp 36 CycloCmp 70 ------------------------------------------------------------------------ ~~ Project Functional Analysis ~~ Total Functions .......: 29 Total Physical Lines ..: 397 Total LOC .............: 357 Total eLOC ............: 209 Total lLOC ............: 162 Total Cyclomatic Comp. : 70 Total Interface Comp. .: 36 Total Parameters ......: 7 Total Return Points ...: 29 Total Comment Lines ...: 12 Total Blank Lines .....: 30 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 13.69 Avg LOC ...............: 12.31 Avg eLOC ..............: 7.21 Avg lLOC ..............: 5.59 Avg Cyclomatic Comp. ..: 2.41 Avg Interface Comp. ...: 1.24 Avg Parameters ........: 0.24 Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.41 ------ ----- ----- ------ ------ ----- Max LOC ...............: 53 Max eLOC ..............: 31 Max lLOC ..............: 21 Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 4 Max Parameters ........: 3 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 ~~ No Sort Method Total: All Classes/Structs Attributes Publ 0 Prot 5 Private 19 Total 24 Methods Publ 55 Prot 0 Private 5 Total 60 Complexity Param 7 Return 27 Cyclo Vg 64 Total 98 LOC 436 eLOC 286 lLOC 219 Comment 21 Lines 464 ------------------------------------------------------------------------ ~~ Project Class/Struct Analysis ~~ Total Classes/Structs .: 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 ..: 464 Total LOC .............: 436 Total eLOC ............: 286 Total lLOC ............: 219 Total Cyclomatic Comp. : 64 Total Interface Comp. .: 34 Total Parameters ......: 7 Total Return Points ...: 27 Total Comment Lines ...: 21 Total Blank Lines .....: 22 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 66.29 Avg Methods ...........: 8.57 Avg Public Methods ....: 7.86 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.71 Avg Private Methods ...: 0.71 Avg Private Attributes : 2.71 Avg LOC ...............: 62.29 Avg eLOC ..............: 40.86 Avg lLOC ..............: 31.29 Avg Cyclomatic Comp. ..: 9.14 Avg Interface Comp. ...: 4.86 Avg Parameters ........: 1.00 Avg Return Points .....: 3.86 Avg Comment Lines .....: 3.00 ------ ----- ----- ------ ------ ----- 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. ...: 15 Max Parameters ........: 5 Max Return Points .....: 11 Max Comment Lines .....: 8 ------ ----- ----- ------ ------ ----- Min Physical Lines ....: 10 Min Methods ...........: 4 Min Public Methods ....: 4 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 0 Min LOC ...............: 11 Min eLOC ..............: 9 Min lLOC ..............: 6 Min Cyclomatic Comp. ..: 0 Min Interface Comp. ...: 0 Min Parameters ........: 0 Min Return Points .....: 0 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]
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 ------------------------------------------------------------------------ ~~ Project Namespace/Package Metrics ~~ No Sort Method 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 7 Return 27 Cyclo Vg 64 Total 98 LOC 436 eLOC 286 lLOC 219 Comment 21 Lines 464 ------------------------------------------------------------------------ ~~ Project Namespace/Package Analysis ~~ Total Namespace/Package: 1 Total Classes/Structs .: 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 ..: 464 Total LOC .............: 436 Total eLOC ............: 286 Total lLOC ............: 219 Total Cyclomatic Comp. : 64 Total Interface Comp. .: 34 Total Parameters ......: 7 Total Return Points ...: 27 Total Comment Lines ...: 21 Total Blank Lines .....: 22 ------ ----- ----- ------ ------ ----- Avg Classes/Structs ...: 7.00 Avg Methods ...........: 60.00 Avg Public Methods ....: 55.00 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 5.00 Avg Private Methods ...: 5.00 Avg Private Attributes : 19.00 Avg LOC ...............: 436.00 Avg eLOC ..............: 286.00 Avg lLOC ..............: 219.00 Avg Cyclomatic Comp. ..: 64.00 Avg Interface Comp. ...: 34.00 Avg Parameters ........: 7.00 Avg Return Points .....: 27.00 Avg Comment Lines .....: 21.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 ...............: 436 Max eLOC ..............: 286 Max lLOC ..............: 219 Max Cyclomatic Comp. ..: 64 Max Interface Comp. ...: 34 Max Parameters ........: 7 Max Return Points .....: 27 Max Comment Lines .....: 21 ------ ----- ----- ------ ------ ----- Min Classes/Structs ...: 7 Min Methods ...........: 60 Min Public Methods ....: 55 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 5 Min Private Methods ...: 5 Min Private Attributes : 19 Min LOC ...............: 436 Min eLOC ..............: 286 Min lLOC ..............: 219 Min Cyclomatic Comp. ..: 64 Min Interface Comp. ...: 34 Min Parameters ........: 7 Min Return Points .....: 27 Min Comment Lines .....: 21 ------------------------------------------------------------------------ ~~ Project Quality Profile ~~ Type Count Percent Quality Notice ________________________________________________________________________ 7 6 13.04 Pre-increment operator '++' identified 16 2 4.35 Function white space less than 1.0% 17 22 47.83 Function comment content less than 1.0% 31 4 8.70 Class/Struct comments are less than 1.0% 34 4 8.70 Class specification contains a pointer to data 36 5 10.87 Class specification contains protected data 43 3 6.52 Keyword 'continue' has been identified ________________________________________________________________________ 46 100.00 Total Quality Notices ~~ Quality Notice Density ~~ Basis: 1000 (K) Quality Notices/K LOC = 72.4 ( 7.24%) Quality Notices/K eLOC = 101.1 ( 10.11%) Quality Notices/K lLOC = 177.6 ( 17.76%) ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 635 eLOC 455 lLOC 259 Comment 66 Lines 823 ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 0 C/C++ Include Files *.h: 7 C++ Source Files *.c* .: 3 C++ Include Files *.h* : 0 Other Source Files ....: 0 Java Source File *.jav*: 0 Total File Count ......: 10 Shareware evaluation licenses process only 10 files. Paid licenses enable wild cards and file/project totals. ________________________________________________________________________