Resource Standard Metrics for C, C++ and Java Visual Metrics Version 5.53 License Type: Site Multi-Network License - 10000 Users Licensed To : M Squared Technologies License No. : ST1000 License Date: Fri Jun 25 06:09:01 1999 (C) 2000 M Squared Technologies Run Date: Tue Oct 10 21:45:32 2000 ________________________________________________________________________ ~~ Function Metrics ~~ ~~ Class Metrics ~~ ~~ Quality Analysis ~~ File: cell.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 2636 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 14 ----------------------- Function: Seahunt::Cell::Cell NOTICE #17: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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 ------------------------ NOTICE #20: File comment line percentage, 9.3% is less than 10.0% ------------------------------------------------------------------------ ~~ 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: cell.h Date: Tue Oct 10 21:45:28 2000 File Size: 829 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 15 ------------------------- Class: Seahunt::Cell NOTICE #34: Line 31, A pointer to a data object has been detected within the specification for a class. This class must be inspected to insure proper memory allocation and de-allocation. This class must implement a public copy constructor or a private copy constructor where by the compiler will enforce no pass-by-value. Class: Seahunt::Cell Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 9 Prot 0 Private 1 Total 10 LOC 20 eLOC 18 lLOC 15 Comment 6 Lines 21 -------------------------- 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.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1604 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 9 ------------------------ Function: Seahunt::Game::Game NOTICE #17: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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, The keyword 'continue' has been found. The use of 'continue' can create code which is difficult to maintain where the logic flow jumps to the beginning of the framing control structure. NOTICE #43: Line 69, The keyword 'continue' has been found. The use of 'continue' can create code which is difficult to maintain where the logic flow jumps to the beginning of the framing control structure. NOTICE #43: Line 79, The keyword 'continue' has been found. The use of 'continue' can create code which is difficult to maintain where the logic flow jumps to the beginning of the framing control structure. NOTICE #17: Function comments, 3.6% are less than 10%. Function: Seahunt::Game::Play LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65 ------------------------ Function End Line: 105 ------------------------ Namespace End: Seahunt NOTICE #20: File comment line percentage, 4.3% is less than 10.0% ------------------------------------------------------------------------ ~~ 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: game.h Date: Tue Oct 10 21:45:28 2000 File Size: 400 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 14 ------------------------- Class: Seahunt::Game NOTICE #34: Line 22, A pointer to a data object has been detected within the specification for a class. This class must be inspected to insure proper memory allocation and de-allocation. This class must implement a public copy constructor or a private copy constructor where by the compiler will enforce no pass-by-value. NOTICE #34: Line 23, A pointer to a data object has been detected within the specification for a class. This class must be inspected to insure proper memory allocation and de-allocation. This class must implement a public copy constructor or a private copy constructor where by the compiler will enforce no pass-by-value. NOTICE #31: Class comments, 0.0% are less than 10%. Class: Seahunt::Game Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 4 Prot 0 Private 0 Total 4 LOC 14 eLOC 12 lLOC 8 Comment 0 Lines 14 -------------------------- Class End Line: 27 -------------------------- Namespace End: Seahunt NOTICE #20: File comment line percentage, 4.2% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 23 eLOC 19 lLOC 9 Comment 1 Lines 31 ________________________________________________________________________ End of File: game.h File: ocean.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 5088 Bytes ________________________________________________________________________ Namespace Begin: Anonymous - File Scope NOTICE #1: Line 20, Line character length = 81. This width exceeds the standard terminal width of 80 characters. Namespace End: Anonymous - File Scope Namespace Begin: Seahunt ------------------------ Function Begin Line: 28 ----------------------- Function: Seahunt::Ocean::Ocean NOTICE #17: Function comments, 0.0% are less than 10%. 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. This can be a problematic construct in compound statements. NOTICE #17: Function comments, 5.3% are less than 10%. 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. This can be a problematic construct in compound statements. NOTICE #17: Function comments, 7.1% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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 #1: Line 107, Line character length = 83. This width exceeds the standard terminal width of 80 characters. NOTICE #17: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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. This can be a problematic construct in compound statements. NOTICE #7: Line 158, pre-increment '++ operator' identified. This can be a problematic construct in compound statements. NOTICE #7: Line 169, pre-increment '++ operator' identified. This can be a problematic construct in compound statements. NOTICE #17: Function comments, 0.0% are less than 10%. 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. This can be a problematic construct in compound statements. NOTICE #17: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. 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: Function comments, 0.0% are less than 10%. Function: main LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20 ------------------------ Function End Line: 250 ------------------------ NOTICE #20: File comment line percentage, 3.1% is less than 10.0% ------------------------------------------------------------------------ ~~ 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 File: ocean.h Date: Tue Oct 10 21:45:28 2000 File Size: 825 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 18 ------------------------- Class: Seahunt::Ocean NOTICE #34: Line 38, A pointer to a data object has been detected within the specification for a class. This class must be inspected to insure proper memory allocation and de-allocation. This class must implement a public copy constructor or a private copy constructor where by the compiler will enforce no pass-by-value. NOTICE #31: Class comments, 0.0% are less than 10%. Class: Seahunt::Ocean Attributes Publ 0 Prot 0 Private 6 Total 6 Methods Publ 9 Prot 0 Private 2 Total 11 LOC 24 eLOC 22 lLOC 19 Comment 0 Lines 24 -------------------------- 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.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1922 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 9 ------------------------ Function: Seahunt::Player::Player NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Player LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 ------------------------- Function End Line: 15 ------------------------ ------------------------ Function Begin Line: 18 ----------------------- Function: Seahunt::Player::Player NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Player LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 ------------------------- Function End Line: 24 ------------------------ ------------------------ Function Begin Line: 27 ----------------------- Function: Seahunt::Player::~Player Function: Seahunt::Player::~Player LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3 ------------------------- Function End Line: 29 ------------------------ ------------------------ Function Begin Line: 33 ----------------------- Function: Seahunt::Player::Hit NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Hit LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10 ------------------------- Function End Line: 42 ------------------------ ------------------------ Function Begin Line: 46 ----------------------- Function: Seahunt::Player::Score NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Score LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 ------------------------- Function End Line: 51 ------------------------ ------------------------ Function Begin Line: 55 ----------------------- Function: Seahunt::Player::Show NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Show LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18 ------------------------- Function End Line: 72 ------------------------ ------------------------ Function Begin Line: 76 ----------------------- Function: Seahunt::Player::Get_score NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Get_score LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 78 ------------------------ ------------------------ Function Begin Line: 82 ----------------------- Function: Seahunt::Player::Get_number_hits NOTICE #17: Function comments, 0.0% are less than 10%. NOTICE #16: Function white space, 8.7% is less than 10%. Function: Seahunt::Player::Get_number_hits LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 84 ------------------------ ------------------------ Function Begin Line: 88 ----------------------- Function: Seahunt::Player::Get_number_tries NOTICE #17: Function comments, 0.0% are less than 10%. NOTICE #16: Function white space, 8.3% is less than 10%. Function: Seahunt::Player::Get_number_tries LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 90 ------------------------ ------------------------ Function Begin Line: 94 ----------------------- Function: Seahunt::Player::Get_name NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Get_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 96 ------------------------ ----------------------- Function Begin Line: 100 ----------------------- Function: Seahunt::Player::Set_name NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Player::Set_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------ Function End Line: 102 ------------------------ Namespace End: Seahunt ----------------------- Function Begin Line: 109 ----------------------- Function: main NOTICE #17: Function comments, 0.0% are less than 10%. Function: main LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10 ------------------------ Function End Line: 118 ------------------------ NOTICE #20: File comment line percentage, 2.9% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 100 eLOC 71 lLOC 38 Comment 3 Lines 126 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 12 Total LOC Lines LOC ...: 73 Total eLOC Lines ......: 45 Total lLOC Lines ......: 38 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 ________________________________________________________________________ End of File: player.cpp File: player.h Date: Tue Oct 10 21:45:28 2000 File Size: 666 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 16 ------------------------- Class: Seahunt::Player NOTICE #31: Class comments, 0.0% are less than 10%. Class: Seahunt::Player Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 11 Prot 0 Private 0 Total 11 LOC 21 eLOC 19 lLOC 16 Comment 0 Lines 22 -------------------------- Class End Line: 37 -------------------------- Namespace End: Seahunt NOTICE #20: File comment line percentage, 3.0% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 32 eLOC 28 lLOC 17 Comment 1 Lines 41 ________________________________________________________________________ End of File: player.h File: seahunt.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 201 Bytes ________________________________________________________________________ ------------------------ Function Begin Line: 11 ----------------------- Function: main NOTICE #17: Function comments, 0.0% are less than 10%. Function: main LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6 ------------------------- Function End Line: 16 ------------------------ NOTICE #20: File comment line percentage, 7.7% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 12 eLOC 10 lLOC 4 Comment 1 Lines 18 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 1 Total LOC Lines LOC ...: 6 Total eLOC Lines ......: 4 Total lLOC Lines ......: 4 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 ________________________________________________________________________ End of File: seahunt.cpp File: sub.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1418 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 12 ----------------------- Function: Seahunt::Sub::Create NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::Create LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11 ------------------------- Function End Line: 22 ------------------------ ------------------------ Function Begin Line: 26 ----------------------- Function: Seahunt::Sub::Create NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::Create LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 ------------------------- Function End Line: 29 ------------------------ ------------------------ Function Begin Line: 33 ----------------------- Function: Seahunt::Sub::Sub NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::Sub LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 ------------------------- Function End Line: 37 ------------------------ ------------------------ Function Begin Line: 40 ----------------------- Function: Seahunt::Sub::~Sub NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::~Sub LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 ------------------------- Function End Line: 44 ------------------------ ------------------------ Function Begin Line: 48 ----------------------- Function: Seahunt::Sub::Show NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::Show LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 ------------------------- Function End Line: 52 ------------------------ ------------------------ Function Begin Line: 56 ----------------------- Function: Seahunt::Sub::Hit NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Sub::Hit LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11 ------------------------- Function End Line: 66 ------------------------ Namespace End: Seahunt ------------------------ Function Begin Line: 73 ----------------------- Function: main NOTICE #17: Function comments, 0.0% are less than 10%. Function: main LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15 ------------------------- Function End Line: 87 ------------------------ NOTICE #20: File comment line percentage, 4.0% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 72 eLOC 53 lLOC 28 Comment 3 Lines 91 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 7 Total LOC Lines LOC ...: 52 Total eLOC Lines ......: 34 Total lLOC Lines ......: 28 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 ________________________________________________________________________ End of File: sub.cpp File: sub.h Date: Tue Oct 10 21:45:28 2000 File Size: 456 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 14 ------------------------- Class: Seahunt::Sub Inheritance: Target ------------------------ Function Begin Line: 22 ----------------------- Function: Seahunt::Sub::Abstract NOTICE #17: Function comments, 0.0% are less than 10%. NOTICE #16: Function white space, 0.0% is less than 10%. Function: Seahunt::Sub::Abstract LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 ------------------------- Function End Line: 22 ------------------------ NOTICE #31: Class comments, 0.0% are less than 10%. Class: Seahunt::Sub Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 1 Total 7 LOC 12 eLOC 10 lLOC 6 Comment 0 Lines 12 -------------------------- Class End Line: 25 -------------------------- Namespace End: Seahunt NOTICE #20: File comment line percentage, 8.7% is less than 10.0% ------------------------------------------------------------------------ ~~ 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.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1580 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 17 ----------------------- Function: Seahunt::Target::Target NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Target LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11 ------------------------- Function End Line: 27 ------------------------ ------------------------ Function Begin Line: 30 ----------------------- Function: Seahunt::Target::~Target NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::~Target LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 ------------------------- Function End Line: 35 ------------------------ ------------------------ Function Begin Line: 39 ----------------------- Function: Seahunt::Target::Get_status NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Get_status LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 41 ------------------------ ------------------------ Function Begin Line: 45 ----------------------- Function: Seahunt::Target::Get_depth_limit NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Get_depth_limit LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 47 ------------------------ ------------------------ Function Begin Line: 51 ----------------------- Function: Seahunt::Target::Get_name NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Get_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 53 ------------------------ ------------------------ Function Begin Line: 57 ----------------------- Function: Seahunt::Target::Hit NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Hit LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21 ------------------------- Function End Line: 77 ------------------------ ------------------------ Function Begin Line: 81 ----------------------- Function: Seahunt::Target::Reset NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Reset LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 ------------------------- Function End Line: 84 ------------------------ ------------------------ Function Begin Line: 88 ----------------------- Function: Seahunt::Target::Show NOTICE #1: Line 92, Line character length = 84. This width exceeds the standard terminal width of 80 characters. NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Target::Show LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6 ------------------------- Function End Line: 93 ------------------------ Namespace End: Seahunt ----------------------- Function Begin Line: 100 ----------------------- Function: main NOTICE #17: Function comments, 0.0% are less than 10%. Function: main LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16 ------------------------ Function End Line: 115 ------------------------ NOTICE #20: File comment line percentage, 3.9% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 98 eLOC 69 lLOC 33 Comment 4 Lines 119 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 9 Total LOC Lines LOC ...: 69 Total eLOC Lines ......: 43 Total lLOC Lines ......: 32 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 ________________________________________________________________________ End of File: target.cpp File: target.h Date: Tue Oct 10 21:45:28 2000 File Size: 1474 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 28 ------------------------- Class: Seahunt::Target ------------------------ Function Begin Line: 47 ----------------------- Function: Seahunt::Target::Get_armor NOTICE #16: Function white space, 0.0% is less than 10%. Function: Seahunt::Target::Get_armor LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 ------------------------- Function End Line: 47 ------------------------ NOTICE #36: Line 58, Protected data has been identified with a class specification. This design allows the protected data to be freely access down the inheritance tree. NOTICE #36: Line 59, Protected data has been identified with a class specification. This design allows the protected data to be freely access down the inheritance tree. NOTICE #36: Line 60, Protected data has been identified with a class specification. This design allows the protected data to be freely access down the inheritance tree. NOTICE #36: Line 61, Protected data has been identified with a class specification. This design allows the protected data to be freely access down the inheritance tree. NOTICE #36: Line 62, Protected data has been identified with a class specification. This design allows the protected data to be freely access down the inheritance tree. ------------------------ 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 30 eLOC 26 lLOC 16 Comment 8 Lines 44 -------------------------- 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.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1778 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 15 ----------------------- Function: Seahunt::Utility::itos Function: Seahunt::Utility::itos LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 ------------------------- Function End Line: 21 ------------------------ ------------------------ Function Begin Line: 26 ----------------------- Function: Seahunt::Utility::dtos Function: Seahunt::Utility::dtos LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 ------------------------- Function End Line: 32 ------------------------ ------------------------ Function Begin Line: 36 ----------------------- Function: Seahunt::Utility::UserEntry NOTICE #7: Line 46, pre-increment '++ operator' identified. This can be a problematic construct in compound statements. NOTICE #44: Line 55, The keyword 'break' has been identified outside a 'switch' logic control structure. The use of 'break' interrupts the linear logic flow and can create source code which is difficult to maintain. NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Utility::UserEntry LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37 ------------------------- Function End Line: 72 ------------------------ ------------------------ Function Begin Line: 76 ----------------------- Function: Seahunt::Utility::UserEntry Function: Seahunt::Utility::UserEntry LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6 ------------------------- Function End Line: 81 ------------------------ ------------------------ Function Begin Line: 85 ----------------------- Function: Seahunt::Utility::WaitKey NOTICE #17: Function comments, 0.0% are less than 10%. Function: Seahunt::Utility::WaitKey LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 ------------------------- Function End Line: 89 ------------------------ ------------------------ Function Begin Line: 93 ----------------------- Function: Seahunt::Utility::ClearScreen NOTICE #17: Function comments, 0.0% are less than 10%. NOTICE #16: Function white space, 7.5% is less than 10%. Function: Seahunt::Utility::ClearScreen LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 ------------------------- Function End Line: 95 ------------------------ Namespace End: Seahunt NOTICE #20: File comment line percentage, 4.5% is less than 10.0% ------------------------------------------------------------------------ ~~ Total File Summary ~~ LOC 84 eLOC 56 lLOC 33 Comment 4 Lines 98 ------------------------------------------------------------------------ ~~ File Functional Summary ~~ File Function Count ...: 6 Total LOC Lines LOC ...: 65 Total eLOC Lines ......: 39 Total lLOC Lines ......: 33 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 ________________________________________________________________________ End of File: utility.cpp File: utility.h Date: Tue Oct 10 21:45:28 2000 File Size: 566 Bytes ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 12 ------------------------- 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 12 eLOC 10 lLOC 7 Comment 2 Lines 14 -------------------------- 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 ~~ Total Metrics For 15 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 1001 eLOC 714 lLOC 395 Comment 81 Lines 1275 ------------------------------------------------------------------------ ~~ Project Functional Metrics ~~ Sorted By Name 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::Get_target LOC 3 eLOC 1 lLOC 1 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::Hit LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27 Function: Seahunt::Cell::Set_target LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9 Function: Seahunt::Cell::Set_xyz LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3 Function: Seahunt::Cell::~Cell LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3 Function: Seahunt::Game::Game LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15 Function: Seahunt::Game::Play LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65 Function: Seahunt::Game::~Game LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12 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: Seahunt::Ocean::Get_target_count LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Ocean::Hit LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21 Function: Seahunt::Ocean::Init LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20 Function: Seahunt::Ocean::Ocean LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8 Function: Seahunt::Ocean::PlaceTarget LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13 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::TargetPlacement LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28 Function: Seahunt::Ocean::~Ocean LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14 Function: Seahunt::Player::Get_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Player::Get_number_hits LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Player::Get_number_tries LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Player::Get_score LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Player::Hit LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10 Function: Seahunt::Player::Player LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 Function: Seahunt::Player::Player LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 Function: Seahunt::Player::Score LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 Function: Seahunt::Player::Set_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Player::Show LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18 Function: Seahunt::Player::~Player LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3 Function: Seahunt::Sub::Abstract LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 Function: Seahunt::Sub::Create LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11 Function: Seahunt::Sub::Create LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function: Seahunt::Sub::Hit LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11 Function: Seahunt::Sub::Show LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 Function: Seahunt::Sub::Sub LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 Function: Seahunt::Sub::~Sub LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 Function: Seahunt::Target::Get_armor LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 Function: Seahunt::Target::Get_depth_limit LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Target::Get_name LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Target::Get_status LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Target::Hit LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21 Function: Seahunt::Target::Reset LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function: Seahunt::Target::Show LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6 Function: Seahunt::Target::Target LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11 Function: Seahunt::Target::Target LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4 Function: Seahunt::Target::~Target LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 Function: Seahunt::Utility::ClearScreen LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function: Seahunt::Utility::UserEntry LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37 Function: Seahunt::Utility::UserEntry LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6 Function: Seahunt::Utility::WaitKey LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 Function: Seahunt::Utility::dtos LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 Function: Seahunt::Utility::itos LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 Function: main LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44 Function: main LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20 Function: main LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10 Function: main LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6 Function: main LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15 Function: main LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16 Total: Functions LOC 622 eLOC 374 lLOC 297 InCmp 93 CycloCmp 118 ------------------------------------------------------------------------ ~~ Project Functional Analysis ~~ Total Functions .......: 64 Total Physical Lines ..: 673 Total LOC .............: 622 Total eLOC ............: 374 Total lLOC ............: 297 Total Cyclomatic Comp. : 118 Total Interface Comp. .: 93 Total Parameters ......: 29 Total Return Points ...: 64 Total Comment Lines ...: 16 Total Blank Lines .....: 40 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 10.52 Avg LOC ...............: 9.72 Avg eLOC ..............: 5.84 Avg lLOC ..............: 4.64 Avg Cyclomatic Comp. ..: 1.84 Avg Interface Comp. ...: 1.45 Avg Parameters ........: 0.45 Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.25 ------ ----- ----- ------ ------ ----- Max LOC ...............: 53 Max eLOC ..............: 31 Max lLOC ..............: 21 Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 5 Max Parameters ........: 4 Max Return Points .....: 1 Max Comment Lines .....: 4 Max Total Lines .......: 65 ------ ----- ----- ------ ------ ----- Min LOC ...............: 1 Min eLOC ..............: 0 Min lLOC ..............: 0 Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 Min Parameters ........: 0 Min Return Points .....: 1 Min Comment Lines .....: 0 Min Total Lines .......: 1 ------------------------------------------------------------------------ ~~ Project Class Metrics ~~ Sorted By Name Class: Seahunt::Cell Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 9 Prot 0 Private 1 Total 10 LOC 87 eLOC 53 lLOC 45 Comment 7 Lines 89 Class: Seahunt::Game Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 4 Prot 0 Private 0 Total 4 LOC 94 eLOC 58 lLOC 40 Comment 2 Lines 106 Class: Seahunt::Ocean Attributes Publ 0 Prot 0 Private 6 Total 6 Methods Publ 9 Prot 0 Private 2 Total 11 LOC 187 eLOC 117 lLOC 89 Comment 2 Lines 191 Class: Seahunt::Player Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 11 Prot 0 Private 0 Total 11 LOC 86 eLOC 58 lLOC 48 Comment 1 Lines 88 Class: Seahunt::Sub Inheritance: Target Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 1 Total 7 LOC 53 eLOC 35 lLOC 25 Comment 0 Lines 53 Class: Seahunt::Target Attributes Publ 0 Prot 5 Private 0 Total 5 Methods Publ 10 Prot 0 Private 1 Total 11 LOC 87 eLOC 59 lLOC 38 Comment 8 Lines 101 Class: Seahunt::Utility Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 0 Total 6 LOC 77 eLOC 49 lLOC 40 Comment 5 Lines 79 Total: All Classes Attributes Publ 0 Prot 5 Private 19 Total 24 Methods Publ 55 Prot 0 Private 5 Total 60 LOC 671 eLOC 429 lLOC 325 Comment 25 Lines 707 ------------------------------------------------------------------------ ~~ Project Class Analysis ~~ Total Classes .........: 7 Total Methods .........: 60 Total Public Methods ..: 55 Total Public Attributes: 0 Total Protected Methods: 0 Total Protected Attrib.: 5 Total Private Methods .: 5 Total Private Attrib. .: 19 Total Physical Lines ..: 707 Total LOC .............: 671 Total eLOC ............: 429 Total lLOC ............: 325 Total Cyclomatic Comp. : 108 Total Interface Comp. .: 87 Total Parameters ......: 29 Total Return Points ...: 58 Total Comment Lines ...: 25 Total Blank Lines .....: 22 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 101.00 Avg Methods ...........: 8.57 Avg Public Methods ....: 7.86 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Arrtib. .: 0.71 Avg Private Methods ...: 0.71 Avg Private Attributes : 2.71 Avg LOC ...............: 95.86 Avg eLOC ..............: 61.29 Avg lLOC ..............: 46.43 Avg Cyclomatic Comp. ..: 15.43 Avg Interface Comp. ...: 12.43 Avg Parameters ........: 4.14 Avg Return Points .....: 8.29 Avg Comment Lines .....: 3.57 ------ ----- ----- ------ ------ ----- Max Physical Lines ....: 191 Max Methods ...........: 11 Max Public Methods ....: 11 Max Public Attributes .: 0 Max Protected Methods .: 0 Max Protected Arrtib. .: 5 Max Private Methods ...: 2 Max Private Attributes : 6 Max LOC ...............: 187 Max eLOC ..............: 117 Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31 Max Interface Comp. ...: 15 Max Parameters ........: 9 Max Return Points .....: 11 Max Comment Lines .....: 8 ------ ----- ----- ------ ------ ----- Min Physical Lines ....: 53 Min Methods ...........: 4 Min Public Methods ....: 4 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Arrtib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 0 Min LOC ...............: 53 Min eLOC ..............: 35 Min lLOC ..............: 25 Min Cyclomatic Comp. ..: 9 Min Interface Comp. ...: 3 Min Parameters ........: 0 Min Return Points .....: 3 Min Comment Lines .....: 0 ------------------------------------------------------------------------ ~~ Project Namespace/Package Metrics ~~ Sorted By Name 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 671 eLOC 429 lLOC 325 Comment 25 Lines 707 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 671 eLOC 429 lLOC 325 Comment 25 Lines 707 ------------------------------------------------------------------------ ~~ Project Namespace/Package Analysis ~~ Total Namespace/Package: 1 Total Classes .........: 7 Total Methods .........: 60 Total Public Methods ..: 55 Total Public Attributes: 0 Total Protected Methods: 0 Total Protected Attrib.: 5 Total Private Methods .: 5 Total Private Attrib. .: 19 Total Physical Lines ..: 707 Total LOC .............: 671 Total eLOC ............: 429 Total lLOC ............: 325 Total Cyclomatic Comp. : 108 Total Interface Comp. .: 87 Total Parameters ......: 29 Total Return Points ...: 58 Total Comment Lines ...: 25 Total Blank Lines .....: 22 ------ ----- ----- ------ ------ ----- Avg Classes ...........: 7.00 Avg Methods ...........: 60.00 Avg Public Methods ....: 55.00 Avg Public Attributes .: 0.00 Avg Protected Methods .: 0.00 Avg Protected Arrtib. .: 5.00 Avg Private Methods ...: 5.00 Avg Private Attributes : 19.00 Avg LOC ...............: 671.00 Avg eLOC ..............: 429.00 Avg lLOC ..............: 325.00 Avg Cyclomatic Comp. ..: 108.00 Avg Interface Comp. ...: 87.00 Avg Parameters ........: 29.00 Avg Return Points .....: 58.00 Avg Comment Lines .....: 25.00 ------ ----- ----- ------ ------ ----- Max Classes ...........: 7 Max Methods ...........: 60 Max Public Methods ....: 55 Max Public Attributes .: 0 Max Protected Methods .: 0 Max Protected Arrtib. .: 5 Max Private Methods ...: 5 Max Private Attributes : 19 Max LOC ...............: 671 Max eLOC ..............: 429 Max lLOC ..............: 325 Max Cyclomatic Comp. ..: 108 Max Interface Comp. ...: 87 Max Parameters ........: 29 Max Return Points .....: 58 Max Comment Lines .....: 25 ------ ----- ----- ------ ------ ----- Min Classes ...........: 7 Min Methods ...........: 60 Min Public Methods ....: 55 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Arrtib. .: 5 Min Private Methods ...: 5 Min Private Attributes : 19 Min LOC ...............: 671 Min eLOC ..............: 429 Min lLOC ..............: 325 Min Cyclomatic Comp. ..: 108 Min Interface Comp. ...: 87 Min Parameters ........: 29 Min Return Points .....: 58 Min Comment Lines .....: 25 ------------------------------------------------------------------------ ~~ Project Quality Profile ~~ Type Count Percent Quality Notice ________________________________________________________________________ 1 3 3.03 Physical line length exceeds 80 characters 7 7 7.07 Pre-increment operator '++' identified 16 5 5.05 Function white space less than 10.0% 17 56 56.57 Function comment content less than 10.0% 20 11 11.11 File comment content less 10.0% 31 4 4.04 Class comments are less than 10.0% 34 4 4.04 Class specification contains a pointer to data 36 5 5.05 Class specification contains protected data 43 3 3.03 Keyword 'continue' has been identified 44 1 1.01 Keyword 'break' identified outside a 'switch' structure ________________________________________________________________________ 99 100.00 Total Quality Notices ~~ Quality Notice Density ~~ Basis: 1000 (K) Quality Notices/K LOC = 98.9 ( 9.89%) Quality Notices/K eLOC = 138.7 ( 13.87%) Quality Notices/K lLOC = 250.6 ( 25.06%) ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 0 C/C++ Include Files *.h: 7 C++ Source Files *.c* .: 8 C++ Include Files *.h* : 0 Other Source Files ....: 0 Java Source File *.jav*: 0 Total File Count ......: 15 ________________________________________________________________________