Report Banner - Edit rsm.cfg File
Resource Standard Metrics™ for C, C++, C# and Java
Version 7.62 - mSquaredTechnologies.com
License Type: Site Multi-Network License - 10 Users
Licensed To : M Squared Technologies LLC
License No. : ST1000 License Date: May 31, 2007
Build Date : Jul 2 2008 Maintenance Date: May 31, 2010
©1996-2008 M Squared Technologies™ Run Date: Jul 02, 2008
________________________________________________________________________
License File: C:\Program Files\MSquared\M2 RSM\rsm.lic
Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg
Command Line: -H -SQuality Notice MSVS Format Report -fa -fp -o -n -Nv c
ell.h game.h ocean.h player.h sub.h target.h timer.h utili
ty.h cell.cpp game.cpp ocean.cpp player.cpp player_solutio
n.cpp seahunt.cpp sub.cpp target.cpp timer.cpp utility.cpp
Fibonacci.cs
UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg
Quality Notice MSVS Format Report
Visual Studio Code Quality Notices
Double click any notice in the Visual Studio output window to
jump to the specified line number
~~ Function Metrics ~~
~~ Class/Struct Metrics ~~
~~ Quality Analysis ~~
File: cell.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 16 -------------------------
Class: Seahunt::Cell
cell.h(16) : Notice #52 - No comment preceding a class block
cell.h(20) : Notice #50 - Variable assignment to a literal number
cell.h(20) : Notice #50 - Variable assignment to a literal number
cell.h(20) : Notice #50 - Variable assignment to a literal number
cell.h(30) : Notice #130 - A data member in the header file is not of the form m_*
cell.h(31) : Notice #34 - Class specification contains a pointer to data
cell.h(35) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Cell
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 9 Prot 0 Private 1 Total 10
LOC 19 eLOC 17 lLOC 15 Comment 6 Lines 19
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 35 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ 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
cell.h(41) : Notice #124 - The test Test Copyright string was not found
File: game.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 15 -------------------------
Class: Seahunt::Game
game.h(15) : Notice #52 - No comment preceding a class block
game.h(22) : Notice #34 - Class specification contains a pointer to data
game.h(23) : Notice #34 - Class specification contains a pointer to data
game.h(24) : Notice #130 - A data member in the header file is not of the form m_*
game.h(27) : Notice #31 - Class/Struct comments are < 10.0%
game.h(27) : Notice #16 - Function/class/struct/interface white space < 10.0%
game.h(27) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Game
Attributes Publ 0 Prot 0 Private 3 Total 3
Methods Publ 4 Prot 0 Private 0 Total 4
LOC 13 eLOC 11 lLOC 8 Comment 0 Lines 12
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 27 --------------------------
Namespace End: Seahunt
game.h(31) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
game.h(31) : Notice #124 - The test Test Copyright string was not found
File: ocean.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 19 -------------------------
Class: Seahunt::Ocean
ocean.h(19) : Notice #52 - No comment preceding a class block
ocean.h(33) : Notice #130 - A data member in the header file is not of the form m_*
ocean.h(34) : Notice #130 - A data member in the header file is not of the form m_*
ocean.h(35) : Notice #130 - A data member in the header file is not of the form m_*
ocean.h(36) : Notice #130 - A data member in the header file is not of the form m_*
ocean.h(38) : Notice #34 - Class specification contains a pointer to data
ocean.h(41) : Notice #31 - Class/Struct comments are < 10.0%
ocean.h(41) : Notice #16 - Function/class/struct/interface white space < 10.0%
ocean.h(41) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Ocean
Attributes Publ 0 Prot 0 Private 6 Total 6
Methods Publ 9 Prot 0 Private 2 Total 11
LOC 23 eLOC 21 lLOC 19 Comment 0 Lines 22
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 41 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ 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
ocean.h(47) : Notice #124 - The test Test Copyright string was not found
File: player.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 17 -------------------------
Class: Seahunt::Player
player.h(17) : Notice #52 - No comment preceding a class block
player.h(32) : Notice #130 - A data member in the header file is not of the form m_*
player.h(33) : Notice #130 - A data member in the header file is not of the form m_*
player.h(34) : Notice #130 - A data member in the header file is not of the form m_*
player.h(35) : Notice #130 - A data member in the header file is not of the form m_*
player.h(36) : Notice #130 - A data member in the header file is not of the form m_*
player.h(37) : Notice #31 - Class/Struct comments are < 10.0%
player.h(37) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Player
Attributes Publ 0 Prot 0 Private 5 Total 5
Methods Publ 11 Prot 0 Private 0 Total 11
LOC 20 eLOC 18 lLOC 16 Comment 0 Lines 20
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 37 --------------------------
Namespace End: Seahunt
player.h(41) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
player.h(41) : Notice #124 - The test Test Copyright string was not found
File: sub.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 15 -------------------------
Class: Seahunt::Sub
Inheritance: Target
sub.h(15) : Notice #52 - No comment preceding a class block
------------------------ Function Begin Line: 22 -----------------------
Function: Seahunt::Sub::Abstract
Parameters: (void)
sub.h(22) : Notice #51 - No comment preceding a function block
sub.h(22) : Notice #48 - Function lLOC <= 0, non-operational function
Function: Seahunt::Sub::Abstract
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 End Line: 22 ------------------------
sub.h(25) : Notice #31 - Class/Struct comments are < 10.0%
sub.h(25) : Notice #16 - Function/class/struct/interface white space < 10.0%
sub.h(25) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Sub
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 1 Total 7
LOC 11 eLOC 9 lLOC 6 Comment 0 Lines 10
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 25 --------------------------
Namespace End: Seahunt
sub.h(29) : Notice #20 - File comment content < 10.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 .: 0 Total Function Return .: 1
Total Cyclo Complexity : 1 Total Function Complex.: 2
------ ----- ----- ------ ------ -----
Max Function LOC ......: 1 Average Function LOC ..: 1.00
Max Function eLOC .....: 1 Average Function eLOC .: 1.00
Max Function lLOC .....: 0 Average Function lLOC .: 0.00
________________________________________________________________________
End of File: sub.h
sub.h(29) : Notice #124 - The test Test Copyright string was not found
File: target.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 28 -------------------------
Class: Seahunt::Target
------------------------ Function Begin Line: 46 -----------------------
Function: Seahunt::Target::Get_armor
Parameters: (void)
Function: Seahunt::Target::Get_armor
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 End Line: 46 ------------------------
target.h(57) : Notice #36 - Class specification contains protected data
target.h(57) : Notice #130 - A data member in the header file is not of the form m_*
target.h(58) : Notice #36 - Class specification contains protected data
target.h(58) : Notice #130 - A data member in the header file is not of the form m_*
target.h(59) : Notice #36 - Class specification contains protected data
target.h(59) : Notice #130 - A data member in the header file is not of the form m_*
target.h(60) : Notice #36 - Class specification contains protected data
target.h(60) : Notice #130 - A data member in the header file is not of the form m_*
target.h(61) : Notice #36 - Class specification contains protected data
target.h(61) : Notice #130 - A data member in the header file is not of the form m_*
------------------------ Function Begin Line: 65 -----------------------
Function: Seahunt::Target::Target
Parameters: (const Target & t)
target.h(65) : Notice #51 - No comment preceding a function block
target.h(68) : Notice #48 - Function lLOC <= 0, non-operational function
Function: Seahunt::Target::Target
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 End Line: 68 ------------------------
Class: Seahunt::Target
Attributes Publ 0 Prot 5 Private 0 Total 5
Methods Publ 10 Prot 0 Private 1 Total 11
LOC 29 eLOC 25 lLOC 16 Comment 8 Lines 42
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 70 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ 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 .: 1 Total Function Return .: 2
Total Cyclo Complexity : 2 Total Function Complex.: 5
------ ----- ----- ------ ------ -----
Max Function LOC ......: 2 Average Function LOC ..: 1.50
Max Function eLOC .....: 1 Average Function eLOC .: 0.50
Max Function lLOC .....: 1 Average Function lLOC .: 0.50
________________________________________________________________________
End of File: target.h
target.h(77) : Notice #124 - The test Test Copyright string was not found
File: timer.h
________________________________________________________________________
------------------------- Class Begin Line: 17 -------------------------
Class: Timer
timer.h(17) : Notice #52 - No comment preceding a class block
------------------------------------------------------------------------
~~ 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
timer.h(78) : Notice #124 - The test Test Copyright string was not found
File: utility.h
________________________________________________________________________
Namespace Begin: Seahunt
------------------------- Class Begin Line: 13 -------------------------
Class: Seahunt::Utility
utility.h(13) : Notice #52 - No comment preceding a class block
utility.h(25) : Notice #16 - Function/class/struct/interface white space < 10.0%
utility.h(25) : Notice #46 - Function/Class Blank Line content less < 10.0%
Class: Seahunt::Utility
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 6 Prot 0 Private 0 Total 6
LOC 11 eLOC 9 lLOC 7 Comment 2 Lines 12
Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0
-------------------------- Class End Line: 25 --------------------------
Namespace End: Seahunt
------------------------------------------------------------------------
~~ 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
utility.h(30) : Notice #124 - The test Test Copyright string was not found
File: cell.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 14 -----------------------
Function: Seahunt::Cell::Cell
Parameters: ()
cell.cpp(14) : Notice #51 - No comment preceding a function block
cell.cpp(16) : Notice #50 - Variable assignment to a literal number
cell.cpp(17) : Notice #50 - Variable assignment to a literal number
cell.cpp(18) : Notice #50 - Variable assignment to a literal number
cell.cpp(19) : Notice #50 - Variable assignment to a literal number
cell.cpp(20) : Notice #17 - Function comment content less than 10.0%
cell.cpp(20) : Notice #46 - Function/Class Blank Line content less < 10.0%
cell.cpp(20) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Cell::Cell
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 End Line: 20 ------------------------
------------------------ Function Begin Line: 23 -----------------------
Function: Seahunt::Cell::Cell
Parameters: (const Cell & c)
cell.cpp(23) : Notice #51 - No comment preceding a function block
cell.cpp(29) : Notice #17 - Function comment content less than 10.0%
cell.cpp(29) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Cell::Cell
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 End Line: 29 ------------------------
------------------------ Function Begin Line: 32 -----------------------
Function: Seahunt::Cell::~Cell
Parameters: ()
cell.cpp(32) : Notice #51 - No comment preceding a function block
cell.cpp(34) : Notice #48 - Function lLOC <= 0, non-operational function
Function: Seahunt::Cell::~Cell
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 End Line: 34 ------------------------
------------------------ Function Begin Line: 38 -----------------------
Function: Seahunt::Cell::Set_xyz
Parameters: (int _x, int _y, int _z)
cell.cpp(38) : Notice #51 - No comment preceding a function block
Function: Seahunt::Cell::Set_xyz
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 End Line: 40 ------------------------
------------------------ Function Begin Line: 45 -----------------------
Function: Seahunt::Cell::Get_x
Parameters: (void)
cell.cpp(45) : Notice #51 - No comment preceding a function block
cell.cpp(46) : Notice #119 - Return is not a function
Function: Seahunt::Cell::Get_x
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 End Line: 47 ------------------------
------------------------ Function Begin Line: 52 -----------------------
Function: Seahunt::Cell::Get_y
Parameters: (void)
cell.cpp(52) : Notice #51 - No comment preceding a function block
cell.cpp(53) : Notice #119 - Return is not a function
Function: Seahunt::Cell::Get_y
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 End Line: 54 ------------------------
------------------------ Function Begin Line: 59 -----------------------
Function: Seahunt::Cell::Get_z
Parameters: (void)
cell.cpp(59) : Notice #51 - No comment preceding a function block
cell.cpp(60) : Notice #119 - Return is not a function
Function: Seahunt::Cell::Get_z
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 End Line: 61 ------------------------
------------------------ Function Begin Line: 65 -----------------------
Function: Seahunt::Cell::Set_target
Parameters: (Target * t)
cell.cpp(65) : Notice #51 - No comment preceding a function block
cell.cpp(72) : Notice #119 - Return is not a function
cell.cpp(73) : Notice #17 - Function comment content less than 10.0%
cell.cpp(73) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Cell::Set_target
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 End Line: 73 ------------------------
------------------------ Function Begin Line: 77 -----------------------
Function: Seahunt::Cell::Get_target
Parameters: (void)
cell.cpp(77) : Notice #51 - No comment preceding a function block
cell.cpp(78) : Notice #119 - Return is not a function
Function: Seahunt::Cell::Get_target
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 End Line: 79 ------------------------
------------------------ Function Begin Line: 83 -----------------------
Function: Seahunt::Cell::Hit
Parameters: (void)
cell.cpp(83) : Notice #51 - No comment preceding a function block
cell.cpp(108) : Notice #119 - Return is not a function
cell.cpp(109) : Notice #17 - Function comment content less than 10.0%
cell.cpp(109) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Cell::Hit
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 End Line: 109 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 119 -----------------------
Function: main
Parameters: (void)
cell.cpp(119) : Notice #51 - No comment preceding a function block
cell.cpp(126) : Notice #50 - Variable assignment to a literal number
cell.cpp(128) : Notice #50 - Variable assignment to a literal number
cell.cpp(130) : Notice #50 - Variable assignment to a literal number
cell.cpp(161) : Notice #119 - Return is not a function
Function: main
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 End Line: 162 ------------------------
cell.cpp(167) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
cell.cpp(167) : Notice #124 - The test Test Copyright string was not found
File: game.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 9 ------------------------
Function: Seahunt::Game::Game
Parameters: ()
game.cpp(9) : Notice #51 - No comment preceding a function block
game.cpp(23) : Notice #17 - Function comment content less than 10.0%
game.cpp(23) : Notice #46 - Function/Class Blank Line content less < 10.0%
game.cpp(23) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Game::Game
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 End Line: 23 ------------------------
------------------------ Function Begin Line: 26 -----------------------
Function: Seahunt::Game::~Game
Parameters: ()
game.cpp(26) : Notice #51 - No comment preceding a function block
game.cpp(30) : Notice #50 - Variable assignment to a literal number
game.cpp(35) : Notice #50 - Variable assignment to a literal number
game.cpp(37) : Notice #17 - Function comment content less than 10.0%
game.cpp(37) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Game::~Game
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 End Line: 37 ------------------------
------------------------ Function Begin Line: 41 -----------------------
Function: Seahunt::Game::Play
Parameters: ()
game.cpp(41) : Notice #51 - No comment preceding a function block
game.cpp(43) : Notice #50 - Variable assignment to a literal number
game.cpp(46) : Notice #50 - Variable assignment to a literal number
game.cpp(63) : Notice #43 - Keyword 'continue' has been identified
game.cpp(69) : Notice #43 - Keyword 'continue' has been identified
game.cpp(79) : Notice #43 - Keyword 'continue' has been identified
game.cpp(105) : Notice #17 - Function comment content less than 10.0%
game.cpp(105) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Game::Play
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 End Line: 105 ------------------------
Namespace End: Seahunt
game.cpp(107) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
game.cpp(107) : Notice #124 - The test Test Copyright string was not found
File: ocean.cpp
________________________________________________________________________
Namespace Begin: Anonymous - File Scope
ocean.cpp(20) : Notice #1 - Physical line length > 80 characters
Namespace End: Anonymous - File Scope
Namespace Begin: Seahunt
------------------------ Function Begin Line: 28 -----------------------
Function: Seahunt::Ocean::Ocean
Parameters: ()
ocean.cpp(28) : Notice #51 - No comment preceding a function block
ocean.cpp(35) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(35) : Notice #46 - Function/Class Blank Line content less < 10.0%
ocean.cpp(35) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Ocean::Ocean
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 End Line: 35 ------------------------
------------------------ Function Begin Line: 39 -----------------------
Function: Seahunt::Ocean::Init
Parameters: (void)
ocean.cpp(39) : Notice #51 - No comment preceding a function block
ocean.cpp(40) : Notice #50 - Variable assignment to a literal number
ocean.cpp(41) : Notice #50 - Variable assignment to a literal number
ocean.cpp(44) : Notice #50 - Variable assignment to a literal number
ocean.cpp(44) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(46) : Notice #50 - Variable assignment to a literal number
ocean.cpp(48) : Notice #50 - Variable assignment to a literal number
ocean.cpp(50) : Notice #50 - Variable assignment to a literal number
ocean.cpp(52) : Notice #50 - Variable assignment to a literal number
ocean.cpp(58) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(58) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::Init
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 End Line: 58 ------------------------
------------------------ Function Begin Line: 61 -----------------------
Function: Seahunt::Ocean::~Ocean
Parameters: ()
ocean.cpp(61) : Notice #51 - No comment preceding a function block
ocean.cpp(63) : Notice #50 - Variable assignment to a literal number
ocean.cpp(63) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(68) : Notice #50 - Variable assignment to a literal number
ocean.cpp(74) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(74) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::~Ocean
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 End Line: 74 ------------------------
------------------------ Function Begin Line: 78 -----------------------
Function: Seahunt::Ocean::PlaceTarget
Parameters: (void)
ocean.cpp(78) : Notice #51 - No comment preceding a function block
ocean.cpp(79) : Notice #50 - Variable assignment to a literal number
ocean.cpp(90) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(90) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::PlaceTarget
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 End Line: 90 ------------------------
------------------------ Function Begin Line: 94 -----------------------
Function: Seahunt::Ocean::TargetPlacement
Parameters: (Target * t)
ocean.cpp(94) : Notice #51 - No comment preceding a function block
ocean.cpp(95) : Notice #50 - Variable assignment to a literal number
ocean.cpp(100) : Notice #50 - Variable assignment to a literal number
ocean.cpp(101) : Notice #50 - Variable assignment to a literal number
ocean.cpp(102) : Notice #50 - Variable assignment to a literal number
ocean.cpp(107) : Notice #1 - Physical line length > 80 characters
ocean.cpp(121) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(121) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::TargetPlacement
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 End Line: 121 ------------------------
----------------------- Function Begin Line: 125 -----------------------
Function: Seahunt::Ocean::Hit
Parameters: (void)
ocean.cpp(125) : Notice #51 - No comment preceding a function block
ocean.cpp(126) : Notice #50 - Variable assignment to a literal number
ocean.cpp(127) : Notice #50 - Variable assignment to a literal number
ocean.cpp(128) : Notice #50 - Variable assignment to a literal number
ocean.cpp(144) : Notice #119 - Return is not a function
ocean.cpp(145) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(145) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::Hit
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 End Line: 145 ------------------------
----------------------- Function Begin Line: 149 -----------------------
Function: Seahunt::Ocean::Show
Parameters: (void)
ocean.cpp(149) : Notice #51 - No comment preceding a function block
ocean.cpp(150) : Notice #50 - Variable assignment to a literal number
ocean.cpp(151) : Notice #50 - Variable assignment to a literal number
ocean.cpp(152) : Notice #50 - Variable assignment to a literal number
ocean.cpp(153) : Notice #50 - Variable assignment to a literal number
ocean.cpp(153) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(158) : Notice #50 - Variable assignment to a literal number
ocean.cpp(158) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(169) : Notice #50 - Variable assignment to a literal number
ocean.cpp(169) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(185) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(185) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::Show
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 End Line: 185 ------------------------
----------------------- Function Begin Line: 189 -----------------------
Function: Seahunt::Ocean::ShowTargets
Parameters: (void)
ocean.cpp(189) : Notice #51 - No comment preceding a function block
ocean.cpp(196) : Notice #50 - Variable assignment to a literal number
ocean.cpp(196) : Notice #7 - Pre-increment operator '++' identified
ocean.cpp(205) : Notice #17 - Function comment content less than 10.0%
ocean.cpp(205) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Ocean::ShowTargets
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 End Line: 205 ------------------------
----------------------- Function Begin Line: 209 -----------------------
Function: Seahunt::Ocean::Get_target_count
Parameters: (void)
ocean.cpp(209) : Notice #51 - No comment preceding a function block
ocean.cpp(210) : Notice #119 - Return is not a function
Function: Seahunt::Ocean::Get_target_count
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 End Line: 211 ------------------------
----------------------- Function Begin Line: 215 -----------------------
Function: Seahunt::Ocean::Get_active_targets
Parameters: (void)
ocean.cpp(215) : Notice #51 - No comment preceding a function block
ocean.cpp(216) : Notice #119 - Return is not a function
Function: Seahunt::Ocean::Get_active_targets
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 End Line: 217 ------------------------
----------------------- Function Begin Line: 221 -----------------------
Function: Seahunt::Ocean::Get_destroyed_targets
Parameters: (void)
ocean.cpp(221) : Notice #51 - No comment preceding a function block
ocean.cpp(222) : Notice #119 - Return is not a function
Function: Seahunt::Ocean::Get_destroyed_targets
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 End Line: 223 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 231 -----------------------
Function: main
Parameters: (void)
ocean.cpp(231) : Notice #51 - No comment preceding a function block
ocean.cpp(249) : Notice #119 - Return is not a function
ocean.cpp(250) : Notice #17 - Function comment content less than 10.0%
Function: main
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 End Line: 250 ------------------------
ocean.cpp(252) : Notice #20 - File comment content < 10.0%
ocean.cpp(252) : Notice #45 - New and Delete counts are not equal for the file.
------------------------------------------------------------------------
~~ 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
ocean.cpp(252) : Notice #124 - The test Test Copyright string was not found
File: player.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 9 ------------------------
Function: Seahunt::Player::Player
Parameters: ()
player.cpp(9) : Notice #51 - No comment preceding a function block
player.cpp(10) : Notice #50 - Variable assignment to a literal number
player.cpp(12) : Notice #50 - Variable assignment to a literal number
player.cpp(13) : Notice #50 - Variable assignment to a literal number
player.cpp(15) : Notice #17 - Function comment content less than 10.0%
player.cpp(15) : Notice #46 - Function/Class Blank Line content less < 10.0%
player.cpp(15) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Player::Player
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 End Line: 15 ------------------------
------------------------ Function Begin Line: 18 -----------------------
Function: Seahunt::Player::Player
Parameters: (std::string n)
player.cpp(18) : Notice #51 - No comment preceding a function block
player.cpp(21) : Notice #50 - Variable assignment to a literal number
player.cpp(22) : Notice #50 - Variable assignment to a literal number
player.cpp(23) : Notice #50 - Variable assignment to a literal number
player.cpp(24) : Notice #17 - Function comment content less than 10.0%
player.cpp(24) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::Player
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 End Line: 24 ------------------------
------------------------ Function Begin Line: 27 -----------------------
Function: Seahunt::Player::~Player
Parameters: ()
player.cpp(27) : Notice #51 - No comment preceding a function block
player.cpp(29) : Notice #48 - Function lLOC <= 0, non-operational function
Function: Seahunt::Player::~Player
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 End Line: 29 ------------------------
------------------------ Function Begin Line: 33 -----------------------
Function: Seahunt::Player::Hit
Parameters: (Ocean * ocean)
player.cpp(33) : Notice #51 - No comment preceding a function block
player.cpp(41) : Notice #119 - Return is not a function
player.cpp(42) : Notice #17 - Function comment content less than 10.0%
player.cpp(42) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::Hit
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 End Line: 42 ------------------------
------------------------ Function Begin Line: 46 -----------------------
Function: Seahunt::Player::Score
Parameters: (Ocean * ocean)
player.cpp(46) : Notice #51 - No comment preceding a function block
player.cpp(50) : Notice #119 - Return is not a function
player.cpp(51) : Notice #17 - Function comment content less than 10.0%
player.cpp(51) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::Score
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 End Line: 51 ------------------------
------------------------ Function Begin Line: 55 -----------------------
Function: Seahunt::Player::Show
Parameters: (void)
player.cpp(55) : Notice #51 - No comment preceding a function block
player.cpp(72) : Notice #17 - Function comment content less than 10.0%
player.cpp(72) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::Show
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 End Line: 72 ------------------------
------------------------ Function Begin Line: 76 -----------------------
Function: Seahunt::Player::Get_score
Parameters: (void)
player.cpp(76) : Notice #51 - No comment preceding a function block
player.cpp(77) : Notice #119 - Return is not a function
Function: Seahunt::Player::Get_score
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 End Line: 78 ------------------------
------------------------ Function Begin Line: 82 -----------------------
Function: Seahunt::Player::Get_number_hits
Parameters: (void)
player.cpp(82) : Notice #51 - No comment preceding a function block
player.cpp(83) : Notice #119 - Return is not a function
Function: Seahunt::Player::Get_number_hits
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 End Line: 84 ------------------------
------------------------ Function Begin Line: 88 -----------------------
Function: Seahunt::Player::Get_number_tries
Parameters: (void)
player.cpp(88) : Notice #51 - No comment preceding a function block
player.cpp(89) : Notice #119 - Return is not a function
Function: Seahunt::Player::Get_number_tries
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 End Line: 90 ------------------------
------------------------ Function Begin Line: 94 -----------------------
Function: Seahunt::Player::Get_name
Parameters: (void)
player.cpp(94) : Notice #51 - No comment preceding a function block
player.cpp(95) : Notice #119 - Return is not a function
Function: Seahunt::Player::Get_name
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 End Line: 96 ------------------------
----------------------- Function Begin Line: 100 -----------------------
Function: Seahunt::Player::Set_name
Parameters: (std::string n)
player.cpp(100) : Notice #51 - No comment preceding a function block
Function: Seahunt::Player::Set_name
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 End Line: 102 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 109 -----------------------
Function: main
Parameters: (void)
player.cpp(109) : Notice #51 - No comment preceding a function block
player.cpp(117) : Notice #119 - Return is not a function
player.cpp(118) : Notice #17 - Function comment content less than 10.0%
Function: main
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 End Line: 118 ------------------------
player.cpp(126) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
player.cpp(126) : Notice #124 - The test Test Copyright string was not found
File: player_solution.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 10 -----------------------
Function: Seahunt::Player::Player
Parameters: ()
player_solution.cpp(11) : Notice #50 - Variable assignment to a literal number
player_solution.cpp(12) : Notice #50 - Variable assignment to a literal number
player_solution.cpp(13) : Notice #50 - Variable assignment to a literal number
player_solution.cpp(19) : Notice #17 - Function comment content less than 10.0%
player_solution.cpp(19) : Notice #46 - Function/Class Blank Line content less < 10.0%
player_solution.cpp(19) : Notice #49 - Function appears to have null or blank parameters
Function: Seahunt::Player::Player
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 End Line: 19 ------------------------
------------------------ Function Begin Line: 23 -----------------------
Function: Seahunt::Player::Player
Parameters: (const std::string& label)
player_solution.cpp(31) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::Player
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 End Line: 31 ------------------------
------------------------ Function Begin Line: 35 -----------------------
Function: Seahunt::Player::~Player
Parameters: ()
Function: Seahunt::Player::~Player
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 End Line: 40 ------------------------
------------------------ Function Begin Line: 44 -----------------------
Function: Seahunt::Player::reset
Parameters: (void)
player_solution.cpp(45) : Notice #50 - Variable assignment to a literal number
player_solution.cpp(46) : Notice #50 - Variable assignment to a literal number
player_solution.cpp(47) : Notice #50 - Variable assignment to a literal number
Function: Seahunt::Player::reset
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 End Line: 48 ------------------------
------------------------ Function Begin Line: 52 -----------------------
Function: Seahunt::Player::begin
Parameters: (void)
player_solution.cpp(54) : Notice #119 - Return is not a function
Function: Seahunt::Player::begin
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 End Line: 55 ------------------------
------------------------ Function Begin Line: 59 -----------------------
Function: Seahunt::Player::elapsed
Parameters: (void)
player_solution.cpp(61) : Notice #119 - Return is not a function
Function: Seahunt::Player::elapsed
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 End Line: 62 ------------------------
------------------------ Function Begin Line: 67 -----------------------
Function: Seahunt::Player::hit
Parameters: (Ocean* ocean)
player_solution.cpp(82) : Notice #17 - Function comment content less than 10.0%
Function: Seahunt::Player::hit
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 End Line: 82 ------------------------
------------------------ Function Begin Line: 86 -----------------------
Function: Seahunt::Player::place_targets
Parameters: (Ocean* ocean)
Function: Seahunt::Player::place_targets
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 End Line: 88 ------------------------
------------------------ Function Begin Line: 93 -----------------------
Function: Seahunt::Player::score
Parameters: (Ocean* ocean)
Function: Seahunt::Player::score
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 End Line: 97 ------------------------
----------------------- Function Begin Line: 102 -----------------------
Function: Seahunt::Player::show
Parameters: (void)
player_solution.cpp(109) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Player::show
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 End Line: 109 ------------------------
----------------------- Function Begin Line: 114 -----------------------
Function: Seahunt::Player::get_score
Parameters: (void)
Function: Seahunt::Player::get_score
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 End Line: 116 ------------------------
----------------------- Function Begin Line: 121 -----------------------
Function: Seahunt::Player::get_number_hits
Parameters: (void)
Function: Seahunt::Player::get_number_hits
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 End Line: 123 ------------------------
----------------------- Function Begin Line: 128 -----------------------
Function: Seahunt::Player::get_number_tries
Parameters: (void)
Function: Seahunt::Player::get_number_tries
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 End Line: 130 ------------------------
----------------------- Function Begin Line: 135 -----------------------
Function: Seahunt::Player::get_name
Parameters: (void)
Function: Seahunt::Player::get_name
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 End Line: 137 ------------------------
----------------------- Function Begin Line: 142 -----------------------
Function: Seahunt::Player::set_name
Parameters: (const std::string& n)
Function: Seahunt::Player::set_name
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 End Line: 144 ------------------------
----------------------- Function Begin Line: 149 -----------------------
Function: Seahunt::Player::set_name
Parameters: (void)
Function: Seahunt::Player::set_name
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 End Line: 151 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 159 -----------------------
Function: main
Parameters: (void)
player_solution.cpp(179) : Notice #119 - Return is not a function
player_solution.cpp(180) : Notice #17 - Function comment content less than 10.0%
Function: main
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 End Line: 180 ------------------------
------------------------------------------------------------------------
~~ 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
player_solution.cpp(188) : Notice #124 - The test Test Copyright string was not found
File: seahunt.cpp
________________________________________________________________________
------------------------ Function Begin Line: 11 -----------------------
Function: main
Parameters: (void)
seahunt.cpp(11) : Notice #51 - No comment preceding a function block
seahunt.cpp(15) : Notice #119 - Return is not a function
seahunt.cpp(16) : Notice #17 - Function comment content less than 10.0%
seahunt.cpp(16) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: main
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 End Line: 16 ------------------------
seahunt.cpp(18) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
seahunt.cpp(18) : Notice #124 - The test Test Copyright string was not found
File: sub.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 12 -----------------------
Function: Seahunt::Sub::Create
Parameters: (void)
sub.cpp(12) : Notice #51 - No comment preceding a function block
sub.cpp(14) : Notice #50 - Variable assignment to a literal number
sub.cpp(15) : Notice #50 - Variable assignment to a literal number
sub.cpp(21) : Notice #119 - Return is not a function
sub.cpp(22) : Notice #17 - Function comment content less than 10.0%
sub.cpp(22) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Sub::Create
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 End Line: 22 ------------------------
------------------------ Function Begin Line: 26 -----------------------
Function: Seahunt::Sub::Create
Parameters: (std::string name, int a, int d)
sub.cpp(26) : Notice #51 - No comment preceding a function block
sub.cpp(28) : Notice #119 - Return is not a function
Function: Seahunt::Sub::Create
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 End Line: 29 ------------------------
------------------------ Function Begin Line: 33 -----------------------
Function: Seahunt::Sub::Sub
Parameters: (std::string name, int a, int d)
sub.cpp(33) : Notice #51 - No comment preceding a function block
Function: Seahunt::Sub::Sub
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 End Line: 37 ------------------------
------------------------ Function Begin Line: 40 -----------------------
Function: Seahunt::Sub::~Sub
Parameters: ()
sub.cpp(40) : Notice #51 - No comment preceding a function block
Function: Seahunt::Sub::~Sub
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 End Line: 44 ------------------------
------------------------ Function Begin Line: 48 -----------------------
Function: Seahunt::Sub::Show
Parameters: (void)
sub.cpp(48) : Notice #51 - No comment preceding a function block
Function: Seahunt::Sub::Show
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 End Line: 52 ------------------------
------------------------ Function Begin Line: 56 -----------------------
Function: Seahunt::Sub::Hit
Parameters: (void)
sub.cpp(56) : Notice #51 - No comment preceding a function block
sub.cpp(65) : Notice #119 - Return is not a function
sub.cpp(66) : Notice #17 - Function comment content less than 10.0%
sub.cpp(66) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Sub::Hit
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 End Line: 66 ------------------------
Namespace End: Seahunt
------------------------ Function Begin Line: 73 -----------------------
Function: main
Parameters: (void)
sub.cpp(73) : Notice #51 - No comment preceding a function block
sub.cpp(86) : Notice #119 - Return is not a function
sub.cpp(87) : Notice #17 - Function comment content less than 10.0%
Function: main
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 End Line: 87 ------------------------
sub.cpp(91) : Notice #20 - File comment content < 10.0%
sub.cpp(91) : Notice #45 - New and Delete counts are not equal for the file.
------------------------------------------------------------------------
~~ 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
sub.cpp(91) : Notice #124 - The test Test Copyright string was not found
File: target.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 17 -----------------------
Function: Seahunt::Target::Target
Parameters: (std::string n, int a, int d)
target.cpp(17) : Notice #51 - No comment preceding a function block
target.cpp(20) : Notice #50 - Variable assignment to a literal number
target.cpp(27) : Notice #17 - Function comment content less than 10.0%
target.cpp(27) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Target::Target
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 End Line: 27 ------------------------
------------------------ Function Begin Line: 30 -----------------------
Function: Seahunt::Target::~Target
Parameters: ()
target.cpp(30) : Notice #51 - No comment preceding a function block
target.cpp(35) : Notice #17 - Function comment content less than 10.0%
target.cpp(35) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Target::~Target
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 End Line: 35 ------------------------
------------------------ Function Begin Line: 39 -----------------------
Function: Seahunt::Target::Get_status
Parameters: (void)
target.cpp(39) : Notice #51 - No comment preceding a function block
target.cpp(40) : Notice #119 - Return is not a function
Function: Seahunt::Target::Get_status
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 End Line: 41 ------------------------
------------------------ Function Begin Line: 45 -----------------------
Function: Seahunt::Target::Get_depth_limit
Parameters: (void)
target.cpp(45) : Notice #51 - No comment preceding a function block
target.cpp(46) : Notice #119 - Return is not a function
Function: Seahunt::Target::Get_depth_limit
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 End Line: 47 ------------------------
------------------------ Function Begin Line: 51 -----------------------
Function: Seahunt::Target::Get_name
Parameters: (void)
target.cpp(51) : Notice #51 - No comment preceding a function block
target.cpp(52) : Notice #119 - Return is not a function
Function: Seahunt::Target::Get_name
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 End Line: 53 ------------------------
------------------------ Function Begin Line: 57 -----------------------
Function: Seahunt::Target::Hit
Parameters: (void)
target.cpp(57) : Notice #51 - No comment preceding a function block
target.cpp(76) : Notice #119 - Return is not a function
target.cpp(77) : Notice #17 - Function comment content less than 10.0%
target.cpp(77) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Target::Hit
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 End Line: 77 ------------------------
------------------------ Function Begin Line: 81 -----------------------
Function: Seahunt::Target::Reset
Parameters: (void)
target.cpp(81) : Notice #51 - No comment preceding a function block
target.cpp(82) : Notice #50 - Variable assignment to a literal number
Function: Seahunt::Target::Reset
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 End Line: 84 ------------------------
------------------------ Function Begin Line: 88 -----------------------
Function: Seahunt::Target::Show
Parameters: (void)
target.cpp(88) : Notice #51 - No comment preceding a function block
target.cpp(92) : Notice #1 - Physical line length > 80 characters
target.cpp(93) : Notice #17 - Function comment content less than 10.0%
target.cpp(93) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Target::Show
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 End Line: 93 ------------------------
Namespace End: Seahunt
----------------------- Function Begin Line: 100 -----------------------
Function: main
Parameters: (void)
target.cpp(100) : Notice #51 - No comment preceding a function block
target.cpp(113) : Notice #119 - Return is not a function
target.cpp(115) : Notice #17 - Function comment content less than 10.0%
Function: main
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 End Line: 115 ------------------------
target.cpp(119) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
target.cpp(119) : Notice #124 - The test Test Copyright string was not found
File: timer.cpp
________________________________________________________________________
------------------------ Function Begin Line: 9 ------------------------
Function: Timer::Timer
Parameters: ()
timer.cpp(9) : Notice #51 - No comment preceding a function block
timer.cpp(12) : Notice #49 - Function appears to have null or blank parameters
Function: Timer::Timer
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 End Line: 12 ------------------------
------------------------ Function Begin Line: 15 -----------------------
Function: Timer::Timer
Parameters: (const std::string &label)
timer.cpp(15) : Notice #51 - No comment preceding a function block
Function: Timer::Timer
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 End Line: 18 ------------------------
------------------------ Function Begin Line: 21 -----------------------
Function: Timer::~Timer
Parameters: ()
timer.cpp(21) : Notice #51 - No comment preceding a function block
timer.cpp(22) : Notice #48 - Function lLOC <= 0, non-operational function
Function: Timer::~Timer
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 End Line: 22 ------------------------
------------------------ Function Begin Line: 26 -----------------------
Function: Timer::reset
Parameters: (void)
timer.cpp(26) : Notice #51 - No comment preceding a function block
timer.cpp(32) : Notice #50 - Variable assignment to a literal number
timer.cpp(33) : Notice #50 - Variable assignment to a literal number
timer.cpp(34) : Notice #50 - Variable assignment to a literal number
timer.cpp(35) : Notice #50 - Variable assignment to a literal number
timer.cpp(36) : Notice #50 - Variable assignment to a literal number
timer.cpp(37) : Notice #17 - Function comment content less than 10.0%
timer.cpp(37) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Timer::reset
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 End Line: 37 ------------------------
------------------------ Function Begin Line: 41 -----------------------
Function: Timer::start
Parameters: (void)
timer.cpp(41) : Notice #51 - No comment preceding a function block
timer.cpp(47) : Notice #17 - Function comment content less than 10.0%
timer.cpp(47) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Timer::start
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 End Line: 47 ------------------------
------------------------ Function Begin Line: 51 -----------------------
Function: Timer::show
Parameters: (void)
timer.cpp(51) : Notice #51 - No comment preceding a function block
timer.cpp(75) : Notice #17 - Function comment content less than 10.0%
timer.cpp(75) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Timer::show
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 End Line: 75 ------------------------
------------------------ Function Begin Line: 79 -----------------------
Function: Timer::stop
Parameters: (void)
timer.cpp(79) : Notice #51 - No comment preceding a function block
timer.cpp(90) : Notice #50 - Variable assignment to a literal number
timer.cpp(103) : Notice #50 - Variable assignment to a literal number
timer.cpp(105) : Notice #17 - Function comment content less than 10.0%
Function: Timer::stop
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 End Line: 105 ------------------------
----------------------- Function Begin Line: 108 -----------------------
Function: Timer::get_user_time
Parameters: (void)
timer.cpp(108) : Notice #51 - No comment preceding a function block
Function: Timer::get_user_time
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 End Line: 110 ------------------------
----------------------- Function Begin Line: 113 -----------------------
Function: Timer::get_system_time
Parameters: (void)
timer.cpp(113) : Notice #51 - No comment preceding a function block
Function: Timer::get_system_time
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 End Line: 115 ------------------------
----------------------- Function Begin Line: 118 -----------------------
Function: Timer::get_wait_time
Parameters: (void)
timer.cpp(118) : Notice #51 - No comment preceding a function block
Function: Timer::get_wait_time
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 End Line: 120 ------------------------
----------------------- Function Begin Line: 123 -----------------------
Function: Timer::get_non_wait_time
Parameters: (void)
timer.cpp(123) : Notice #51 - No comment preceding a function block
Function: Timer::get_non_wait_time
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 End Line: 125 ------------------------
----------------------- Function Begin Line: 128 -----------------------
Function: Timer::get_elapsed_time
Parameters: (void)
timer.cpp(128) : Notice #51 - No comment preceding a function block
Function: Timer::get_elapsed_time
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 End Line: 130 ------------------------
----------------------- Function Begin Line: 136 -----------------------
Function: main
Parameters: (void)
timer.cpp(136) : Notice #51 - No comment preceding a function block
timer.cpp(143) : Notice #50 - Variable assignment to a literal number
Function: main
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 End Line: 157 ------------------------
timer.cpp(159) : Notice #20 - File comment content < 10.0%
------------------------------------------------------------------------
~~ 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
timer.cpp(159) : Notice #124 - The test Test Copyright string was not found
File: utility.cpp
________________________________________________________________________
Namespace Begin: Seahunt
------------------------ Function Begin Line: 15 -----------------------
Function: Seahunt::Utility::itos
Parameters: (int i)
utility.cpp(21) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Utility::itos
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 End Line: 21 ------------------------
------------------------ Function Begin Line: 26 -----------------------
Function: Seahunt::Utility::dtos
Parameters: (double d)
utility.cpp(32) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Utility::dtos
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 End Line: 32 ------------------------
------------------------ Function Begin Line: 36 -----------------------
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, int & entry, int min, int max)
utility.cpp(36) : Notice #51 - No comment preceding a function block
utility.cpp(46) : Notice #50 - Variable assignment to a literal number
utility.cpp(46) : Notice #7 - Pre-increment operator '++' identified
utility.cpp(55) : Notice #44 - Keyword 'break' identified outside a 'switch' structure
utility.cpp(72) : Notice #17 - Function comment content less than 10.0%
utility.cpp(72) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Utility::UserEntry
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 End Line: 72 ------------------------
------------------------ Function Begin Line: 76 -----------------------
Function: Seahunt::Utility::UserEntry
Parameters: (std::string label, std::string & entry, int length)
utility.cpp(76) : Notice #51 - No comment preceding a function block
utility.cpp(81) : Notice #46 - Function/Class Blank Line content less < 10.0%
Function: Seahunt::Utility::UserEntry
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 End Line: 81 ------------------------
------------------------ Function Begin Line: 85 -----------------------
Function: Seahunt::Utility::WaitKey
Parameters: (void)
utility.cpp(85) : Notice #51 - No comment preceding a function block
Function: Seahunt::Utility::WaitKey
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 End Line: 89 ------------------------
------------------------ Function Begin Line: 93 -----------------------
Function: Seahunt::Utility::ClearScreen
Parameters: (void)
utility.cpp(93) : Notice #51 - No comment preceding a function block
Function: Seahunt::Utility::ClearScreen
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 End Line: 95 ------------------------
Namespace End: Seahunt
utility.cpp(98) : Notice #20 - File comment content < 10.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
utility.cpp(98) : Notice #124 - The test Test Copyright string was not found
File: Fibonacci.cs
________________________________________________________________________
Namespace Begin: test
-------------------------- Class Begin Line: 6 -------------------------
Class: test.Fibonacci
Fibonacci.cs(6) : Notice #52 - No comment preceding a class block
------------------------ Function Begin Line: 8 ------------------------
Function: test.Fibonacci.Main
Parameters: ()
Fibonacci.cs(8) : Notice #51 - No comment preceding a function block
Fibonacci.cs(11) : Notice #50 - Variable assignment to a literal number
Fibonacci.cs(12) : Notice #50 - Variable assignment to a literal number
Fibonacci.cs(16) : Notice #50 - Variable assignment to a literal number
Fibonacci.cs(26) : Notice #49 - Function appears to have null or blank parameters
Function: test.Fibonacci.Main
LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
------------------------- Function End Line: 26 ------------------------
Class: test.Fibonacci
Attributes Publ 0 Prot 0 Private 0 Total 0
Methods Publ 1 Prot 0 Private 0 Total 1
LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22
Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2
-------------------------- Class End Line: 28 --------------------------
Namespace End: test
------------------------------------------------------------------------
~~ 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)
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)
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