Resource Standard Metrics for C, C++ and Java
Visual Metrics Version 6.01
License Type: Shareware Evaluation License
Licensed To : Shareware End User - Distribute Freely
License No. : SW1380 License Date: Sat Dec 05 12:31:28 1998
(C) 2001 M Squared Technologies Run Date: Fri Jun 22 19:31:56 2001
________________________________________________________________________
~~ Function Metrics ~~
~~ Class/Struct Metrics ~~
~~ Quality Analysis ~~
File: cell.h
Date: Fri Jun 22 19:31:58 2001 File Size: 829 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 16 -------------------------
Class: Seahunt::Cell
Notice #34: Line 31, Class specification contains a pointer to data
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
-------------------------- Class End Line: 35 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 27 eLOC 24 lLOC 16 Comment 13 Lines 41
________________________________________________________________________
End of File: cell.h
File: game.h
Date: Fri Jun 22 19:31:58 2001 File Size: 400 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 15 -------------------------
Class: Seahunt::Game
Notice #34: Line 22, Class specification contains a pointer to data
Notice #34: Line 23, Class specification contains a pointer to data
Notice #31: Line 27, Class/Struct comments are less than 1.0%
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
-------------------------- Class End Line: 27 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 23 eLOC 19 lLOC 9 Comment 1 Lines 31
________________________________________________________________________
End of File: game.h
File: ocean.h
Date: Fri Jun 22 19:31:58 2001 File Size: 825 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 19 -------------------------
Class: Seahunt::Ocean
Notice #34: Line 38, Class specification contains a pointer to data
Notice #31: Line 41, Class/Struct comments are less than 1.0%
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
-------------------------- Class End Line: 41 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 34 eLOC 30 lLOC 20 Comment 5 Lines 47
________________________________________________________________________
End of File: ocean.h
File: player.h
Date: Fri Jun 22 19:31:58 2001 File Size: 666 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 17 -------------------------
Class: Seahunt::Player
Notice #31: Line 37, Class/Struct comments are less than 1.0%
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
-------------------------- Class End Line: 37 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 32 eLOC 28 lLOC 17 Comment 1 Lines 41
________________________________________________________________________
End of File: player.h
File: sub.h
Date: Fri Jun 22 19:31:58 2001 File Size: 456 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 15 -------------------------
Class: Seahunt::Sub
Inheritance: Target
------------------------ Function Begin Line: 22 -----------------------
Function: Seahunt::Sub::Abstract
Notice #17: Line 22, Function comment content less than 1.0%
Notice #16: Line 22, Function white space less than 1.0%
Function: Seahunt::Sub::Abstract
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
------------------------- Function End Line: 22 ------------------------
Notice #31: Line 25, Class/Struct comments are less than 1.0%
Class: Seahunt::Sub
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
-------------------------- Class End Line: 25 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 21 eLOC 18 lLOC 7 Comment 2 Lines 29
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count ...: 1 Total LOC Lines LOC ...: 1
Total eLOC Lines ......: 1 Total lLOC Lines ......: 0
Total Function Params .: 0 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 2
------ ----- ----- ------ ------ -----
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
________________________________________________________________________
End of File: sub.h
File: target.h
Date: Fri Jun 22 19:31:58 2001 File Size: 1474 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 29 -------------------------
Class: Seahunt::Target
------------------------ Function Begin Line: 47 -----------------------
Function: Seahunt::Target::Get_armor
Notice #16: Line 47, Function white space less than 1.0%
Function: Seahunt::Target::Get_armor
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
------------------------- Function End Line: 47 ------------------------
Notice #36: Line 58, Class specification contains protected data
Notice #36: Line 59, Class specification contains protected data
Notice #36: Line 60, Class specification contains protected data
Notice #36: Line 61, Class specification contains protected data
Notice #36: Line 62, Class specification contains protected data
------------------------ Function Begin Line: 66 -----------------------
Function: Seahunt::Target::Target
Function: Seahunt::Target::Target
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
------------------------- Function End Line: 69 ------------------------
Class: Seahunt::Target
Attributes Publ 0 Prot 5 Private 0 Total 5
Methods Publ 10 Prot 0 Private 1 Total 11
LOC 29 eLOC 25 lLOC 16 Comment 8 Lines 42
-------------------------- Class End Line: 71 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 46 eLOC 39 lLOC 18 Comment 17 Lines 78
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count ...: 2 Total LOC Lines LOC ...: 3
Total eLOC Lines ......: 1 Total lLOC Lines ......: 1
Total Function Params .: 1 Total Function Return .: 2
Total Cyclo Complexity : 2 Total Function Complex.: 5
------ ----- ----- ------ ------ -----
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
________________________________________________________________________
End of File: target.h
File: utility.h
Date: Fri Jun 22 19:31:58 2001 File Size: 566 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 13 -------------------------
Class: Seahunt::Utility
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
-------------------------- Class End Line: 25 --------------------------
Namespace End: Seahunt
~~ Total File Summary ~~
LOC 20 eLOC 16 lLOC 8 Comment 3 Lines 30
________________________________________________________________________
End of File: utility.h
File: cell.cpp
Date: Fri Jun 22 19:31:58 2001 File Size: 2636 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 14 -----------------------
Function: Seahunt::Cell::Cell
Notice #17: Line 20, Function comment content less than 1.0%
Function: Seahunt::Cell::Cell
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
------------------------- Function End Line: 20 ------------------------
------------------------ Function Begin Line: 23 -----------------------
Function: Seahunt::Cell::Cell
Notice #17: Line 29, Function comment content less than 1.0%
Function: Seahunt::Cell::Cell
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
------------------------- Function End Line: 29 ------------------------
------------------------ Function Begin Line: 32 -----------------------
Function: Seahunt::Cell::~Cell
Function: Seahunt::Cell::~Cell
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
------------------------- Function End Line: 34 ------------------------
------------------------ Function Begin Line: 38 -----------------------
Function: Seahunt::Cell::Set_xyz
Notice #17: Line 40, Function comment content less than 1.0%
Function: Seahunt::Cell::Set_xyz
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
------------------------- Function End Line: 40 ------------------------
------------------------ Function Begin Line: 45 -----------------------
Function: Seahunt::Cell::Get_x
Notice #17: Line 47, Function comment content less than 1.0%
Function: Seahunt::Cell::Get_x
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------- Function End Line: 47 ------------------------
------------------------ Function Begin Line: 52 -----------------------
Function: Seahunt::Cell::Get_y
Notice #17: Line 54, Function comment content less than 1.0%
Function: Seahunt::Cell::Get_y
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------- Function End Line: 54 ------------------------
------------------------ Function Begin Line: 59 -----------------------
Function: Seahunt::Cell::Get_z
Notice #17: Line 61, Function comment content less than 1.0%
Function: Seahunt::Cell::Get_z
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------- Function End Line: 61 ------------------------
------------------------ Function Begin Line: 65 -----------------------
Function: Seahunt::Cell::Set_target
Notice #17: Line 73, Function comment content less than 1.0%
Function: Seahunt::Cell::Set_target
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
------------------------- Function End Line: 73 ------------------------
------------------------ Function Begin Line: 77 -----------------------
Function: Seahunt::Cell::Get_target
Notice #17: Line 79, Function comment content less than 1.0%
Function: Seahunt::Cell::Get_target
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------- Function End Line: 79 ------------------------
------------------------ Function Begin Line: 83 -----------------------
Function: Seahunt::Cell::Hit
Notice #17: Line 109, Function comment content less than 1.0%
Function: Seahunt::Cell::Hit
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
------------------------ Function End Line: 109 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 119 -----------------------
Function: main
Function: main
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
------------------------ Function End Line: 162 ------------------------
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 127 eLOC 84 lLOC 49 Comment 13 Lines 167
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count ...: 11 Total LOC Lines LOC ...: 98
Total eLOC Lines ......: 56 Total lLOC Lines ......: 49
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
________________________________________________________________________
End of File: cell.cpp
File: game.cpp
Date: Fri Jun 22 19:31:58 2001 File Size: 1604 Bytes
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 9 ------------------------
Function: Seahunt::Game::Game
Notice #17: Line 23, Function comment content less than 1.0%
Function: Seahunt::Game::Game
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
------------------------- Function End Line: 23 ------------------------
------------------------ Function Begin Line: 26 -----------------------
Function: Seahunt::Game::~Game
Notice #17: Line 37, Function comment content less than 1.0%
Function: Seahunt::Game::~Game
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
------------------------- Function End Line: 37 ------------------------
------------------------ Function Begin Line: 41 -----------------------
Function: Seahunt::Game::Play
Notice #43: Line 63, Keyword 'continue' has been identified
Notice #43: Line 69, Keyword 'continue' has been identified
Notice #43: Line 79, Keyword 'continue' has been identified
Function: Seahunt::Game::Play
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
------------------------ Function End Line: 105 ------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 88 eLOC 53 lLOC 32 Comment 4 Lines 107
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count ...: 3 Total LOC Lines LOC ...: 80
Total eLOC Lines ......: 46 Total lLOC Lines ......: 32
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
________________________________________________________________________
End of File: game.cpp
File: ocean.cpp
Date: Fri Jun 22 19:31:58 2001 File Size: 5088 Bytes
________________________________________________________________________
Namespace Begin: Anonymous - File Scope
Namespace End: Anonymous - File Scope
Namespace Begin: Seahunt
------------------------ Function Begin Line: 28 -----------------------
Function: Seahunt::Ocean::Ocean
Notice #17: Line 35, Function comment content less than 1.0%
Function: Seahunt::Ocean::Ocean
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
------------------------- Function End Line: 35 ------------------------
------------------------ Function Begin Line: 39 -----------------------
Function: Seahunt::Ocean::Init
Notice # 7: Line 44, Pre-increment operator '++' identified
Function: Seahunt::Ocean::Init
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
------------------------- Function End Line: 58 ------------------------
------------------------ Function Begin Line: 61 -----------------------
Function: Seahunt::Ocean::~Ocean
Notice # 7: Line 63, Pre-increment operator '++' identified
Function: Seahunt::Ocean::~Ocean
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
------------------------- Function End Line: 74 ------------------------
------------------------ Function Begin Line: 78 -----------------------
Function: Seahunt::Ocean::PlaceTarget
Notice #17: Line 90, Function comment content less than 1.0%
Function: Seahunt::Ocean::PlaceTarget
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
------------------------- Function End Line: 90 ------------------------
------------------------ Function Begin Line: 94 -----------------------
Function: Seahunt::Ocean::TargetPlacement
Notice #17: Line 121, Function comment content less than 1.0%
Function: Seahunt::Ocean::TargetPlacement
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
------------------------ Function End Line: 121 ------------------------
----------------------- Function Begin Line: 125 -----------------------
Function: Seahunt::Ocean::Hit
Notice #17: Line 145, Function comment content less than 1.0%
Function: Seahunt::Ocean::Hit
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
------------------------ Function End Line: 145 ------------------------
----------------------- Function Begin Line: 149 -----------------------
Function: Seahunt::Ocean::Show
Notice # 7: Line 153, Pre-increment operator '++' identified
Notice # 7: Line 158, Pre-increment operator '++' identified
Notice # 7: Line 169, Pre-increment operator '++' identified
Notice #17: Line 185, Function comment content less than 1.0%
Function: Seahunt::Ocean::Show
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
------------------------ Function End Line: 185 ------------------------
----------------------- Function Begin Line: 189 -----------------------
Function: Seahunt::Ocean::ShowTargets
Notice # 7: Line 196, Pre-increment operator '++' identified
Notice #17: Line 205, Function comment content less than 1.0%
Function: Seahunt::Ocean::ShowTargets
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
------------------------ Function End Line: 205 ------------------------
----------------------- Function Begin Line: 209 -----------------------
Function: Seahunt::Ocean::Get_target_count
Notice #17: Line 211, Function comment content less than 1.0%
Function: Seahunt::Ocean::Get_target_count
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------ Function End Line: 211 ------------------------
----------------------- Function Begin Line: 215 -----------------------
Function: Seahunt::Ocean::Get_active_targets
Notice #17: Line 217, Function comment content less than 1.0%
Function: Seahunt::Ocean::Get_active_targets
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------ Function End Line: 217 ------------------------
----------------------- Function Begin Line: 221 -----------------------
Function: Seahunt::Ocean::Get_destroyed_targets
Notice #17: Line 223, Function comment content less than 1.0%
Function: Seahunt::Ocean::Get_destroyed_targets
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
------------------------ Function End Line: 223 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 231 -----------------------
Function: main
Notice #17: Line 250, Function comment content less than 1.0%
Function: main
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
------------------------ Function End Line: 250 ------------------------
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 217 eLOC 144 lLOC 83 Comment 7 Lines 252
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count ...: 12 Total LOC Lines LOC ...: 175
Total eLOC Lines ......: 105 Total lLOC Lines ......: 80
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
________________________________________________________________________
End of File: ocean.cpp
~~ Total Metrics For 10 Files ~~
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 635 eLOC 455 lLOC 259 Comment 66 Lines 823
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
No Sort Method
Function: Seahunt::Sub::Abstract
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function: Seahunt::Target::Get_armor
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function: Seahunt::Target::Target
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function: Seahunt::Cell::Cell
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Cell::Cell
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Cell::~Cell
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function: Seahunt::Cell::Set_xyz
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function: Seahunt::Cell::Get_x
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Get_y
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Get_z
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Set_target
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function: Seahunt::Cell::Get_target
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Hit
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function: main
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function: Seahunt::Game::Game
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function: Seahunt::Game::~Game
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function: Seahunt::Game::Play
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function: Seahunt::Ocean::Ocean
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function: Seahunt::Ocean::Init
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function: Seahunt::Ocean::~Ocean
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function: Seahunt::Ocean::PlaceTarget
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function: Seahunt::Ocean::TargetPlacement
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function: Seahunt::Ocean::Hit
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function: Seahunt::Ocean::Show
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function: Seahunt::Ocean::ShowTargets
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function: Seahunt::Ocean::Get_target_count
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Ocean::Get_active_targets
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Ocean::Get_destroyed_targets
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: main
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Total: Functions
LOC 357 eLOC 209 lLOC 162 InCmp 36 CycloCmp 70
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 29
Total Physical Lines ..: 397 Total LOC .............: 357
Total eLOC ............: 209 Total lLOC ............: 162
Total Cyclomatic Comp. : 70 Total Interface Comp. .: 36
Total Parameters ......: 7 Total Return Points ...: 29
Total Comment Lines ...: 12 Total Blank Lines .....: 30
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 13.69
Avg LOC ...............: 12.31 Avg eLOC ..............: 7.21
Avg lLOC ..............: 5.59 Avg Cyclomatic Comp. ..: 2.41
Avg Interface Comp. ...: 1.24 Avg Parameters ........: 0.24
Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.41
------ ----- ----- ------ ------ -----
Max LOC ...............: 53
Max eLOC ..............: 31 Max lLOC ..............: 21
Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 4
Max Parameters ........: 3 Max Return Points .....: 1
Max Comment Lines .....: 4 Max Total Lines .......: 65
------ ----- ----- ------ ------ -----
Min LOC ...............: 1
Min eLOC ..............: 0 Min lLOC ..............: 0
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
Min Comment Lines .....: 0 Min Total Lines .......: 1
------------------------------------------------------------------------
~~ Project Class/Struct Metrics ~~
No Sort Method
Class: Seahunt::Cell
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 9 Prot 0 Private 1 Total 10
LOC 86 eLOC 52 lLOC 45 Comment 7 Lines 87
Class: Seahunt::Game
Attributes Publ 0 Prot 0 Private 3 Total 3
Methods Publ 4 Prot 0 Private 0 Total 4
LOC 93 eLOC 57 lLOC 40 Comment 2 Lines 104
Class: Seahunt::Ocean
Attributes Publ 0 Prot 0 Private 6 Total 6
Methods Publ 9 Prot 0 Private 2 Total 11
LOC 186 eLOC 116 lLOC 89 Comment 2 Lines 189
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
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
Class: Seahunt::Target
Attributes Publ 0 Prot 5 Private 0 Total 5
Methods Publ 10 Prot 0 Private 1 Total 11
LOC 29 eLOC 25 lLOC 16 Comment 8 Lines 42
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
Total: All Classes/Structs
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 55 Prot 0 Private 5 Total 60
LOC 436 eLOC 286 lLOC 219 Comment 21 Lines 464
------------------------------------------------------------------------
~~ Project Class/Struct Analysis ~~
Total Classes/Structs .: 7 Total Methods .........: 60
Total Public Methods ..: 55 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 464 Total LOC .............: 436
Total eLOC ............: 286 Total lLOC ............: 219
Total Cyclomatic Comp. : 64 Total Interface Comp. .: 34
Total Parameters ......: 7 Total Return Points ...: 27
Total Comment Lines ...: 21 Total Blank Lines .....: 22
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 66.29 Avg Methods ...........: 8.57
Avg Public Methods ....: 7.86 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.71
Avg Private Methods ...: 0.71 Avg Private Attributes : 2.71
Avg LOC ...............: 62.29 Avg eLOC ..............: 40.86
Avg lLOC ..............: 31.29 Avg Cyclomatic Comp. ..: 9.14
Avg Interface Comp. ...: 4.86 Avg Parameters ........: 1.00
Avg Return Points .....: 3.86 Avg Comment Lines .....: 3.00
------ ----- ----- ------ ------ -----
Max Physical Lines ....: 189 Max Methods ...........: 11
Max Public Methods ....: 11 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 2 Max Private Attributes : 6
Max LOC ...............: 186 Max eLOC ..............: 116
Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31
Max Interface Comp. ...: 15 Max Parameters ........: 5
Max Return Points .....: 11 Max Comment Lines .....: 8
------ ----- ----- ------ ------ -----
Min Physical Lines ....: 10 Min Methods ...........: 4
Min Public Methods ....: 4 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 11 Min eLOC ..............: 9
Min lLOC ..............: 6 Min Cyclomatic Comp. ..: 0
Min Interface Comp. ...: 0 Min Parameters ........: 0
Min Return Points .....: 0 Min Comment Lines .....: 0
------------------------------------------------------------------------
~~ Project Namespace/Package Metrics ~~
No Sort Method
Namespace/Package: Seahunt
Total Classses 7 Total Functions 60 Avg Func/Class 8.57
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 55 Prot 0 Private 5 Total 60
LOC 436 eLOC 286 lLOC 219 Comment 21 Lines 464
Total: All Namespaces/Packages
Total Classses 7 Total Functions 60 Avg Func/Class 8.57
Attributes Publ 0 Prot 5 Private 19 Total 24
Methods Publ 55 Prot 0 Private 5 Total 60
LOC 436 eLOC 286 lLOC 219 Comment 21 Lines 464
------------------------------------------------------------------------
~~ Project Namespace/Package Analysis ~~
Total Namespace/Package: 1
Total Classes/Structs .: 7 Total Methods .........: 60
Total Public Methods ..: 55 Total Public Attributes: 0
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 464 Total LOC .............: 436
Total eLOC ............: 286 Total lLOC ............: 219
Total Cyclomatic Comp. : 64 Total Interface Comp. .: 34
Total Parameters ......: 7 Total Return Points ...: 27
Total Comment Lines ...: 21 Total Blank Lines .....: 22
------ ----- ----- ------ ------ -----
Avg Classes/Structs ...: 7.00 Avg Methods ...........: 60.00
Avg Public Methods ....: 55.00 Avg Public Attributes .: 0.00
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 5.00
Avg Private Methods ...: 5.00 Avg Private Attributes : 19.00
Avg LOC ...............: 436.00 Avg eLOC ..............: 286.00
Avg lLOC ..............: 219.00 Avg Cyclomatic Comp. ..: 64.00
Avg Interface Comp. ...: 34.00 Avg Parameters ........: 7.00
Avg Return Points .....: 27.00 Avg Comment Lines .....: 21.00
------ ----- ----- ------ ------ -----
Max Classes/Struct ....: 7 Max Methods ...........: 60
Max Public Methods ....: 55 Max Public Attributes .: 0
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 5 Max Private Attributes : 19
Max LOC ...............: 436 Max eLOC ..............: 286
Max lLOC ..............: 219 Max Cyclomatic Comp. ..: 64
Max Interface Comp. ...: 34 Max Parameters ........: 7
Max Return Points .....: 27 Max Comment Lines .....: 21
------ ----- ----- ------ ------ -----
Min Classes/Structs ...: 7 Min Methods ...........: 60
Min Public Methods ....: 55 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 5
Min Private Methods ...: 5 Min Private Attributes : 19
Min LOC ...............: 436 Min eLOC ..............: 286
Min lLOC ..............: 219 Min Cyclomatic Comp. ..: 64
Min Interface Comp. ...: 34 Min Parameters ........: 7
Min Return Points .....: 27 Min Comment Lines .....: 21
------------------------------------------------------------------------
~~ Project Quality Profile ~~
Type Count Percent Quality Notice
________________________________________________________________________
7 6 13.04 Pre-increment operator '++' identified
16 2 4.35 Function white space less than 1.0%
17 22 47.83 Function comment content less than 1.0%
31 4 8.70 Class/Struct comments are less than 1.0%
34 4 8.70 Class specification contains a pointer to data
36 5 10.87 Class specification contains protected data
43 3 6.52 Keyword 'continue' has been identified
________________________________________________________________________
46 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 72.4 ( 7.24%)
Quality Notices/K eLOC = 101.1 ( 10.11%)
Quality Notices/K lLOC = 177.6 ( 17.76%)
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 0 C/C++ Include Files *.h: 7
C++ Source Files *.c* .: 3 C++ Include Files *.h* : 0
Other Source Files ....: 0 Java Source File *.jav*: 0
Total File Count ......: 10
Shareware evaluation licenses process only files.
Paid licenses enable wild cards and file/project totals.
________________________________________________________________________