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 Function Report -Tf -TN cell.h game.h ocean.h p
layer.h sub.h target.h timer.h utility.h cell.cpp game.cpp
ocean.cpp player.cpp player_solution.cpp seahunt.cpp sub.
cpp target.cpp timer.cpp utility.cpp Fibonacci.cs
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
Total Function Report
------------------------------------------------------------------------
~~ 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 Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
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 Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
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 Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
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 Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
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 Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1
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 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)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
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)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
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: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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: ()
Complexity Param 0 Return 1 Cyclo Vg 10 Total 11
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
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: ()
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
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)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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: ()
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
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)
Complexity Param 4 Return 1 Cyclo Vg 8 Total 13
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)
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
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: ()
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
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