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 ________________________________________________________________________ File: cell.h Date: Fri Jun 22 19:31:58 2001 File Size: 829 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 27 eLOC 24 lLOC 16 Comment 13 Lines 41 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 27 if, else ............: 0, 0 Lines of just { or } : 3 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 24 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 16 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 9 namespace, package ..: 1, 0 Comment Lines .......: 13 inline ..............: 0 Total Logical Lines .: 49 Memory alloc, free ..: 0, 0 Total Physical Lines : 41 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 1 Paren Count (,) .....: 10, 10 #include, import ....: 1, 0 Brace Count {,} .....: 2, 2 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 1, 0 Chars/NBLine, Notices: 13, 1 do, while ...........: 0, 0 Code, eCode Lines ...: 55.1%, 49.0% switch, default .....: 0, 0 Comment, Blank Lines : 26.5%, 18.4% for .................: 0 Characters, Spaces ..: 66.0%, 34.0% ________________________________________________________________________ End of File: cell.h File: game.h Date: Fri Jun 22 19:31:58 2001 File Size: 400 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 23 eLOC 19 lLOC 9 Comment 1 Lines 31 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 23 if, else ............: 0, 0 Lines of just { or } : 4 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 19 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 9 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 7 namespace, package ..: 0, 0 Comment Lines .......: 1 inline ..............: 0 Total Logical Lines .: 31 Memory alloc, free ..: 0, 0 Total Physical Lines : 31 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 2 Paren Count (,) .....: 4, 4 #include, import ....: 3, 0 Brace Count {,} .....: 3, 3 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 0, 1 Chars/NBLine, Notices: 11, 2 do, while ...........: 0, 0 Code, eCode Lines ...: 74.2%, 61.3% switch, default .....: 0, 0 Comment, Blank Lines : 3.2%, 22.6% for .................: 0 Characters, Spaces ..: 77.5%, 22.5% ________________________________________________________________________ End of File: game.h File: ocean.h Date: Fri Jun 22 19:31:58 2001 File Size: 825 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 34 eLOC 30 lLOC 20 Comment 5 Lines 47 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 34 if, else ............: 0, 0 Lines of just { or } : 4 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 30 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 20 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 9 namespace, package ..: 0, 0 Comment Lines .......: 5 inline ..............: 0 Total Logical Lines .: 48 Memory alloc, free ..: 0, 0 Total Physical Lines : 47 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 3 Paren Count (,) .....: 11, 11 #include, import ....: 4, 0 Brace Count {,} .....: 4, 4 #define, typedef ....: 1, 0 Bracket Count [,] ...: 4, 4 const, enum .........: 0, 2 Chars/NBLine, Notices: 16, 1 do, while ...........: 0, 0 Code, eCode Lines ...: 70.8%, 62.5% switch, default .....: 0, 0 Comment, Blank Lines : 10.4%, 18.8% for .................: 0 Characters, Spaces ..: 80.8%, 19.2% ________________________________________________________________________ End of File: ocean.h File: player.h Date: Fri Jun 22 19:31:58 2001 File Size: 666 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 32 eLOC 28 lLOC 17 Comment 1 Lines 41 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 32 if, else ............: 0, 0 Lines of just { or } : 4 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 28 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 17 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 8 namespace, package ..: 0, 0 Comment Lines .......: 1 inline ..............: 0 Total Logical Lines .: 41 Memory alloc, free ..: 0, 0 Total Physical Lines : 41 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 1 Paren Count (,) .....: 11, 11 #include, import ....: 5, 0 Brace Count {,} .....: 2, 2 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 0, 0 Chars/NBLine, Notices: 15, 0 do, while ...........: 0, 0 Code, eCode Lines ...: 78.0%, 68.3% switch, default .....: 0, 0 Comment, Blank Lines : 2.4%, 19.5% for .................: 0 Characters, Spaces ..: 79.4%, 20.6% ________________________________________________________________________ End of File: player.h File: sub.h Date: Fri Jun 22 19:31:58 2001 File Size: 456 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 21 eLOC 18 lLOC 7 Comment 2 Lines 29 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 21 if, else ............: 0, 0 Lines of just { or } : 3 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 18 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 7 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 7 namespace, package ..: 0, 0 Comment Lines .......: 2 inline ..............: 0 Total Logical Lines .: 30 Memory alloc, free ..: 0, 0 Total Physical Lines : 29 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 2 Paren Count (,) .....: 7, 7 #include, import ....: 3, 0 Brace Count {,} .....: 3, 3 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 0, 0 Chars/NBLine, Notices: 15, 0 do, while ...........: 0, 0 Code, eCode Lines ...: 70.0%, 60.0% switch, default .....: 0, 0 Comment, Blank Lines : 6.7%, 23.3% for .................: 0 Characters, Spaces ..: 81.1%, 18.9% ________________________________________________________________________ End of File: sub.h File: target.h Date: Fri Jun 22 19:31:58 2001 File Size: 1474 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 46 eLOC 39 lLOC 18 Comment 17 Lines 78 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 46 if, else ............: 0, 0 Lines of just { or } : 7 goto, return ........: 0, 1 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 39 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 18 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 17 namespace, package ..: 0, 0 Comment Lines .......: 17 inline ..............: 0 Total Logical Lines .: 80 Memory alloc, free ..: 0, 0 Total Physical Lines : 78 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 1 Paren Count (,) .....: 12, 12 #include, import ....: 2, 0 Brace Count {,} .....: 6, 6 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 1, 2 Chars/NBLine, Notices: 17, 5 do, while ...........: 0, 0 Code, eCode Lines ...: 57.5%, 48.8% switch, default .....: 0, 0 Comment, Blank Lines : 21.3%, 21.3% for .................: 0 Characters, Spaces ..: 76.9%, 23.1% ________________________________________________________________________ End of File: target.h File: utility.h Date: Fri Jun 22 19:31:58 2001 File Size: 566 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 20 eLOC 16 lLOC 8 Comment 3 Lines 30 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 20 if, else ............: 0, 0 Lines of just { or } : 4 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 16 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 8 class, interface ....: 1, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 7 namespace, package ..: 0, 0 Comment Lines .......: 3 inline ..............: 0 Total Logical Lines .: 30 Memory alloc, free ..: 0, 0 Total Physical Lines : 30 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 0 Paren Count (,) .....: 6, 6 #include, import ....: 2, 0 Brace Count {,} .....: 3, 3 #define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 0, 1 Chars/NBLine, Notices: 18, 0 do, while ...........: 0, 0 Code, eCode Lines ...: 66.7%, 53.3% switch, default .....: 0, 0 Comment, Blank Lines : 10.0%, 23.3% for .................: 0 Characters, Spaces ..: 81.0%, 19.0% ________________________________________________________________________ End of File: utility.h File: cell.cpp Date: Fri Jun 22 19:31:58 2001 File Size: 2636 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 127 eLOC 84 lLOC 49 Comment 13 Lines 167 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 127 if, else ............: 5, 2 Lines of just { or } : 43 goto, return ........: 0, 7 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 84 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 49 class, interface ....: 0, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 28 namespace, package ..: 0, 0 Comment Lines .......: 13 inline ..............: 3 Total Logical Lines .: 168 Memory alloc, free ..: 0, 0 Total Physical Lines : 167 Memory new, delete ..: 0, 0 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 11 Paren Count (,) .....: 43, 43 #include, import ....: 2, 0 Brace Count {,} .....: 22, 22 #define, typedef ....: 0, 0 Bracket Count [,] ...: 33, 33 const, enum .........: 5, 0 Chars/NBLine, Notices: 12, 0 do, while ...........: 0, 0 Code, eCode Lines ...: 75.6%, 50.0% switch, default .....: 0, 0 Comment, Blank Lines : 7.7%, 16.7% for .................: 3 Characters, Spaces ..: 72.1%, 27.9% ________________________________________________________________________ End of File: cell.cpp File: game.cpp Date: Fri Jun 22 19:31:58 2001 File Size: 1604 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 88 eLOC 53 lLOC 32 Comment 4 Lines 107 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 4, 3 Lines of Code (LOC) .: 88 if, else ............: 7, 1 Lines of just { or } : 35 goto, return ........: 0, 0 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 53 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 32 class, interface ....: 0, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 17 namespace, package ..: 0, 0 Comment Lines .......: 4 inline ..............: 0 Total Logical Lines .: 109 Memory alloc, free ..: 0, 0 Total Physical Lines : 107 Memory new, delete ..: 2, 2 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 6 Paren Count (,) .....: 26, 26 #include, import ....: 1, 0 Brace Count {,} .....: 18, 18 #define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0 const, enum .........: 0, 0 Chars/NBLine, Notices: 11, 3 do, while ...........: 0, 1 Code, eCode Lines ...: 80.7%, 48.6% switch, default .....: 1, 1 Comment, Blank Lines : 3.7%, 15.6% for .................: 1 Characters, Spaces ..: 67.8%, 32.2% ________________________________________________________________________ End of File: game.cpp File: ocean.cpp Date: Fri Jun 22 19:31:58 2001 File Size: 5088 Bytes ________________________________________________________________________ ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 217 eLOC 144 lLOC 83 Comment 7 Lines 252 ------------------------------------------------------------------------ ~~ File Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 0, 0 Lines of Code (LOC) .: 217 if, else ............: 9, 3 Lines of just { or } : 73 goto, return ........: 0, 5 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 144 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 83 class, interface ....: 0, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 29 namespace, package ..: 0, 0 Comment Lines .......: 7 inline ..............: 0 Total Logical Lines .: 253 Memory alloc, free ..: 0, 0 Total Physical Lines : 252 Memory new, delete ..: 0, 1 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 43 Paren Count (,) .....: 71, 71 #include, import ....: 4, 0 Brace Count {,} .....: 40, 40 #define, typedef ....: 0, 0 Bracket Count [,] ...: 36, 36 const, enum .........: 3, 0 Chars/NBLine, Notices: 16, 6 do, while ...........: 0, 1 Code, eCode Lines ...: 85.8%, 56.9% switch, default .....: 0, 0 Comment, Blank Lines : 2.8%, 11.5% for .................: 10 Characters, Spaces ..: 74.6%, 25.4% ________________________________________________________________________ End of File: ocean.cpp ~~ Total Metrics For 10 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 635 eLOC 455 lLOC 259 Comment 66 Lines 823 ------------------------------------------------------------------------ ~~ Project Keywords and Metrics ~~ --------------- LOC --------------- case, break .........: 4, 3 Lines of Code (LOC) .: 635 if, else ............: 21, 6 Lines of just { or } : 180 goto, return ........: 0, 13 Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0 Effective LOC (eLOC) : 455 macros, struct, union: 0, 0, 0 Code Statement (lLOC): 259 class, interface ....: 7, 0 -------------- Lines -------------- template, friend ....: 0, 0 Blank Lines .........: 138 namespace, package ..: 1, 0 Comment Lines .......: 66 inline ..............: 3 Total Logical Lines .: 839 Memory alloc, free ..: 0, 0 Total Physical Lines : 823 Memory new, delete ..: 2, 3 ------------ Key Words ------------ ------------- Analysis ------------ Literal Strings .....: 70 Paren Count (,) .....: 201, 201 #include, import ....: 27, 0 Brace Count {,} .....: 103, 103 #define, typedef ....: 7, 0 Bracket Count [,] ...: 73, 73 const, enum .........: 10, 6 Chars/NBLine, Notices: 14, 18 do, while ...........: 0, 2 Code, eCode Lines ...: 75.7%, 54.2% switch, default .....: 1, 1 Comment, Blank Lines : 7.9%, 16.4% for .................: 14 Characters, Spaces ..: 74.3%, 25.7% ------------------------------------------------------------------------ ~~ 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. ________________________________________________________________________