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 ~~ File: cell.cpp Date: Fri Jun 22 19:31:58 2001 File Size: 2636 Bytes ________________________________________________________________________ Function: Seahunt::Cell::Cell Function: Seahunt::Cell::Cell Function: Seahunt::Cell::~Cell Function: Seahunt::Cell::Set_xyz Inline Function: Seahunt::Cell::Get_x Inline Function: Seahunt::Cell::Get_y Inline Function: Seahunt::Cell::Get_z Function: Seahunt::Cell::Set_target Function: Seahunt::Cell::Get_target Function: Seahunt::Cell::Hit Function: main ------------------------------------------------------------------------ ~~ 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 ________________________________________________________________________ Function: Seahunt::Game::Game Function: Seahunt::Game::~Game Function: Seahunt::Game::Play ------------------------------------------------------------------------ ~~ 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 ________________________________________________________________________ Function: Seahunt::Ocean::Ocean Function: Seahunt::Ocean::Init Function: Seahunt::Ocean::~Ocean Function: Seahunt::Ocean::PlaceTarget Function: Seahunt::Ocean::TargetPlacement Function: Seahunt::Ocean::Hit Function: Seahunt::Ocean::Show Function: Seahunt::Ocean::ShowTargets Function: Seahunt::Ocean::Get_target_count Function: Seahunt::Ocean::Get_active_targets Function: Seahunt::Ocean::Get_destroyed_targets Function: main ------------------------------------------------------------------------ ~~ 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: player.cpp Date: Sun Jan 07 12:36:10 2001 File Size: 1922 Bytes ________________________________________________________________________ Function: Seahunt::Player::Player Function: Seahunt::Player::Player Function: Seahunt::Player::~Player Function: Seahunt::Player::Hit Function: Seahunt::Player::Score Function: Seahunt::Player::Show Function: Seahunt::Player::Get_score Function: Seahunt::Player::Get_number_hits Function: Seahunt::Player::Get_number_tries Function: Seahunt::Player::Get_name Function: Seahunt::Player::Set_name Function: main ------------------------------------------------------------------------ ~~ 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: seahunt.cpp Date: Sun Jan 07 12:36:10 2001 File Size: 201 Bytes ________________________________________________________________________ Function: main ------------------------------------------------------------------------ ~~ 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: Sun Jan 07 12:36:10 2001 File Size: 1418 Bytes ________________________________________________________________________ Function: Seahunt::Sub::Create Function: Seahunt::Sub::Create Function: Seahunt::Sub::Sub Function: Seahunt::Sub::~Sub Function: Seahunt::Sub::Show Function: Seahunt::Sub::Hit Function: main ------------------------------------------------------------------------ ~~ 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: target.cpp Date: Sun Jan 07 12:36:10 2001 File Size: 1580 Bytes ________________________________________________________________________ Function: Seahunt::Target::Target Function: Seahunt::Target::~Target Function: Seahunt::Target::Get_status Function: Seahunt::Target::Get_depth_limit Function: Seahunt::Target::Get_name Function: Seahunt::Target::Hit Function: Seahunt::Target::Reset Function: Seahunt::Target::Show Function: main ------------------------------------------------------------------------ ~~ 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: utility.cpp Date: Sun Jan 07 12:36:10 2001 File Size: 1778 Bytes ________________________________________________________________________ Function: Seahunt::Utility::itos Function: Seahunt::Utility::dtos Function: Seahunt::Utility::UserEntry Function: Seahunt::Utility::UserEntry Function: Seahunt::Utility::WaitKey Function: Seahunt::Utility::ClearScreen ------------------------------------------------------------------------ ~~ 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 ~~ Total Metrics For 8 Files ~~ ------------------------------------------------------------------------ ~~ Total Project Summary ~~ LOC 798 eLOC 540 lLOC 300 Comment 39 Lines 978 ------------------------------------------------------------------------ ~~ File Summary ~~ C Source Files *.c ....: 0 C/C++ Include Files *.h: 0 C++ Source Files *.c* .: 8 C++ Include Files *.h* : 0 Other Source Files ....: 0 Java Source File *.jav*: 0 Total File Count ......: 8 Shareware evaluation licenses process only 10 files. Paid licenses enable wild cards and file/project totals. ________________________________________________________________________