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 -SFunction Analysis and Points Report -fa -fp cell.h ga
me.h ocean.h player.h sub.h target.h timer.h utility.h cel
l.cpp game.cpp ocean.cpp player.cpp player_solution.cpp se
ahunt.cpp sub.cpp target.cpp timer.cpp utility.cpp Fibonac
ci.cs
Function Analysis and Points Report
~~ Function Metrics ~~
File: cell.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 27 eLOC 23 lLOC 16 Comment 13 Lines 41
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: cell.h
File: game.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 23 eLOC 19 lLOC 9 Comment 1 Lines 31
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: game.h
File: ocean.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 34 eLOC 30 lLOC 20 Comment 5 Lines 47
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: ocean.h
File: player.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 32 eLOC 28 lLOC 17 Comment 1 Lines 41
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: player.h
File: sub.h
________________________________________________________________________
Inline Function: Seahunt::Sub::Abstract
Parameters: (void) Non-ANSI Parameter Construct
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 21 eLOC 17 lLOC 7 Comment 2 Lines 29
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 1 Total Function Pts LOC : 0.0
Total Function eLOC....: 1 Total Function Pts eLOC: 0.0
Total Function lLOC....: 0 Total Function Pts lLOC: 0.0
Total Function Params .: 1 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 3
------ ----- ----- ------ ------ -----
Max Function LOC ......: 1 Average Function LOC ..: 1.00
Max Function eLOC .....: 1 Average Function eLOC .: 1.00
Max Function lLOC .....: 0 Average Function lLOC .: 0.00
________________________________________________________________________
End of File: sub.h
File: target.h
________________________________________________________________________
Inline Function: Seahunt::Target::Get_armor
Parameters: (void) Non-ANSI Parameter Construct
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Target::Target
Parameters: (const Target & t)
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 46 eLOC 38 lLOC 18 Comment 15 Lines 77
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 2
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
Total Function eLOC....: 1 Total Function Pts eLOC: 0.0
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
Total Function Params .: 2 Total Function Return .: 2
Total Cyclo Complexity : 2 Total Function Complex.: 6
------ ----- ----- ------ ------ -----
Max Function LOC ......: 2 Average Function LOC ..: 1.50
Max Function eLOC .....: 1 Average Function eLOC .: 0.50
Max Function lLOC .....: 1 Average Function lLOC .: 0.50
________________________________________________________________________
End of File: target.h
File: timer.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 49 eLOC 47 lLOC 19 Comment 12 Lines 78
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: timer.h
File: utility.h
________________________________________________________________________
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 20 eLOC 16 lLOC 8 Comment 3 Lines 30
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
________________________________________________________________________
End of File: utility.h
File: cell.cpp
________________________________________________________________________
Function: Seahunt::Cell::Cell
Parameters: ()
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::~Cell
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.1
Inline Function: Seahunt::Cell::Get_x
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Cell::Get_y
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Inline Function: Seahunt::Cell::Get_z
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_target
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Hit
Parameters: (void)
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: main
Parameters: (void)
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function Points FP(LOC) 0.6 FP(eLOC) 0.4 FP(lLOC) 0.4
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 127 eLOC 83 lLOC 49 Comment 13 Lines 167
Function Points FP(LOC) 2.4 FP(eLOC) 1.6 FP(lLOC) 0.9
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 11
Total Function LOC.....: 98 Total Function Pts LOC : 2.4
Total Function eLOC....: 56 Total Function Pts eLOC: 1.6
Total Function lLOC....: 49 Total Function Pts lLOC: 0.9
Total Function Params .: 5 Total Function Return .: 11
Total Cyclo Complexity : 19 Total Function Complex.: 35
------ ----- ----- ------ ------ -----
Max Function LOC ......: 31 Average Function LOC ..: 8.91
Max Function eLOC .....: 21 Average Function eLOC .: 5.09
Max Function lLOC .....: 19 Average Function lLOC .: 4.45
________________________________________________________________________
End of File: cell.cpp
File: game.cpp
________________________________________________________________________
Function: Seahunt::Game::Game
Parameters: ()
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Game::~Game
Parameters: ()
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Game::Play
Parameters: ()
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function Points FP(LOC) 1.0 FP(eLOC) 0.6 FP(lLOC) 0.4
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 88 eLOC 52 lLOC 32 Comment 4 Lines 107
Function Points FP(LOC) 1.7 FP(eLOC) 1.0 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 3
Total Function LOC.....: 80 Total Function Pts LOC : 1.7
Total Function eLOC....: 46 Total Function Pts eLOC: 1.0
Total Function lLOC....: 32 Total Function Pts lLOC: 0.6
Total Function Params .: 0 Total Function Return .: 3
Total Cyclo Complexity : 16 Total Function Complex.: 19
------ ----- ----- ------ ------ -----
Max Function LOC ......: 53 Average Function LOC ..: 26.67
Max Function eLOC .....: 31 Average Function eLOC .: 15.33
Max Function lLOC .....: 21 Average Function lLOC .: 10.67
________________________________________________________________________
End of File: game.cpp
File: ocean.cpp
________________________________________________________________________
Function: Seahunt::Ocean::Ocean
Parameters: ()
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::Init
Parameters: (void)
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Ocean::~Ocean
Parameters: ()
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Hit
Parameters: (void)
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Show
Parameters: (void)
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 217 eLOC 143 lLOC 83 Comment 7 Lines 252
Function Points FP(LOC) 4.1 FP(eLOC) 2.7 FP(lLOC) 1.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 12
Total Function LOC.....: 175 Total Function Pts LOC : 4.1
Total Function eLOC....: 105 Total Function Pts eLOC: 2.7
Total Function lLOC....: 80 Total Function Pts lLOC: 1.6
Total Function Params .: 1 Total Function Return .: 12
Total Cyclo Complexity : 32 Total Function Complex.: 45
------ ----- ----- ------ ------ -----
Max Function LOC ......: 36 Average Function LOC ..: 14.58
Max Function eLOC .....: 20 Average Function eLOC .: 8.75
Max Function lLOC .....: 16 Average Function lLOC .: 6.67
________________________________________________________________________
End of File: ocean.cpp
File: player.cpp
________________________________________________________________________
Function: Seahunt::Player::Player
Parameters: ()
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (std::string n)
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::Show
Parameters: (void)
LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18
Function Points FP(LOC) 0.3 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Player::Get_score
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 100 eLOC 70 lLOC 38 Comment 3 Lines 126
Function Points FP(LOC) 1.9 FP(eLOC) 1.3 FP(lLOC) 0.7
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 12
Total Function LOC.....: 73 Total Function Pts LOC : 1.9
Total Function eLOC....: 45 Total Function Pts eLOC: 1.3
Total Function lLOC....: 38 Total Function Pts lLOC: 0.7
Total Function Params .: 4 Total Function Return .: 12
Total Cyclo Complexity : 14 Total Function Complex.: 30
------ ----- ----- ------ ------ -----
Max Function LOC ......: 18 Average Function LOC ..: 6.08
Max Function eLOC .....: 14 Average Function eLOC .: 3.75
Max Function lLOC .....: 10 Average Function lLOC .: 3.17
________________________________________________________________________
End of File: player.cpp
File: player_solution.cpp
________________________________________________________________________
Function: Seahunt::Player::Player
Parameters: ()
LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::reset
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::begin
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::elapsed
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::show
Parameters: (void)
LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::get_score
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_hits
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_tries
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 132 eLOC 90 lLOC 48 Comment 20 Lines 188
Function Points FP(LOC) 2.5 FP(eLOC) 1.7 FP(lLOC) 0.9
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 17
Total Function LOC.....: 99 Total Function Pts LOC : 2.5
Total Function eLOC....: 59 Total Function Pts eLOC: 1.7
Total Function lLOC....: 48 Total Function Pts lLOC: 0.9
Total Function Params .: 5 Total Function Return .: 17
Total Cyclo Complexity : 21 Total Function Complex.: 43
------ ----- ----- ------ ------ -----
Max Function LOC ......: 17 Average Function LOC ..: 5.82
Max Function eLOC .....: 11 Average Function eLOC .: 3.47
Max Function lLOC .....: 8 Average Function lLOC .: 2.82
________________________________________________________________________
End of File: player_solution.cpp
File: seahunt.cpp
________________________________________________________________________
Function: main
Parameters: (void)
LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 12 eLOC 10 lLOC 4 Comment 1 Lines 18
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 6 Total Function Pts LOC : 0.2
Total Function eLOC....: 4 Total Function Pts eLOC: 0.2
Total Function lLOC....: 4 Total Function Pts lLOC: 0.1
Total Function Params .: 0 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 2
------ ----- ----- ------ ------ -----
Max Function LOC ......: 6 Average Function LOC ..: 6.00
Max Function eLOC .....: 4 Average Function eLOC .: 4.00
Max Function lLOC .....: 4 Average Function lLOC .: 4.00
________________________________________________________________________
End of File: seahunt.cpp
File: sub.cpp
________________________________________________________________________
Function: Seahunt::Sub::Create
Parameters: (void)
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::~Sub
Parameters: ()
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::Show
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Hit
Parameters: (void)
LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: main
Parameters: (void)
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 72 eLOC 52 lLOC 28 Comment 3 Lines 91
Function Points FP(LOC) 1.4 FP(eLOC) 1.0 FP(lLOC) 0.5
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 7
Total Function LOC.....: 52 Total Function Pts LOC : 1.4
Total Function eLOC....: 34 Total Function Pts eLOC: 1.0
Total Function lLOC....: 28 Total Function Pts lLOC: 0.5
Total Function Params .: 6 Total Function Return .: 7
Total Cyclo Complexity : 9 Total Function Complex.: 22
------ ----- ----- ------ ------ -----
Max Function LOC ......: 11 Average Function LOC ..: 7.43
Max Function eLOC .....: 9 Average Function eLOC .: 4.86
Max Function lLOC .....: 9 Average Function lLOC .: 4.00
________________________________________________________________________
End of File: sub.cpp
File: target.cpp
________________________________________________________________________
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::~Target
Parameters: ()
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Target::Get_status
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Hit
Parameters: (void)
LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::Reset
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Show
Parameters: (void)
LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 98 eLOC 68 lLOC 33 Comment 4 Lines 119
Function Points FP(LOC) 1.8 FP(eLOC) 1.3 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 9
Total Function LOC.....: 69 Total Function Pts LOC : 1.8
Total Function eLOC....: 43 Total Function Pts eLOC: 1.3
Total Function lLOC....: 32 Total Function Pts lLOC: 0.6
Total Function Params .: 3 Total Function Return .: 9
Total Cyclo Complexity : 11 Total Function Complex.: 23
------ ----- ----- ------ ------ -----
Max Function LOC ......: 21 Average Function LOC ..: 7.67
Max Function eLOC .....: 11 Average Function eLOC .: 4.78
Max Function lLOC .....: 10 Average Function lLOC .: 3.56
________________________________________________________________________
End of File: target.cpp
File: timer.cpp
________________________________________________________________________
Function: Timer::Timer
Parameters: ()
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::Timer
Parameters: (const std::string &label)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::~Timer
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::reset
Parameters: (void)
LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Timer::start
Parameters: (void)
LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Timer::show
Parameters: (void)
LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25
Function Points FP(LOC) 0.5 FP(eLOC) 0.4 FP(lLOC) 0.0
Function: Timer::stop
Parameters: (void)
LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Timer::get_user_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_system_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_wait_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_non_wait_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_elapsed_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 130 eLOC 98 lLOC 36 Comment 4 Lines 159
Function Points FP(LOC) 2.5 FP(eLOC) 1.8 FP(lLOC) 0.7
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 13
Total Function LOC.....: 107 Total Function Pts LOC : 2.5
Total Function eLOC....: 75 Total Function Pts eLOC: 1.8
Total Function lLOC....: 36 Total Function Pts lLOC: 0.7
Total Function Params .: 1 Total Function Return .: 13
Total Cyclo Complexity : 16 Total Function Complex.: 30
------ ----- ----- ------ ------ -----
Max Function LOC ......: 25 Average Function LOC ..: 8.23
Max Function eLOC .....: 23 Average Function eLOC .: 5.77
Max Function lLOC .....: 8 Average Function lLOC .: 2.77
________________________________________________________________________
End of File: timer.cpp
File: utility.cpp
________________________________________________________________________
Function: Seahunt::Utility::itos
Parameters: (int i)
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::dtos
Parameters: (double d)
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::WaitKey
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 84 eLOC 56 lLOC 33 Comment 4 Lines 98
Function Points FP(LOC) 1.6 FP(eLOC) 1.1 FP(lLOC) 0.6
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 6
Total Function LOC.....: 65 Total Function Pts LOC : 1.6
Total Function eLOC....: 39 Total Function Pts eLOC: 1.1
Total Function lLOC....: 33 Total Function Pts lLOC: 0.6
Total Function Params .: 9 Total Function Return .: 6
Total Cyclo Complexity : 13 Total Function Complex.: 28
------ ----- ----- ------ ------ -----
Max Function LOC ......: 37 Average Function LOC ..: 10.83
Max Function eLOC .....: 21 Average Function eLOC .: 6.50
Max Function lLOC .....: 15 Average Function lLOC .: 5.50
________________________________________________________________________
End of File: utility.cpp
File: Fibonacci.cs
________________________________________________________________________
Function: test.Fibonacci.Main
Parameters: ()
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ Total File Summary ~~
LOC 23 eLOC 15 lLOC 12 Comment 4 Lines 29
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 1
Total Function LOC.....: 15 Total Function Pts LOC : 0.4
Total Function eLOC....: 11 Total Function Pts eLOC: 0.3
Total Function lLOC....: 11 Total Function Pts lLOC: 0.2
Total Function Params .: 0 Total Function Return .: 1
Total Cyclo Complexity : 2 Total Function Complex.: 3
------ ----- ----- ------ ------ -----
Max Function LOC ......: 15 Average Function LOC ..: 15.00
Max Function eLOC .....: 11 Average Function eLOC .: 11.00
Max Function lLOC .....: 11 Average Function lLOC .: 11.00
________________________________________________________________________
End of File: Fibonacci.cs
------------------------------------------------------------------------
~~ Total Metrics For 19 Files ~~
------------------------------------------------------------------------
~~ Total Project Summary ~~
LOC 1335 eLOC 955 lLOC 510 Comment 119 Lines 1728
Average per File, metric/19 files
LOC 70 eLOC 50 lLOC 26 Comment 6 Lines 90
Function Points FP(LOC) 20.4 FP(eLOC) 13.9 FP(lLOC) 7.5
------------------------------------------------------------------------
~~ Project Functional Metrics ~~
Function: Seahunt::Sub::Abstract
Parameters: (void) Non-ANSI Parameter Construct
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_armor
Parameters: (void) Non-ANSI Parameter Construct
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Target
Parameters: (const Target & t)
LOC 2 eLOC 0 lLOC 0 Comment 2 Lines 4
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Cell
Parameters: ()
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::~Cell
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
LOC 3 eLOC 1 lLOC 3 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_x
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Get_y
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Get_z
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
LOC 9 eLOC 5 lLOC 4 Comment 0 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Cell::Get_target
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Cell::Hit
Parameters: (void)
LOC 27 eLOC 15 lLOC 9 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: main
Parameters: (void)
LOC 31 eLOC 21 lLOC 19 Comment 4 Lines 44
Function Points FP(LOC) 0.6 FP(eLOC) 0.4 FP(lLOC) 0.4
Function: Seahunt::Game::Game
Parameters: ()
LOC 15 eLOC 9 lLOC 7 Comment 0 Lines 15
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Game::~Game
Parameters: ()
LOC 12 eLOC 6 lLOC 4 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Game::Play
Parameters: ()
LOC 53 eLOC 31 lLOC 21 Comment 2 Lines 65
Function Points FP(LOC) 1.0 FP(eLOC) 0.6 FP(lLOC) 0.4
Function: Seahunt::Ocean::Ocean
Parameters: ()
LOC 8 eLOC 6 lLOC 4 Comment 0 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::Init
Parameters: (void)
LOC 18 eLOC 8 lLOC 8 Comment 1 Lines 20
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Ocean::~Ocean
Parameters: ()
LOC 13 eLOC 7 lLOC 4 Comment 1 Lines 14
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
LOC 13 eLOC 7 lLOC 4 Comment 0 Lines 13
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
LOC 28 eLOC 18 lLOC 13 Comment 0 Lines 28
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Hit
Parameters: (void)
LOC 21 eLOC 15 lLOC 13 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Ocean::Show
Parameters: (void)
LOC 36 eLOC 20 lLOC 16 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
LOC 17 eLOC 11 lLOC 5 Comment 0 Lines 17
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Player::Player
Parameters: ()
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (std::string n)
LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::Show
Parameters: (void)
LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18
Function Points FP(LOC) 0.3 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Seahunt::Player::Get_score
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: ()
LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::~Player
Parameters: ()
LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::reset
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::begin
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::elapsed
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Player::show
Parameters: (void)
LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Player::get_score
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_hits
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_number_tries
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Player::set_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: main
Parameters: (void)
LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Create
Parameters: (void)
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::~Sub
Parameters: ()
LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Sub::Show
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Sub::Hit
Parameters: (void)
LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: main
Parameters: (void)
LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::~Target
Parameters: ()
LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Seahunt::Target::Get_status
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Get_name
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Hit
Parameters: (void)
LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21
Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Seahunt::Target::Reset
Parameters: (void)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Seahunt::Target::Show
Parameters: (void)
LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Timer::Timer
Parameters: ()
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::Timer
Parameters: (const std::string &label)
LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::~Timer
Parameters: ()
LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::reset
Parameters: (void)
LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12
Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1
Function: Timer::start
Parameters: (void)
LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0
Function: Timer::show
Parameters: (void)
LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25
Function Points FP(LOC) 0.5 FP(eLOC) 0.4 FP(lLOC) 0.0
Function: Timer::stop
Parameters: (void)
LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27
Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2
Function: Timer::get_user_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_system_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_wait_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_non_wait_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: Timer::get_elapsed_time
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: main
Parameters: (void)
LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Function: Seahunt::Utility::itos
Parameters: (int i)
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::dtos
Parameters: (double d)
LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37
Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::WaitKey
Parameters: (void)
LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5
Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3
Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0
Function: test.Fibonacci.Main
Parameters: ()
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
Total: Functions
LOC 843 eLOC 519 lLOC 392 InCmp 132 CycloCmp 157
Function Points FP(LOC) 15.8 FP(eLOC) 9.8 FP(lLOC) 7.4
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
Total Functions .......: 95 Total Physical Lines ..: 920
Total LOC .............: 843 Total Function Pts LOC : 15.8
Total eLOC ............: 519 Total Function Pts eLOC: 9.8
Total lLOC.............: 392 Total Function Pts lLOC: 7.4
Total Cyclomatic Comp. : 157 Total Interface Comp. .: 132
Total Parameters ......: 37 Total Return Points ...: 95
Total Comment Lines ...: 40 Total Blank Lines .....: 62
------ ----- ----- ------ ------ -----
Avg Physical Lines ....: 9.68
Avg LOC ...............: 8.87 Avg eLOC ..............: 5.46
Avg lLOC ..............: 4.13 Avg Cyclomatic Comp. ..: 1.65
Avg Interface Comp. ...: 1.39 Avg Parameters ........: 0.39
Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.42
------ ----- ----- ------ ------ -----
Max LOC ...............: 53
Max eLOC ..............: 31 Max lLOC ..............: 21
Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 5
Max Parameters ........: 4 Max Return Points .....: 1
Max Comment Lines .....: 4 Max Total Lines .......: 65
------ ----- ----- ------ ------ -----
Min LOC ...............: 1
Min eLOC ..............: 0 Min lLOC ..............: 0
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
Min Comment Lines .....: 0 Min Total Lines .......: 1
------------------------------------------------------------------------
~~ 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