Confidential - Acme Engineering
Resource Standard Metrics™ for C, C++, C# and Java
Version 7.75 - mSquaredTechnologies.com
License Type: Shareware Evaluation License
Licensed To : Shareware End User - Distribute Freely
License No. : SW1380 License Date: Dec 05, 1998
Build Date : Aug 16 2009 Run Date: Aug 16, 2009
©1996-2009 M Squared Technologies LLC™
________________________________________________________________________
License File: C:\Program Files\MSquared\M2 RSM\rsm.lic
Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg
Command Line: -H -SBenchmark Analysis Report -fa -fp -o -c -v -b cell.h
game.h ocean.h player.h sub.h target.h timer.h utility.h c
ell.cpp game.cpp ocean.cpp player.cpp player_solution.cpp
seahunt.cpp sub.cpp target.cpp timer.cpp utility.cpp Fibon
acci.cs
Benchmark Analysis Report
~~ Function Metrics ~~
~~ Class/Struct Metrics ~~
~~ Complexity Analysis ~~
File: cell.h
________________________________________________________________________
Namespace Begin: Seahunt
Class: Seahunt::Cell
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 9 Prot 0 Private 1 Total 10
LOC 19 eLOC 17 lLOC 15 Comment 6 Lines 19
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 27 eLOC 23 lLOC 16 Comment 13 Lines 41
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 27 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) : 23 macros, struct, union: 8, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 4 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, 5
do, while ...........: 0, 0 Code, eCode Lines ...: 55.1%, 46.9%
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
________________________________________________________________________
Namespace Begin: Seahunt
Class: Seahunt::Game
Attributes Publ 0 Prot 0 Private 3 Total 3
Methods Publ 4 Prot 0 Private 0 Total 4
LOC 13 eLOC 11 lLOC 8 Comment 0 Lines 12
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 23 eLOC 19 lLOC 9 Comment 1 Lines 31
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ 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: 1, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 6 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, 4
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
________________________________________________________________________
Namespace Begin: Seahunt
Class: Seahunt::Ocean
Attributes Publ 0 Prot 0 Private 6 Total 6
Methods Publ 9 Prot 0 Private 2 Total 11
LOC 23 eLOC 21 lLOC 19 Comment 0 Lines 22
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 34 eLOC 30 lLOC 20 Comment 5 Lines 47
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ 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: 1, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 7 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, 2
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
________________________________________________________________________
Namespace Begin: Seahunt
Class: Seahunt::Player
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 11 Prot 0 Private 0 Total 11
LOC 20 eLOC 18 lLOC 16 Comment 0 Lines 20
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 32 eLOC 28 lLOC 17 Comment 1 Lines 41
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ 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: 1, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 8 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, 2
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
________________________________________________________________________
Namespace Begin: Seahunt
Inline Function: Seahunt::Sub::Abstract
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Sub
Inheritance: Target
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 1 Total 7
LOC 11 eLOC 9 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 21 eLOC 17 lLOC 7 Comment 2 Lines 29
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 1 Total Function Pts LOC : 0.0
Total Function eLOC....: 1 Total Function Pts eLOC: 0.0
Total Function lLOC....: 0 Total Function Pts lLOC: 0.0
Total Function Params .: 1 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 3
------ ----- ----- ------ ------ -----
Max Function LOC ......: 1 Average Function LOC ..: 1.00
Max Function eLOC .....: 1 Average Function eLOC .: 1.00
Max Function lLOC .....: 0 Average Function lLOC .: 0.00
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 1.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 2.00
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 21 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) : 17 macros, struct, union: 1, 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 func, virtual, inline: 1, 0, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 6 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, 5
do, while ...........: 0, 0 Code, eCode Lines ...: 70.0%, 56.7%
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
________________________________________________________________________
Namespace Begin: Seahunt
Inline Function: Seahunt::Target::Get_armor
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Target::Target
Parameters: (const Target & t)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Target
Attributes Publ 1 Prot 5 Private 0 Total 6
Methods Publ 9 Prot 0 Private 1 Total 10
LOC 29 eLOC 25 lLOC 16 Comment 8 Lines 42
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 46 eLOC 38 lLOC 18 Comment 15 Lines 77
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 2
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
Total Function eLOC....: 1 Total Function Pts eLOC: 0.0
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
Total Function Params .: 2 Total Function Return .: 2
Total Cyclo Complexity : 2 Total Function Complex.: 6
------ ----- ----- ------ ------ -----
Max Function LOC ......: 2 Average Function LOC ..: 1.50
Max Function eLOC .....: 1 Average Function eLOC .: 0.50
Max Function lLOC .....: 1 Average Function lLOC .: 0.50
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 1.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 2.00
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 46 if, else ............: 0, 0
Lines of just { or } : 8 goto, return ........: 0, 1
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 38 macros, struct, union: 1, 0, 0
Code Statement (lLOC): 18 class, interface ....: 1, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 18 namespace, package ..: 0, 0
Comment Lines .......: 15 func, virtual, inline: 2, 4, 0
Total Logical Lines .: 79 Memory alloc, free ..: 0, 0
Total Physical Lines : 77 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 1 Continuation Lines \.: 0
Preprocessor Lines #.: 7 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, 9
do, while ...........: 0, 0 Code, eCode Lines ...: 58.2%, 48.1%
switch, default .....: 0, 0 Comment, Blank Lines : 19.0%, 22.8%
for .................: 0 Characters, Spaces ..: 76.7%, 23.3%
________________________________________________________________________
End of File: target.h
File: timer.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 49 eLOC 47 lLOC 19 Comment 12 Lines 78
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 49 if, else ............: 0, 0
Lines of just { or } : 2 goto, return ........: 0, 0
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 47 macros, struct, union: 1, 0, 0
Code Statement (lLOC): 19 class, interface ....: 1, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 17 namespace, package ..: 0, 0
Comment Lines .......: 12 inline ..............: 0
Total Logical Lines .: 78 Memory alloc, free ..: 0, 0
Total Physical Lines : 78 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 0 Continuation Lines \.: 0
Preprocessor Lines #.: 14 Paren Count (,) .....: 12, 12
#include, import ....: 4, 0 Brace Count {,} .....: 1, 1
#define, typedef ....: 1, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 0, 0 Chars/NBLine, Notices: 20, 1
do, while ...........: 0, 0 Code, eCode Lines ...: 62.8%, 60.3%
switch, default .....: 0, 0 Comment, Blank Lines : 15.4%, 21.8%
for .................: 0 Characters, Spaces ..: 82.5%, 17.5%
________________________________________________________________________
End of File: timer.h
File: utility.h
________________________________________________________________________
Namespace Begin: Seahunt
Class: Seahunt::Utility
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 0 Total 6
LOC 11 eLOC 9 lLOC 7 Comment 2 Lines 12
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 20 eLOC 16 lLOC 8 Comment 3 Lines 30
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ 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: 1, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 5 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, 1
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
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Cell::Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::~Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.1
Inline Function: Seahunt::Cell::Get_x
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Cell::Get_y
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Cell::Get_z
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_target
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function Points FP(LOC) 0.6 FP(eLOC) 0.4 FP(lLOC) 0.4
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 127 eLOC 83 lLOC 49 Comment 13 Lines 167
Function Points FP(LOC) 2.4 FP(eLOC) 1.6 FP(lLOC) 0.9
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 11
Total Function LOC.....: 98 Total Function Pts LOC : 2.4
Total Function eLOC....: 56 Total Function Pts eLOC: 1.6
Total Function lLOC....: 49 Total Function Pts lLOC: 0.9
Total Function Params .: 5 Total Function Return .: 11
Total Cyclo Complexity : 19 Total Function Complex.: 35
------ ----- ----- ------ ------ -----
Max Function LOC ......: 31 Average Function LOC ..: 8.91
Max Function eLOC .....: 21 Average Function eLOC .: 5.09
Max Function lLOC .....: 19 Average Function lLOC .: 4.45
------ ----- ----- ------ ------ -----
Max Function Parameters: 3 Avg Function Parameters: 0.45
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 4 Avg Interface Complex. : 1.45
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 1.73
Max Total Complexity ..: 6 Avg Total Complexity ..: 3.18
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 127 if, else ............: 5, 2
Lines of just { or } : 44 goto, return ........: 0, 7
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 83 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 func, virtual, inline: 11, 0, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 4 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, 29
do, while ...........: 0, 0 Code, eCode Lines ...: 75.6%, 49.4%
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
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Game::Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Game::~Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Game::Play
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 10 Total 11
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function Points FP(LOC) 1.0 FP(eLOC) 0.6 FP(lLOC) 0.4
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 88 eLOC 52 lLOC 32 Comment 4 Lines 107
Function Points FP(LOC) 1.7 FP(eLOC) 1.0 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 3
Total Function LOC.....: 80 Total Function Pts LOC : 1.7
Total Function eLOC....: 46 Total Function Pts eLOC: 1.0
Total Function lLOC....: 32 Total Function Pts lLOC: 0.6
Total Function Params .: 0 Total Function Return .: 3
Total Cyclo Complexity : 16 Total Function Complex.: 19
------ ----- ----- ------ ------ -----
Max Function LOC ......: 53 Average Function LOC ..: 26.67
Max Function eLOC .....: 31 Average Function eLOC .: 15.33
Max Function lLOC .....: 21 Average Function lLOC .: 10.67
------ ----- ----- ------ ------ -----
Max Function Parameters: 0 Avg Function Parameters: 0.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 5.33
Max Total Complexity ..: 11 Avg Total Complexity ..: 6.33
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 4, 3
Lines of Code (LOC) .: 88 if, else ............: 7, 1
Lines of just { or } : 36 goto, return ........: 0, 0
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 52 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 func, virtual, inline: 3, 0, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 1 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, 18
do, while ...........: 0, 1 Code, eCode Lines ...: 80.7%, 47.7%
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
________________________________________________________________________
Namespace Begin: Anonymous - File Scope
Namespace End: Anonymous - File Scope
Namespace Begin: Seahunt
Function: Seahunt::Ocean::Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::Init
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Ocean::~Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 217 eLOC 143 lLOC 83 Comment 7 Lines 252
Function Points FP(LOC) 4.1 FP(eLOC) 2.7 FP(lLOC) 1.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 12
Total Function LOC.....: 175 Total Function Pts LOC : 4.1
Total Function eLOC....: 105 Total Function Pts eLOC: 2.7
Total Function lLOC....: 80 Total Function Pts lLOC: 1.6
Total Function Params .: 1 Total Function Return .: 12
Total Cyclo Complexity : 32 Total Function Complex.: 45
------ ----- ----- ------ ------ -----
Max Function LOC ......: 36 Average Function LOC ..: 14.58
Max Function eLOC .....: 20 Average Function eLOC .: 8.75
Max Function lLOC .....: 16 Average Function lLOC .: 6.67
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 0.08
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 1.08
Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 2.67
Max Total Complexity ..: 7 Avg Total Complexity ..: 3.75
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 217 if, else ............: 9, 3
Lines of just { or } : 74 goto, return ........: 0, 5
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 143 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 func, virtual, inline: 12, 0, 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 Continuation Lines \.: 0
Preprocessor Lines #.: 10 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, 64
do, while ...........: 0, 1 Code, eCode Lines ...: 85.8%, 56.5%
switch, default .....: 0, 0 Comment, Blank Lines : 2.8%, 11.5%
for .................: 10 Characters, Spaces ..: 74.6%, 25.4%
________________________________________________________________________
End of File: ocean.cpp
File: player.cpp
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18
Function Points FP(LOC) 0.3 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Player::Get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 100 eLOC 70 lLOC 38 Comment 3 Lines 126
Function Points FP(LOC) 1.9 FP(eLOC) 1.3 FP(lLOC) 0.7
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 12
Total Function LOC.....: 73 Total Function Pts LOC : 1.9
Total Function eLOC....: 45 Total Function Pts eLOC: 1.3
Total Function lLOC....: 38 Total Function Pts lLOC: 0.7
Total Function Params .: 4 Total Function Return .: 12
Total Cyclo Complexity : 14 Total Function Complex.: 30
------ ----- ----- ------ ------ -----
Max Function LOC ......: 18 Average Function LOC ..: 6.08
Max Function eLOC .....: 14 Average Function eLOC .: 3.75
Max Function lLOC .....: 10 Average Function lLOC .: 3.17
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 0.33
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 1.33
Max Cyclomatic Complex.: 2 Avg Cyclomatic Complex.: 1.17
Max Total Complexity ..: 4 Avg Total Complexity ..: 2.50
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 100 if, else ............: 2, 0
Lines of just { or } : 30 goto, return ........: 0, 7
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 70 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 38 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 24 namespace, package ..: 0, 0
Comment Lines .......: 3 func, virtual, inline: 12, 0, 0
Total Logical Lines .: 127 Memory alloc, free ..: 0, 0
Total Physical Lines : 126 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 9 Continuation Lines \.: 0
Preprocessor Lines #.: 3 Paren Count (,) .....: 45, 45
#include, import ....: 1, 0 Brace Count {,} .....: 15, 15
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 5, 0 Chars/NBLine, Notices: 14, 32
do, while ...........: 0, 0 Code, eCode Lines ...: 78.7%, 55.1%
switch, default .....: 0, 0 Comment, Blank Lines : 2.4%, 18.9%
for .................: 0 Characters, Spaces ..: 82.2%, 17.8%
________________________________________________________________________
End of File: player.cpp
File: player_solution.cpp
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::begin
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::elapsed
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 132 eLOC 90 lLOC 48 Comment 20 Lines 188
Function Points FP(LOC) 2.5 FP(eLOC) 1.7 FP(lLOC) 0.9
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 17
Total Function LOC.....: 99 Total Function Pts LOC : 2.5
Total Function eLOC....: 59 Total Function Pts eLOC: 1.7
Total Function lLOC....: 48 Total Function Pts lLOC: 0.9
Total Function Params .: 5 Total Function Return .: 17
Total Cyclo Complexity : 21 Total Function Complex.: 43
------ ----- ----- ------ ------ -----
Max Function LOC ......: 17 Average Function LOC ..: 5.82
Max Function eLOC .....: 11 Average Function eLOC .: 3.47
Max Function lLOC .....: 8 Average Function lLOC .: 2.82
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 0.29
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 1.29
Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.24
Max Total Complexity ..: 5 Avg Total Complexity ..: 2.53
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 132 if, else ............: 2, 0
Lines of just { or } : 42 goto, return ........: 0, 9
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 90 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 48 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 37 namespace, package ..: 0, 0
Comment Lines .......: 20 func, virtual, inline: 17, 0, 0
Total Logical Lines .: 189 Memory alloc, free ..: 0, 0
Total Physical Lines : 188 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 14 Continuation Lines \.: 0
Preprocessor Lines #.: 9 Paren Count (,) .....: 49, 49
#include, import ....: 1, 0 Brace Count {,} .....: 21, 21
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 8, 0 Chars/NBLine, Notices: 22, 13
do, while ...........: 0, 1 Code, eCode Lines ...: 69.8%, 47.6%
switch, default .....: 0, 0 Comment, Blank Lines : 10.6%, 19.6%
for .................: 0 Characters, Spaces ..: 84.0%, 16.0%
________________________________________________________________________
End of File: player_solution.cpp
File: seahunt.cpp
________________________________________________________________________
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 12 eLOC 10 lLOC 4 Comment 1 Lines 18
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 6 Total Function Pts LOC : 0.2
Total Function eLOC....: 4 Total Function Pts eLOC: 0.2
Total Function lLOC....: 4 Total Function Pts lLOC: 0.1
Total Function Params .: 0 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 2
------ ----- ----- ------ ------ -----
Max Function LOC ......: 6 Average Function LOC ..: 6.00
Max Function eLOC .....: 4 Average Function eLOC .: 4.00
Max Function lLOC .....: 4 Average Function lLOC .: 4.00
------ ----- ----- ------ ------ -----
Max Function Parameters: 0 Avg Function Parameters: 0.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 12 if, else ............: 0, 0
Lines of just { or } : 2 goto, return ........: 0, 1
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 10 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 4 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 5 namespace, package ..: 0, 0
Comment Lines .......: 1 func, virtual, inline: 1, 0, 0
Total Logical Lines .: 18 Memory alloc, free ..: 0, 0
Total Physical Lines : 18 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 2 Continuation Lines \.: 0
Preprocessor Lines #.: 4 Paren Count (,) .....: 3, 3
#include, import ....: 2, 0 Brace Count {,} .....: 1, 1
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 0, 0 Chars/NBLine, Notices: 12, 4
do, while ...........: 0, 0 Code, eCode Lines ...: 66.7%, 55.6%
switch, default .....: 0, 0 Comment, Blank Lines : 5.6%, 27.8%
for .................: 0 Characters, Spaces ..: 89.1%, 10.9%
________________________________________________________________________
End of File: seahunt.cpp
File: sub.cpp
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Sub::Create
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::~Sub
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 72 eLOC 52 lLOC 28 Comment 3 Lines 91
Function Points FP(LOC) 1.4 FP(eLOC) 1.0 FP(lLOC) 0.5
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 7
Total Function LOC.....: 52 Total Function Pts LOC : 1.4
Total Function eLOC....: 34 Total Function Pts eLOC: 1.0
Total Function lLOC....: 28 Total Function Pts lLOC: 0.5
Total Function Params .: 6 Total Function Return .: 7
Total Cyclo Complexity : 9 Total Function Complex.: 22
------ ----- ----- ------ ------ -----
Max Function LOC ......: 11 Average Function LOC ..: 7.43
Max Function eLOC .....: 9 Average Function eLOC .: 4.86
Max Function lLOC .....: 9 Average Function lLOC .: 4.00
------ ----- ----- ------ ------ -----
Max Function Parameters: 3 Avg Function Parameters: 0.86
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 4 Avg Interface Complex. : 1.86
Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 1.29
Max Total Complexity ..: 5 Avg Total Complexity ..: 3.14
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 72 if, else ............: 2, 0
Lines of just { or } : 20 goto, return ........: 0, 4
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 52 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 28 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 18 namespace, package ..: 0, 0
Comment Lines .......: 3 func, virtual, inline: 7, 0, 0
Total Logical Lines .: 93 Memory alloc, free ..: 0, 0
Total Physical Lines : 91 Memory new, delete ..: 2, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 10 Continuation Lines \.: 0
Preprocessor Lines #.: 8 Paren Count (,) .....: 31, 31
#include, import ....: 2, 0 Brace Count {,} .....: 10, 10
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 1, 0 Chars/NBLine, Notices: 14, 16
do, while ...........: 0, 0 Code, eCode Lines ...: 77.4%, 55.9%
switch, default .....: 0, 0 Comment, Blank Lines : 3.2%, 19.4%
for .................: 0 Characters, Spaces ..: 81.5%, 18.5%
________________________________________________________________________
End of File: sub.cpp
File: target.cpp
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::~Target
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Target::Get_status
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::Reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Namespace End: Seahunt
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 98 eLOC 68 lLOC 33 Comment 4 Lines 119
Function Points FP(LOC) 1.8 FP(eLOC) 1.3 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 9
Total Function LOC.....: 69 Total Function Pts LOC : 1.8
Total Function eLOC....: 43 Total Function Pts eLOC: 1.3
Total Function lLOC....: 32 Total Function Pts lLOC: 0.6
Total Function Params .: 3 Total Function Return .: 9
Total Cyclo Complexity : 11 Total Function Complex.: 23
------ ----- ----- ------ ------ -----
Max Function LOC ......: 21 Average Function LOC ..: 7.67
Max Function eLOC .....: 11 Average Function eLOC .: 4.78
Max Function lLOC .....: 10 Average Function lLOC .: 3.56
------ ----- ----- ------ ------ -----
Max Function Parameters: 3 Avg Function Parameters: 0.33
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 4 Avg Interface Complex. : 1.33
Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 1.22
Max Total Complexity ..: 5 Avg Total Complexity ..: 2.56
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 98 if, else ............: 2, 2
Lines of just { or } : 30 goto, return ........: 0, 5
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 68 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 33 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 19 namespace, package ..: 0, 0
Comment Lines .......: 4 func, virtual, inline: 9, 0, 0
Total Logical Lines .: 121 Memory alloc, free ..: 0, 0
Total Physical Lines : 119 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 11 Continuation Lines \.: 0
Preprocessor Lines #.: 7 Paren Count (,) .....: 28, 28
#include, import ....: 1, 0 Brace Count {,} .....: 15, 15
#define, typedef ....: 0, 0 Bracket Count [,] ...: 2, 2
const, enum .........: 4, 0 Chars/NBLine, Notices: 11, 22
do, while ...........: 0, 0 Code, eCode Lines ...: 81.0%, 56.2%
switch, default .....: 0, 0 Comment, Blank Lines : 3.3%, 15.7%
for .................: 0 Characters, Spaces ..: 78.2%, 21.8%
________________________________________________________________________
End of File: target.cpp
File: timer.cpp
________________________________________________________________________
Function: Timer::Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::Timer
Parameters: (const std::string &label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::~Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Timer::start
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Timer::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25
Function Points FP(LOC) 0.5 FP(eLOC) 0.4 FP(lLOC) 0.0
Function: Timer::stop
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Timer::get_user_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_system_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_non_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_elapsed_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 130 eLOC 98 lLOC 36 Comment 4 Lines 159
Function Points FP(LOC) 2.5 FP(eLOC) 1.8 FP(lLOC) 0.7
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 13
Total Function LOC.....: 107 Total Function Pts LOC : 2.5
Total Function eLOC....: 75 Total Function Pts eLOC: 1.8
Total Function lLOC....: 36 Total Function Pts lLOC: 0.7
Total Function Params .: 1 Total Function Return .: 13
Total Cyclo Complexity : 16 Total Function Complex.: 30
------ ----- ----- ------ ------ -----
Max Function LOC ......: 25 Average Function LOC ..: 8.23
Max Function eLOC .....: 23 Average Function eLOC .: 5.77
Max Function lLOC .....: 8 Average Function lLOC .: 2.77
------ ----- ----- ------ ------ -----
Max Function Parameters: 1 Avg Function Parameters: 0.08
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 2 Avg Interface Complex. : 1.08
Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 1.23
Max Total Complexity ..: 4 Avg Total Complexity ..: 2.31
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 130 if, else ............: 2, 0
Lines of just { or } : 32 goto, return ........: 0, 6
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 98 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 36 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 25 namespace, package ..: 0, 0
Comment Lines .......: 4 func, virtual, inline: 13, 0, 0
Total Logical Lines .: 159 Memory alloc, free ..: 0, 0
Total Physical Lines : 159 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 22 Continuation Lines \.: 0
Preprocessor Lines #.: 19 Paren Count (,) .....: 43, 43
#include, import ....: 3, 0 Brace Count {,} .....: 16, 16
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 0, 0 Chars/NBLine, Notices: 13, 31
do, while ...........: 0, 0 Code, eCode Lines ...: 81.8%, 61.6%
switch, default .....: 0, 0 Comment, Blank Lines : 2.5%, 15.7%
for .................: 1 Characters, Spaces ..: 78.0%, 22.0%
________________________________________________________________________
End of File: timer.cpp
File: utility.cpp
________________________________________________________________________
Namespace Begin: Seahunt
Function: Seahunt::Utility::itos
Parameters: (int i)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::dtos
Parameters: (double d)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
Complexity Param 4 Return 1 Cyclo Vg 8 Total 13
LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::WaitKey
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 84 eLOC 56 lLOC 33 Comment 4 Lines 98
Function Points FP(LOC) 1.6 FP(eLOC) 1.1 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 6
Total Function LOC.....: 65 Total Function Pts LOC : 1.6
Total Function eLOC....: 39 Total Function Pts eLOC: 1.1
Total Function lLOC....: 33 Total Function Pts lLOC: 0.6
Total Function Params .: 9 Total Function Return .: 6
Total Cyclo Complexity : 13 Total Function Complex.: 28
------ ----- ----- ------ ------ -----
Max Function LOC ......: 37 Average Function LOC ..: 10.83
Max Function eLOC .....: 21 Average Function eLOC .: 6.50
Max Function lLOC .....: 15 Average Function lLOC .: 5.50
------ ----- ----- ------ ------ -----
Max Function Parameters: 4 Avg Function Parameters: 1.50
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 5 Avg Interface Complex. : 2.50
Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.17
Max Total Complexity ..: 13 Avg Total Complexity ..: 4.67
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 1
Lines of Code (LOC) .: 84 if, else ............: 3, 2
Lines of just { or } : 28 goto, return ........: 0, 2
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 56 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 33 class, interface ....: 0, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 11 namespace, package ..: 0, 0
Comment Lines .......: 4 func, virtual, inline: 6, 0, 0
Total Logical Lines .: 99 Memory alloc, free ..: 0, 0
Total Physical Lines : 98 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 12 Continuation Lines \.: 0
Preprocessor Lines #.: 4 Paren Count (,) .....: 19, 19
#include, import ....: 4, 0 Brace Count {,} .....: 17, 17
#define, typedef ....: 0, 0 Bracket Count [,] ...: 4, 4
const, enum .........: 0, 0 Chars/NBLine, Notices: 14, 13
do, while ...........: 1, 1 Code, eCode Lines ...: 84.8%, 56.6%
switch, default .....: 0, 0 Comment, Blank Lines : 4.0%, 11.1%
for .................: 1 Characters, Spaces ..: 75.7%, 24.3%
________________________________________________________________________
End of File: utility.cpp
File: Fibonacci.cs
________________________________________________________________________
Namespace Begin: test
Function: test.Fibonacci.Main
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Class: test.Fibonacci
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Namespace End: test
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 15 Total Function Pts LOC : 0.4
Total Function eLOC....: 11 Total Function Pts eLOC: 0.3
Total Function lLOC....: 11 Total Function Pts lLOC: 0.2
Total Function Params .: 0 Total Function Return .: 1
Total Cyclo Complexity : 2 Total Function Complex.: 3
------ ----- ----- ------ ------ -----
Max Function LOC ......: 15 Average Function LOC ..: 15.00
Max Function eLOC .....: 11 Average Function eLOC .: 11.00
Max Function lLOC .....: 11 Average Function lLOC .: 11.00
------ ----- ----- ------ ------ -----
Max Function Parameters: 0 Avg Function Parameters: 0.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
Max Cyclomatic Complex.: 2 Avg Cyclomatic Complex.: 2.00
Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
------------------------------------------------------------------------
~~ File Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 0, 0
Lines of Code (LOC) .: 23 if, else ............: 0, 0
Lines of just { or } : 8 goto, return ........: 0, 0
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 15 macros, struct, union: 0, 0, 0
Code Statement (lLOC): 12 class, interface ....: 1, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 5 namespace, package ..: 1, 0
Comment Lines .......: 4 func, virtual, inline: 1, 0, 0
Total Logical Lines .: 32 Memory alloc, free ..: 0, 0
Total Physical Lines : 29 Memory new, delete ..: 0, 0
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 4 Continuation Lines \.: 0
Preprocessor Lines #.: 0 Paren Count (,) .....: 6, 6
#include, import ....: 0, 0 Brace Count {,} .....: 4, 4
#define, typedef ....: 0, 0 Bracket Count [,] ...: 0, 0
const, enum .........: 0, 0 Chars/NBLine, Notices: 13, 6
do, while ...........: 0, 0 Code, eCode Lines ...: 71.9%, 46.9%
switch, default .....: 0, 0 Comment, Blank Lines : 12.5%, 15.6%
for .................: 1 Characters, Spaces ..: 66.3%, 33.7%
________________________________________________________________________
End of File: Fibonacci.cs
------------------------------------------------------------------------
~~ Total Metrics For 19 Files ~~
------------------------------------------------------------------------
~~ 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
Function Points FP(LOC) 20.4 FP(eLOC) 13.9 FP(lLOC) 7.5
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
Function: Seahunt::Sub::Abstract
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_armor
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Target
Parameters: (const Target & t)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::~Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_x
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Get_y
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Get_z
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_target
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function Points FP(LOC) 0.6 FP(eLOC) 0.4 FP(lLOC) 0.4
Function: Seahunt::Game::Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Game::~Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Game::Play
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 10 Total 11
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function Points FP(LOC) 1.0 FP(eLOC) 0.6 FP(lLOC) 0.4
Function: Seahunt::Ocean::Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::Init
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Ocean::~Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18
Function Points FP(LOC) 0.3 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Player::Get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::begin
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::elapsed
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Create
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::~Sub
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::~Target
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Target::Get_status
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::Reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Timer::Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::Timer
Parameters: (const std::string &label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::~Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Timer::start
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Timer::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25
Function Points FP(LOC) 0.5 FP(eLOC) 0.4 FP(lLOC) 0.0
Function: Timer::stop
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Timer::get_user_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_system_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_non_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_elapsed_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Utility::itos
Parameters: (int i)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::dtos
Parameters: (double d)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
Complexity Param 4 Return 1 Cyclo Vg 8 Total 13
LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::WaitKey
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: test.Fibonacci.Main
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Total: Functions
LOC 843 eLOC 519 lLOC 392 InCmp 132 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. .: 132
Total Parameters ......: 37 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.39 Avg Parameters ........: 0.39
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
Class: Seahunt::Cell
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 9 Prot 0 Private 1 Total 10
Complexity Param 5 Return 10 Cyclo Vg 14 Total 29
LOC 86 eLOC 52 lLOC 45 Comment 7 Lines 87
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Game
Attributes Publ 0 Prot 0 Private 3 Total 3
Methods Publ 4 Prot 0 Private 0 Total 4
Complexity Param 0 Return 3 Cyclo Vg 16 Total 19
LOC 93 eLOC 57 lLOC 40 Comment 2 Lines 104
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
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 186 eLOC 116 lLOC 89 Comment 2 Lines 189
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Player
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 11 Prot 0 Private 0 Total 11
Complexity Param 9 Return 27 Cyclo Vg 30 Total 66
LOC 167 eLOC 105 lLOC 88 Comment 18 Lines 174
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
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 7 Return 7 Cyclo Vg 9 Total 23
LOC 52 eLOC 34 lLOC 25 Comment 0 Lines 51
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Target
Attributes Publ 1 Prot 5 Private 0 Total 6
Methods Publ 9 Prot 0 Private 1 Total 10
Complexity Param 5 Return 10 Cyclo Vg 12 Total 27
LOC 86 eLOC 58 lLOC 38 Comment 8 Lines 99
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Timer
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 0 Prot 0 Private 0 Total 0
Complexity Param 1 Return 12 Cyclo Vg 14 Total 27
LOC 93 eLOC 65 lLOC 28 Comment 0 Lines 96
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: Seahunt::Utility
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 0 Total 6
Complexity Param 9 Return 6 Cyclo Vg 13 Total 28
LOC 76 eLOC 48 lLOC 40 Comment 5 Lines 77
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Class: test.Fibonacci
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Total: All Classes/Structs
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 37 Return 87 Cyclo Vg 141 Total 265
LOC 857 eLOC 547 lLOC 404 Comment 46 Lines 899
Function Points FP(LOC) 16.2 FP(eLOC) 10.3 FP(lLOC) 7.6
------------------------------------------------------------------------
~~ Project Class/Struct Analysis ~~
Total Classes/Structs .: 9 Total Methods .........: 87
Total Public Methods ..: 55 Total Public Attributes: 1
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. .: 124
Total Parameters ......: 37 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.11 Avg Public Attributes .: 0.11
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.78 Avg Parameters ........: 4.11
Avg Return Points .....: 9.67 Avg Comment Lines .....: 5.11
------ ----- ----- ------ ------ -----
Max Physical Lines ....: 189 Max Methods ...........: 11
Max Public Methods ....: 11 Max Public Attributes .: 1
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
------------------------------------------------------------------------
~~ Project Namespace/Package Metrics ~~
Namespace/Package: Seahunt
Total Classses 7 Total Functions 74 Avg Func/Class 10.57
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 54 Prot 0 Private 5 Total 59
Complexity Param 36 Return 74 Cyclo Vg 125 Total 235
LOC 746 eLOC 470 lLOC 365 Comment 42 Lines 781
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Namespace/Package: test
Total Classses 1 Total Functions 1 Avg Func/Class 1.00
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Total: All Namespaces/Packages
Total Classses 8 Total Functions 75 Avg Func/Class 9.38
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 36 Return 75 Cyclo Vg 127 Total 238
LOC 764 eLOC 482 lLOC 376 Comment 46 Lines 803
Function Points FP(LOC) 14.4 FP(eLOC) 9.1 FP(lLOC) 7.1
------------------------------------------------------------------------
~~ Project Namespace/Package Analysis ~~
Total Namespace/Package: 2
Total Classes/Structs .: 8 Total Methods .........: 75
Total Public Methods ..: 55 Total Public Attributes: 1
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. .: 111
Total Parameters ......: 36 Total Return Points ...: 75
Total Comment Lines ...: 46 Total Blank Lines .....: 31
------ ----- ----- ------ ------ -----
Avg Classes/Structs ...: 4.00 Avg Methods ...........: 37.50
Avg Public Methods ....: 27.50 Avg Public Attributes .: 0.50
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. ...: 55.50 Avg Parameters ........: 18.00
Avg Return Points .....: 37.50 Avg Comment Lines .....: 23.00
------ ----- ----- ------ ------ -----
Max Classes/Struct ....: 7 Max Methods ...........: 59
Max Public Methods ....: 54 Max Public Attributes .: 1
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. ...: 110 Max Parameters ........: 36
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 Keywords and Metrics ~~
--------------- LOC --------------- case, break .........: 4, 4
Lines of Code (LOC) .: 1335 if, else ............: 34, 10
Lines of just { or } : 380 goto, return ........: 0, 47
Lines of just ( or ) : 0 exit, _exit, abort ..: 0, 0, 0
Effective LOC (eLOC) : 955 macros, struct, union: 15, 0, 0
Code Statement (lLOC): 510 class, interface ....: 9, 0
-------------- Lines -------------- template, friend ....: 0, 0
Blank Lines .........: 300 namespace, package ..: 2, 0
Comment Lines .......: 119 func, virtual, inline: 95, 4, 3
Total Logical Lines .: 1754 Memory alloc, free ..: 0, 0
Total Physical Lines : 1728 Memory new, delete ..: 4, 3
------------ Key Words ------------ ------------- Analysis ------------
Literal Strings .....: 154 Continuation Lines \.: 0
Preprocessor Lines #.: 126 Paren Count (,) .....: 437, 437
#include, import ....: 45, 0 Brace Count {,} .....: 203, 203
#define, typedef ....: 8, 0 Bracket Count [,] ...: 79, 79
const, enum .........: 28, 6 Chars/NBLine, Notices: 15, 277
do, while ...........: 1, 4 Code, eCode Lines ...: 76.1%, 54.4%
switch, default .....: 1, 1 Comment, Blank Lines : 6.8%, 17.1%
for .................: 17 Characters, Spaces ..: 77.4%, 22.6%
------------------------------------------------------------------------
~~ 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
Shareware evaluation licenses process only files.
Paid licenses enable processing for an unlimited number of files.
________________________________________________________________________
~~ Performance Benchmark ~~
A process benchmark has been determined for this metrics analysis.
The elapsed time for processing is effected by the I/O response of
standard out or the redirection device. The fastest RSM benchmarks
result from redirecting the output to a file on a local file system.
The benchmark is intended for comparative purposes and is not designed
to yield a definitive result.
Process Timer
-------------------------------
Elapsed Time : 0.016 Sec
: 0:00:00:00 Day:Hr:Min:Sec
Performance Benchmark: 108000 Physical Lines Processed/s
: 1782750 Characters Parsed/s
________________________________________________________________________
Confidential - Acme Engineering