Confidential - Acme Engineering
Resource Standard Metrics™ for C, C++, C# and Java
Version 7.75 - mSquaredTechnologies.com
License Type: Shareware Evaluation License
Licensed To : Shareware End User - Distribute Freely
License No. : SW1380 License Date: Dec 05, 1998
Build Date : Aug 16 2009 Run Date: Aug 16, 2009
©1996-2009 M Squared Technologies LLC™
________________________________________________________________________
License File: C:\Program Files\MSquared\M2 RSM\rsm.lic
Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg
Command Line: -H -STotal All Report -Ta cell.h game.h ocean.h player.h s
ub.h target.h timer.h utility.h cell.cpp game.cpp ocean.cp
p player.cpp player_solution.cpp seahunt.cpp sub.cpp targe
t.cpp timer.cpp utility.cpp Fibonacci.cs
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
Total All Report
Sun Aug 16 20:20:58 2009
cell.h
Sun Aug 16 20:20:58 2009
game.h
Sun Aug 16 20:20:58 2009
ocean.h
Sun Aug 16 20:20:58 2009
player.h
Sun Aug 16 20:20:58 2009
sub.h
Sun Aug 16 20:20:58 2009
target.h
Sun Aug 16 20:20:58 2009
timer.h
Sun Aug 16 20:20:58 2009
utility.h
Sun Aug 16 20:20:58 2009
cell.cpp
Sun Aug 16 20:20:58 2009
game.cpp
Sun Aug 16 20:20:58 2009
ocean.cpp
Sun Aug 16 20:20:58 2009
player.cpp
Sun Aug 16 20:20:58 2009
player_solution.cpp
Sun Aug 16 20:20:58 2009
seahunt.cpp
Sun Aug 16 20:20:58 2009
sub.cpp
Sun Aug 16 20:20:58 2009
target.cpp
Sun Aug 16 20:20:58 2009
timer.cpp
Sun Aug 16 20:20:58 2009
utility.cpp
Sun Aug 16 20:20:58 2009
Fibonacci.cs
------------------------------------------------------------------------
~~ Total Metrics For 19 Files ~~
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
Function: Seahunt::Sub::Abstract
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function: Seahunt::Target::Get_armor
Parameters: (void) Non-ANSI Parameter Construct
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function: Seahunt::Target::Target
Parameters: (const Target & t)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function: Seahunt::Cell::Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Cell::~Cell
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function: Seahunt::Cell::Get_x
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Get_y
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Get_z
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function: Seahunt::Cell::Get_target
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Cell::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function: Seahunt::Game::Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function: Seahunt::Game::~Game
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function: Seahunt::Game::Play
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 10 Total 11
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function: Seahunt::Ocean::Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function: Seahunt::Ocean::Init
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function: Seahunt::Ocean::~Ocean
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function: Seahunt::Ocean::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function: Seahunt::Ocean::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Player::Player
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function: Seahunt::Player::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18
Function: Seahunt::Player::Get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Player::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10
Function: Seahunt::Player::Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9
Function: Seahunt::Player::~Player
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6
Function: Seahunt::Player::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
Function: Seahunt::Player::begin
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function: Seahunt::Player::elapsed
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5
Function: Seahunt::Player::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8
Function: Seahunt::Player::get_score
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::get_number_hits
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::get_number_tries
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: Seahunt::Player::set_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6
Function: Seahunt::Sub::Create
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function: Seahunt::Sub::~Sub
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function: Seahunt::Sub::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function: Seahunt::Sub::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11
Function: Seahunt::Target::~Target
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function: Seahunt::Target::Get_status
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Target::Get_name
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Seahunt::Target::Hit
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21
Function: Seahunt::Target::Reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function: Seahunt::Target::Show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16
Function: Timer::Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function: Timer::Timer
Parameters: (const std::string &label)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function: Timer::~Timer
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2
Function: Timer::reset
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12
Function: Timer::start
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7
Function: Timer::show
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25
Function: Timer::stop
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27
Function: Timer::get_user_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Timer::get_system_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Timer::get_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Timer::get_non_wait_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: Timer::get_elapsed_time
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: main
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22
Function: Seahunt::Utility::itos
Parameters: (int i)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function: Seahunt::Utility::dtos
Parameters: (double d)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
Complexity Param 4 Return 1 Cyclo Vg 8 Total 13
LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6
Function: Seahunt::Utility::WaitKey
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function: test.Fibonacci.Main
Parameters: ()
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Total: Functions
LOC 843 eLOC 519 lLOC 392 InCmp 132 CycloCmp 157
Function Points FP(LOC) 15.8 FP(eLOC) 9.8 FP(lLOC) 7.4
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 95 Total Physical Lines ..: 920
Total LOC .............: 843 Total Function Pts LOC : 15.8
Total eLOC ............: 519 Total Function Pts eLOC: 9.8
Total lLOC.............: 392 Total Function Pts lLOC: 7.4
Total Cyclomatic Comp. : 157 Total Interface Comp. .: 132
Total Parameters ......: 37 Total Return Points ...: 95
Total Comment Lines ...: 40 Total Blank Lines .....: 62
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 9.68
Avg LOC ...............: 8.87 Avg eLOC ..............: 5.46
Avg lLOC ..............: 4.13 Avg Cyclomatic Comp. ..: 1.65
Avg Interface Comp. ...: 1.39 Avg Parameters ........: 0.39
Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.42
------ ----- ----- ------ ------ -----
Max LOC ...............: 53
Max eLOC ..............: 31 Max lLOC ..............: 21
Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 5
Max Parameters ........: 4 Max Return Points .....: 1
Max Comment Lines .....: 4 Max Total Lines .......: 65
------ ----- ----- ------ ------ -----
Min LOC ...............: 1
Min eLOC ..............: 0 Min lLOC ..............: 0
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
Min Comment Lines .....: 0 Min Total Lines .......: 1
------------------------------------------------------------------------
~~ Project Class/Struct Metrics ~~
Parent LOC Metrics Include Nested LOC Metrics
Class: Seahunt::Cell
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 9 Prot 0 Private 1 Total 10
Complexity Param 5 Return 10 Cyclo Vg 14 Total 29
LOC 86 eLOC 52 lLOC 45 Comment 7 Lines 87
Class: Seahunt::Game
Attributes Publ 0 Prot 0 Private 3 Total 3
Methods Publ 4 Prot 0 Private 0 Total 4
Complexity Param 0 Return 3 Cyclo Vg 16 Total 19
LOC 93 eLOC 57 lLOC 40 Comment 2 Lines 104
Class: Seahunt::Ocean
Attributes Publ 0 Prot 0 Private 6 Total 6
Methods Publ 9 Prot 0 Private 2 Total 11
Complexity Param 1 Return 11 Cyclo Vg 31 Total 43
LOC 186 eLOC 116 lLOC 89 Comment 2 Lines 189
Class: Seahunt::Player
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 11 Prot 0 Private 0 Total 11
Complexity Param 9 Return 27 Cyclo Vg 30 Total 66
LOC 167 eLOC 105 lLOC 88 Comment 18 Lines 174
Class: Seahunt::Sub
Inheritance: Target
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 1 Total 7
Complexity Param 7 Return 7 Cyclo Vg 9 Total 23
LOC 52 eLOC 34 lLOC 25 Comment 0 Lines 51
Class: Seahunt::Target
Attributes Publ 1 Prot 5 Private 0 Total 6
Methods Publ 9 Prot 0 Private 1 Total 10
Complexity Param 5 Return 10 Cyclo Vg 12 Total 27
LOC 86 eLOC 58 lLOC 38 Comment 8 Lines 99
Class: Timer
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 0 Prot 0 Private 0 Total 0
Complexity Param 1 Return 12 Cyclo Vg 14 Total 27
LOC 93 eLOC 65 lLOC 28 Comment 0 Lines 96
Class: Seahunt::Utility
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 0 Total 6
Complexity Param 9 Return 6 Cyclo Vg 13 Total 28
LOC 76 eLOC 48 lLOC 40 Comment 5 Lines 77
Class: test.Fibonacci
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Total: All Classes/Structs
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 37 Return 87 Cyclo Vg 141 Total 265
LOC 857 eLOC 547 lLOC 404 Comment 46 Lines 899
------------------------------------------------------------------------
~~ Project Class/Struct Analysis ~~
Total Classes/Structs .: 9 Total Methods .........: 87
Total Public Methods ..: 55 Total Public Attributes: 1
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 899 Total LOC .............: 857
Total eLOC ............: 547 Total lLOC ............: 404
Total Cyclomatic Comp. : 141 Total Interface Comp. .: 124
Total Parameters ......: 37 Total Return Points ...: 87
Total Comment Lines ...: 46 Total Blank Lines .....: 34
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 99.89 Avg Methods ...........: 9.67
Avg Public Methods ....: 6.11 Avg Public Attributes .: 0.11
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.56
Avg Private Methods ...: 0.56 Avg Private Attributes : 2.11
Avg LOC ...............: 95.22 Avg eLOC ..............: 60.78
Avg lLOC ..............: 44.89 Avg Cyclomatic Comp. ..: 15.67
Avg Interface Comp. ...: 13.78 Avg Parameters ........: 4.11
Avg Return Points .....: 9.67 Avg Comment Lines .....: 5.11
------ ----- ----- ------ ------ -----
Max Physical Lines ....: 189 Max Methods ...........: 11
Max Public Methods ....: 11 Max Public Attributes .: 1
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 2 Max Private Attributes : 6
Max LOC ...............: 186 Max eLOC ..............: 116
Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31
Max Interface Comp. ...: 36 Max Parameters ........: 9
Max Return Points .....: 27 Max Comment Lines .....: 18
------ ----- ----- ------ ------ -----
Min Physical Lines ....: 22 Min Methods ...........: 0
Min Public Methods ....: 0 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 18 Min eLOC ..............: 12
Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2
Min Interface Comp. ...: 1 Min Parameters ........: 0
Min Return Points .....: 1 Min Comment Lines .....: 0
------------------------------------------------------------------------
~~ Class Inheritance Tree ~~
D - Depth where base class depth = 0
C - Number of direct child classes
P - Number of direct parents, Multiple Inheritance > 1
+ Seahunt::Cell [D0.C0]
+ Seahunt::Game [D0.C0]
+ Seahunt::Ocean [D0.C0]
+ Seahunt::Player [D0.C0]
+ Seahunt::Target [D0.C1]
- Seahunt::Sub [D1.C0.P1]
+ Seahunt::Utility [D0.C0]
+ Timer [D0.C0]
+ test.Fibonacci [D0.C0]
Total Classes : 9
Total Base Classes : 8
Total Derived Classes: 1
Derived/Based Ratio : 0.13
Maximum Depth of Inheritance: 1
Average Depth of Inheritance: 0.11
Maximum Number of Direct Child Classes: 1
Average Number of Direct Child Classes: 0.11
------------------------------------------------------------------------
~~ Project Namespace/Package Metrics ~~
Namespace/Package: Seahunt
Total Classses 7 Total Functions 74 Avg Func/Class 10.57
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 54 Prot 0 Private 5 Total 59
Complexity Param 36 Return 74 Cyclo Vg 125 Total 235
LOC 746 eLOC 470 lLOC 365 Comment 42 Lines 781
Namespace/Package: test
Total Classses 1 Total Functions 1 Avg Func/Class 1.00
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Total: All Namespaces/Packages
Total Classses 8 Total Functions 75 Avg Func/Class 9.38
Attributes Publ 1 Prot 5 Private 19 Total 25
Methods Publ 55 Prot 0 Private 5 Total 60
Complexity Param 36 Return 75 Cyclo Vg 127 Total 238
LOC 764 eLOC 482 lLOC 376 Comment 46 Lines 803
------------------------------------------------------------------------
~~ Project Namespace/Package Analysis ~~
Total Namespace/Package: 2
Total Classes/Structs .: 8 Total Methods .........: 75
Total Public Methods ..: 55 Total Public Attributes: 1
Total Protected Methods: 0 Total Protected Attrib.: 5
Total Private Methods .: 5 Total Private Attrib. .: 19
Total Physical Lines ..: 803 Total LOC .............: 764
Total eLOC ............: 482 Total lLOC ............: 376
Total Cyclomatic Comp. : 127 Total Interface Comp. .: 111
Total Parameters ......: 36 Total Return Points ...: 75
Total Comment Lines ...: 46 Total Blank Lines .....: 31
------ ----- ----- ------ ------ -----
Avg Classes/Structs ...: 4.00 Avg Methods ...........: 37.50
Avg Public Methods ....: 27.50 Avg Public Attributes .: 0.50
Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 2.50
Avg Private Methods ...: 2.50 Avg Private Attributes : 9.50
Avg LOC ...............: 382.00 Avg eLOC ..............: 241.00
Avg lLOC ..............: 188.00 Avg Cyclomatic Comp. ..: 63.50
Avg Interface Comp. ...: 55.50 Avg Parameters ........: 18.00
Avg Return Points .....: 37.50 Avg Comment Lines .....: 23.00
------ ----- ----- ------ ------ -----
Max Classes/Struct ....: 7 Max Methods ...........: 59
Max Public Methods ....: 54 Max Public Attributes .: 1
Max Protected Methods .: 0 Max Protected Attrib. .: 5
Max Private Methods ...: 5 Max Private Attributes : 19
Max LOC ...............: 746 Max eLOC ..............: 470
Max lLOC ..............: 365 Max Cyclomatic Comp. ..: 125
Max Interface Comp. ...: 110 Max Parameters ........: 36
Max Return Points .....: 74 Max Comment Lines .....: 42
------ ----- ----- ------ ------ -----
Min Classes/Structs ...: 1 Min Methods ...........: 1
Min Public Methods ....: 1 Min Public Attributes .: 0
Min Protected Methods .: 0 Min Protected Attrib. .: 0
Min Private Methods ...: 0 Min Private Attributes : 0
Min LOC ...............: 18 Min eLOC ..............: 12
Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2
Min Interface Comp. ...: 1 Min Parameters ........: 0
Min Return Points .....: 1 Min Comment Lines .....: 4
------------------------------------------------------------------------
~~ Project Quality Profile ~~
Type Count Percent Quality Notice
________________________________________________________________________
1 3 0.89 Physical line length > 80 characters
7 7 2.08 Pre-increment operator "++" identified
10 2 0.59 Non-ANSI function prototype identified
16 4 1.19 Function/class/struct/interface white space < 10.0%
17 39 11.57 Function comment content less than 10.0%
20 12 3.56 File comment content < 10.0%
31 4 1.19 Class/Struct comments are < 10.0%
34 4 1.19 Class specification contains a pointer to data
35 1 0.30 Class specification contains public data
36 5 1.48 Class specification contains protected data
43 3 0.89 Keyword "continue" has been identified
44 1 0.30 Keyword "break" identified outside a "switch" structure
45 2 0.59 New and Delete counts are not equal for the file.
46 42 12.46 Function/Class Blank Line content less < 10.0%
48 5 1.48 Function lLOC <= 0, non-operational function
49 8 2.37 Function appears to have null or blank parameters
50 66 19.58 Variable assignment to a literal number
51 75 22.26 No comment preceding a function block
52 8 2.37 No comment preceding a class block
119 30 8.90 Return is not a function
125 16 4.75 A data member in the header file is not of the form m_*
________________________________________________________________________
337 100.00 Total Quality Notices
~~ Quality Notice Density ~~
Basis: 1000 (K)
Quality Notices/K LOC = 252.4 ( 25.24%)
Quality Notices/K eLOC = 352.9 ( 35.29%)
Quality Notices/K lLOC = 660.8 ( 66.08%)
------------------------------------------------------------------------
~~ Total Language Profile ~~
Language LOC % eLOC % lLOC % Comments % Blanks % Lines %
*.h* 18.9 22.8 22.4 43.7 27.3 21.6
*.c* 79.4 75.6 75.3 52.9 71.0 76.7
*.cs 1.7 1.6 2.4 3.4 1.7 1.7
------------------------------------------------------------------------
~~ Language Summary ~~
Header Include Files *.h*
LOC 252 eLOC 218 lLOC 114 Comment 52 Lines 374
Average per File, metric/8 files
LOC 31 eLOC 27 lLOC 14 Comment 6 Lines 46
C++ Source Files *.c*
LOC 1060 eLOC 722 lLOC 384 Comment 63 Lines 1325
Average per File, metric/10 files
LOC 106 eLOC 72 lLOC 38 Comment 6 Lines 132
C# Source File *.cs
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
Average per File, metric/1 files
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 1335 eLOC 955 lLOC 510 Comment 119 Lines 1728
Average per File, metric/19 files
LOC 70 eLOC 50 lLOC 26 Comment 6 Lines 90
------------------------------------------------------------------------
~~ File Summary ~~
C Source Files *.c ....: 0 C/C++ Include Files *.h: 8
C++ Source Files *.c* .: 10 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 1 Java Source File *.jav*: 0
Other Source Files ....: 0
Total File Count ......: 19
Shareware evaluation licenses process only files.
Paid licenses enable processing for an unlimited number of files.
________________________________________________________________________
Confidential - Acme Engineering