Report Banner - Edit rsm.cfg File Resource Standard Metrics™ for C, C++, C# and Java Version 7.71 - mSquaredTechnologies.com License Type: Company Site License Licensed To : M Squared Technologies LLC License No. : ST1000 License Date: Mar 06, 2013 Build Date : Mar 7 2013 Run Date: Mar 07, 2013 ©2013 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 -SQuality Notice Summary Report -fa -fp -o -n -Ns cell. h game.h ocean.h player.h sub.h target.h timer.h utility.h cell.cpp game.cpp ocean.cpp player.cpp player_solution.cp p seahunt.cpp sub.cpp target.cpp timer.cpp utility.cpp Fib onacci.cs UDQN File : C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg Quality Notice Summary Report ~~ Function Metrics ~~ ~~ Class/Struct Metrics ~~ ~~ Quality Analysis ~~ File: cell.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 16 ------------------------- Class: Seahunt::Cell Notice # 52: Line 16, No comment preceding a class block Notice # 50: Line 20, Variable assignment to a literal number Notice # 50: Line 20, Variable assignment to a literal number Notice # 50: Line 20, Variable assignment to a literal number Notice # 125: Line 30, A data member in the header file is not of the form m_* Notice # 34: Line 31, Class specification contains a pointer to data Notice # 46: Line 35, 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 File: game.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 15 ------------------------- Class: Seahunt::Game Notice # 52: Line 15, No comment preceding a class block Notice # 34: Line 22, Class specification contains a pointer to data Notice # 34: Line 23, Class specification contains a pointer to data Notice # 125: Line 24, A data member in the header file is not of the form m_* Notice # 31: Line 27, Class/Struct comments are < 10.0% Notice # 16: Line 27, Function/class/struct/interface white space < 10.0% Notice # 46: Line 27, 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 Notice # 20: Line 31, 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 File: ocean.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 19 ------------------------- Class: Seahunt::Ocean Notice # 52: Line 19, No comment preceding a class block Notice # 125: Line 33, A data member in the header file is not of the form m_* Notice # 125: Line 34, A data member in the header file is not of the form m_* Notice # 125: Line 35, A data member in the header file is not of the form m_* Notice # 125: Line 36, A data member in the header file is not of the form m_* Notice # 34: Line 38, Class specification contains a pointer to data Notice # 31: Line 41, Class/Struct comments are < 10.0% Notice # 16: Line 41, Function/class/struct/interface white space < 10.0% Notice # 46: Line 41, 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 File: player.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 17 ------------------------- Class: Seahunt::Player Notice # 52: Line 17, No comment preceding a class block Notice # 125: Line 32, A data member in the header file is not of the form m_* Notice # 125: Line 33, A data member in the header file is not of the form m_* Notice # 125: Line 34, A data member in the header file is not of the form m_* Notice # 125: Line 35, A data member in the header file is not of the form m_* Notice # 125: Line 36, A data member in the header file is not of the form m_* Notice # 31: Line 37, Class/Struct comments are < 10.0% Notice # 46: Line 37, 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 Notice # 20: Line 41, 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 File: sub.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 15 ------------------------- Class: Seahunt::Sub Inheritance: Target Notice # 52: Line 15, No comment preceding a class block ------------------------ Function Begin Line: 22 ----------------------- Function: Seahunt::Sub::Abstract Parameters: (void) Notice # 51: Line 22, No comment preceding a function block Notice # 48: Line 22, 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 ------------------------ Notice # 31: Line 25, Class/Struct comments are < 10.0% Notice # 16: Line 25, Function/class/struct/interface white space < 10.0% Notice # 46: Line 25, 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 Notice # 20: Line 29, 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 File: target.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 28 ------------------------- Class: Seahunt::Target Notice # 35: Line 35, Class specification contains public data ------------------------ 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 ------------------------ Notice # 36: Line 57, Class specification contains protected data Notice # 125: Line 57, A data member in the header file is not of the form m_* Notice # 36: Line 58, Class specification contains protected data Notice # 125: Line 58, A data member in the header file is not of the form m_* Notice # 36: Line 59, Class specification contains protected data Notice # 125: Line 59, A data member in the header file is not of the form m_* Notice # 36: Line 60, Class specification contains protected data Notice # 125: Line 60, A data member in the header file is not of the form m_* Notice # 36: Line 61, Class specification contains protected data Notice # 125: Line 61, 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) Notice # 51: Line 65, No comment preceding a function block Notice # 48: Line 68, 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 1 Prot 5 Private 0 Total 6 Methods Publ 9 Prot 0 Private 1 Total 10 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 File: timer.h ________________________________________________________________________ ------------------------- Class Begin Line: 17 ------------------------- Class: Timer Notice # 52: Line 17, 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 File: utility.h ________________________________________________________________________ Namespace Begin: Seahunt ------------------------- Class Begin Line: 13 ------------------------- Class: Seahunt::Utility Notice # 52: Line 13, No comment preceding a class block Notice # 16: Line 25, Function/class/struct/interface white space < 10.0% Notice # 46: Line 25, 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 File: cell.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 14 ----------------------- Function: Seahunt::Cell::Cell Parameters: () Notice # 51: Line 14, No comment preceding a function block Notice # 50: Line 16, Variable assignment to a literal number Notice # 50: Line 17, Variable assignment to a literal number Notice # 50: Line 18, Variable assignment to a literal number Notice # 50: Line 19, Variable assignment to a literal number Notice # 17: Line 20, Function comment content less than 10.0% Notice # 46: Line 20, Function/Class Blank Line content less < 10.0% Notice # 49: Line 20, 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) Notice # 51: Line 23, No comment preceding a function block Notice # 17: Line 29, Function comment content less than 10.0% Notice # 46: Line 29, 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: () Notice # 51: Line 32, No comment preceding a function block Notice # 48: Line 34, 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) Notice # 51: Line 38, 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) Notice # 51: Line 45, No comment preceding a function block Notice # 119: Line 46, 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) Notice # 51: Line 52, No comment preceding a function block Notice # 119: Line 53, 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) Notice # 51: Line 59, No comment preceding a function block Notice # 119: Line 60, 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) Notice # 51: Line 65, No comment preceding a function block Notice # 119: Line 72, Return is not a function Notice # 17: Line 73, Function comment content less than 10.0% Notice # 46: Line 73, 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) Notice # 51: Line 77, No comment preceding a function block Notice # 119: Line 78, 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) Notice # 51: Line 83, No comment preceding a function block Notice # 119: Line 108, Return is not a function Notice # 17: Line 109, Function comment content less than 10.0% Notice # 46: Line 109, 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) Notice # 51: Line 119, No comment preceding a function block Notice # 50: Line 126, Variable assignment to a literal number Notice # 50: Line 128, Variable assignment to a literal number Notice # 50: Line 130, Variable assignment to a literal number Notice # 119: Line 161, 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 ------------------------ Notice # 20: Line 167, 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 File: game.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 9 ------------------------ Function: Seahunt::Game::Game Parameters: () Notice # 51: Line 9, No comment preceding a function block Notice # 17: Line 23, Function comment content less than 10.0% Notice # 46: Line 23, Function/Class Blank Line content less < 10.0% Notice # 49: Line 23, 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: () Notice # 51: Line 26, No comment preceding a function block Notice # 50: Line 30, Variable assignment to a literal number Notice # 50: Line 35, Variable assignment to a literal number Notice # 17: Line 37, Function comment content less than 10.0% Notice # 46: Line 37, 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: () Notice # 51: Line 41, No comment preceding a function block Notice # 50: Line 43, Variable assignment to a literal number Notice # 50: Line 46, Variable assignment to a literal number Notice # 43: Line 63, Keyword 'continue' has been identified Notice # 43: Line 69, Keyword 'continue' has been identified Notice # 43: Line 79, Keyword 'continue' has been identified Notice # 17: Line 105, Function comment content less than 10.0% Notice # 49: Line 105, 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 Notice # 20: Line 107, 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 File: ocean.cpp ________________________________________________________________________ Namespace Begin: Anonymous - File Scope Notice # 1: Line 20, Physical line length > 80 characters Namespace End: Anonymous - File Scope Namespace Begin: Seahunt ------------------------ Function Begin Line: 28 ----------------------- Function: Seahunt::Ocean::Ocean Parameters: () Notice # 51: Line 28, No comment preceding a function block Notice # 17: Line 35, Function comment content less than 10.0% Notice # 46: Line 35, Function/Class Blank Line content less < 10.0% Notice # 49: Line 35, 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) Notice # 51: Line 39, No comment preceding a function block Notice # 50: Line 40, Variable assignment to a literal number Notice # 50: Line 41, Variable assignment to a literal number Notice # 50: Line 44, Variable assignment to a literal number Notice # 7: Line 44, Pre-increment operator '++' identified Notice # 50: Line 46, Variable assignment to a literal number Notice # 50: Line 48, Variable assignment to a literal number Notice # 50: Line 50, Variable assignment to a literal number Notice # 50: Line 52, Variable assignment to a literal number Notice # 17: Line 58, Function comment content less than 10.0% Notice # 46: Line 58, 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: () Notice # 51: Line 61, No comment preceding a function block Notice # 50: Line 63, Variable assignment to a literal number Notice # 7: Line 63, Pre-increment operator '++' identified Notice # 50: Line 68, Variable assignment to a literal number Notice # 17: Line 74, Function comment content less than 10.0% Notice # 46: Line 74, 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) Notice # 51: Line 78, No comment preceding a function block Notice # 50: Line 79, Variable assignment to a literal number Notice # 17: Line 90, Function comment content less than 10.0% Notice # 46: Line 90, 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) Notice # 51: Line 94, No comment preceding a function block Notice # 50: Line 95, Variable assignment to a literal number Notice # 50: Line 100, Variable assignment to a literal number Notice # 50: Line 101, Variable assignment to a literal number Notice # 50: Line 102, Variable assignment to a literal number Notice # 1: Line 107, Physical line length > 80 characters Notice # 17: Line 121, Function comment content less than 10.0% Notice # 46: Line 121, 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) Notice # 51: Line 125, No comment preceding a function block Notice # 50: Line 126, Variable assignment to a literal number Notice # 50: Line 127, Variable assignment to a literal number Notice # 50: Line 128, Variable assignment to a literal number Notice # 119: Line 144, Return is not a function Notice # 17: Line 145, Function comment content less than 10.0% Notice # 46: Line 145, 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) Notice # 51: Line 149, No comment preceding a function block Notice # 50: Line 150, Variable assignment to a literal number Notice # 50: Line 151, Variable assignment to a literal number Notice # 50: Line 152, Variable assignment to a literal number Notice # 50: Line 153, Variable assignment to a literal number Notice # 7: Line 153, Pre-increment operator '++' identified Notice # 50: Line 158, Variable assignment to a literal number Notice # 7: Line 158, Pre-increment operator '++' identified Notice # 50: Line 169, Variable assignment to a literal number Notice # 7: Line 169, Pre-increment operator '++' identified Notice # 17: Line 185, Function comment content less than 10.0% Notice # 46: Line 185, 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) Notice # 51: Line 189, No comment preceding a function block Notice # 50: Line 196, Variable assignment to a literal number Notice # 7: Line 196, Pre-increment operator '++' identified Notice # 17: Line 205, Function comment content less than 10.0% Notice # 46: Line 205, 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) Notice # 51: Line 209, No comment preceding a function block Notice # 119: Line 210, 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) Notice # 51: Line 215, No comment preceding a function block Notice # 119: Line 216, 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) Notice # 51: Line 221, No comment preceding a function block Notice # 119: Line 222, 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) Notice # 51: Line 231, No comment preceding a function block Notice # 119: Line 249, Return is not a function Notice # 17: Line 250, 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 ------------------------ Notice # 20: Line 252, File comment content < 10.0% Notice # 45: Line 252, 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 File: player.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 9 ------------------------ Function: Seahunt::Player::Player Parameters: () Notice # 51: Line 9, No comment preceding a function block Notice # 50: Line 10, Variable assignment to a literal number Notice # 50: Line 12, Variable assignment to a literal number Notice # 50: Line 13, Variable assignment to a literal number Notice # 17: Line 15, Function comment content less than 10.0% Notice # 46: Line 15, Function/Class Blank Line content less < 10.0% Notice # 49: Line 15, 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) Notice # 51: Line 18, No comment preceding a function block Notice # 50: Line 21, Variable assignment to a literal number Notice # 50: Line 22, Variable assignment to a literal number Notice # 50: Line 23, Variable assignment to a literal number Notice # 17: Line 24, Function comment content less than 10.0% Notice # 46: Line 24, 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: () Notice # 51: Line 27, No comment preceding a function block Notice # 48: Line 29, 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) Notice # 51: Line 33, No comment preceding a function block Notice # 119: Line 41, Return is not a function Notice # 17: Line 42, Function comment content less than 10.0% Notice # 46: Line 42, 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) Notice # 51: Line 46, No comment preceding a function block Notice # 119: Line 50, Return is not a function Notice # 17: Line 51, Function comment content less than 10.0% Notice # 46: Line 51, 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) Notice # 51: Line 55, No comment preceding a function block Notice # 17: Line 72, Function comment content less than 10.0% Notice # 46: Line 72, 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) Notice # 51: Line 76, No comment preceding a function block Notice # 119: Line 77, 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) Notice # 51: Line 82, No comment preceding a function block Notice # 119: Line 83, 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) Notice # 51: Line 88, No comment preceding a function block Notice # 119: Line 89, 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) Notice # 51: Line 94, No comment preceding a function block Notice # 119: Line 95, 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) Notice # 51: Line 100, 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) Notice # 51: Line 109, No comment preceding a function block Notice # 119: Line 117, Return is not a function Notice # 17: Line 118, 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 ------------------------ Notice # 20: Line 126, 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 File: player_solution.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 10 ----------------------- Function: Seahunt::Player::Player Parameters: () Notice # 50: Line 11, Variable assignment to a literal number Notice # 50: Line 12, Variable assignment to a literal number Notice # 50: Line 13, Variable assignment to a literal number Notice # 17: Line 19, Function comment content less than 10.0% Notice # 46: Line 19, Function/Class Blank Line content less < 10.0% Notice # 49: Line 19, 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) Notice # 46: Line 31, 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) Notice # 50: Line 45, Variable assignment to a literal number Notice # 50: Line 46, Variable assignment to a literal number Notice # 50: Line 47, 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) 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) 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) Notice # 17: Line 82, 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) Notice # 46: Line 109, 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) Notice # 119: Line 179, Return is not a function Notice # 17: Line 180, 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 File: seahunt.cpp ________________________________________________________________________ ------------------------ Function Begin Line: 11 ----------------------- Function: main Parameters: (void) Notice # 51: Line 11, No comment preceding a function block Notice # 119: Line 15, Return is not a function Notice # 17: Line 16, Function comment content less than 10.0% Notice # 46: Line 16, 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 ------------------------ Notice # 20: Line 18, 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 File: sub.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 12 ----------------------- Function: Seahunt::Sub::Create Parameters: (void) Notice # 51: Line 12, No comment preceding a function block Notice # 50: Line 14, Variable assignment to a literal number Notice # 50: Line 15, Variable assignment to a literal number Notice # 119: Line 21, Return is not a function Notice # 17: Line 22, Function comment content less than 10.0% Notice # 46: Line 22, 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) Notice # 51: Line 26, No comment preceding a function block Notice # 119: Line 28, 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) Notice # 51: Line 33, 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: () Notice # 51: Line 40, 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) Notice # 51: Line 48, 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) Notice # 51: Line 56, No comment preceding a function block Notice # 119: Line 65, Return is not a function Notice # 17: Line 66, Function comment content less than 10.0% Notice # 46: Line 66, 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) Notice # 51: Line 73, No comment preceding a function block Notice # 119: Line 86, Return is not a function Notice # 17: Line 87, 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 ------------------------ Notice # 20: Line 91, File comment content < 10.0% Notice # 45: Line 91, 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 File: target.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 17 ----------------------- Function: Seahunt::Target::Target Parameters: (std::string n, int a, int d) Notice # 51: Line 17, No comment preceding a function block Notice # 50: Line 20, Variable assignment to a literal number Notice # 17: Line 27, Function comment content less than 10.0% Notice # 46: Line 27, 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: () Notice # 51: Line 30, No comment preceding a function block Notice # 17: Line 35, Function comment content less than 10.0% Notice # 46: Line 35, 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) Notice # 51: Line 39, No comment preceding a function block Notice # 119: Line 40, 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) Notice # 51: Line 45, No comment preceding a function block Notice # 119: Line 46, 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) Notice # 51: Line 51, No comment preceding a function block Notice # 119: Line 52, 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) Notice # 51: Line 57, No comment preceding a function block Notice # 119: Line 76, Return is not a function Notice # 17: Line 77, Function comment content less than 10.0% Notice # 46: Line 77, 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) Notice # 51: Line 81, No comment preceding a function block Notice # 50: Line 82, 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) Notice # 51: Line 88, No comment preceding a function block Notice # 1: Line 92, Physical line length > 80 characters Notice # 17: Line 93, Function comment content less than 10.0% Notice # 46: Line 93, 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) Notice # 51: Line 100, No comment preceding a function block Notice # 119: Line 113, Return is not a function Notice # 17: Line 115, 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 ------------------------ Notice # 20: Line 119, 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 File: timer.cpp ________________________________________________________________________ ------------------------ Function Begin Line: 9 ------------------------ Function: Timer::Timer Parameters: () Notice # 51: Line 9, No comment preceding a function block Notice # 49: Line 12, 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) Notice # 51: Line 15, 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: () Notice # 51: Line 21, No comment preceding a function block Notice # 48: Line 22, 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) Notice # 51: Line 26, No comment preceding a function block Notice # 50: Line 32, Variable assignment to a literal number Notice # 50: Line 33, Variable assignment to a literal number Notice # 50: Line 34, Variable assignment to a literal number Notice # 50: Line 35, Variable assignment to a literal number Notice # 50: Line 36, Variable assignment to a literal number Notice # 17: Line 37, Function comment content less than 10.0% Notice # 46: Line 37, 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) Notice # 51: Line 41, No comment preceding a function block Notice # 17: Line 47, Function comment content less than 10.0% Notice # 46: Line 47, 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) Notice # 51: Line 51, No comment preceding a function block Notice # 17: Line 75, Function comment content less than 10.0% Notice # 46: Line 75, 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) Notice # 51: Line 79, No comment preceding a function block Notice # 50: Line 90, Variable assignment to a literal number Notice # 50: Line 103, Variable assignment to a literal number Notice # 17: Line 105, 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) Notice # 51: Line 108, 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) Notice # 51: Line 113, 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) Notice # 51: Line 118, 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) Notice # 51: Line 123, 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) Notice # 51: Line 128, 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) Notice # 51: Line 136, No comment preceding a function block Notice # 50: Line 143, 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 ------------------------ Notice # 20: Line 159, 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 File: utility.cpp ________________________________________________________________________ Namespace Begin: Seahunt ------------------------ Function Begin Line: 15 ----------------------- Function: Seahunt::Utility::itos Parameters: (int i) Notice # 46: Line 21, 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) Notice # 46: Line 32, 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) Notice # 51: Line 36, No comment preceding a function block Notice # 50: Line 46, Variable assignment to a literal number Notice # 7: Line 46, Pre-increment operator '++' identified Notice # 44: Line 55, Keyword 'break' identified outside a 'switch' structure Notice # 17: Line 72, Function comment content less than 10.0% Notice # 46: Line 72, 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) Notice # 51: Line 76, No comment preceding a function block Notice # 46: Line 81, 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) Notice # 51: Line 85, 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) Notice # 51: Line 93, 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 Notice # 20: Line 98, 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 File: Fibonacci.cs ________________________________________________________________________ Namespace Begin: test -------------------------- Class Begin Line: 6 ------------------------- Class: test.Fibonacci Notice # 52: Line 6, No comment preceding a class block ------------------------ Function Begin Line: 8 ------------------------ Function: test.Fibonacci.Main Parameters: () Notice # 51: Line 8, No comment preceding a function block Notice # 50: Line 11, Variable assignment to a literal number Notice # 50: Line 12, Variable assignment to a literal number Notice # 50: Line 16, Variable assignment to a literal number Notice # 49: Line 26, 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 FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Ocean::Get_destroyed_targets Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: main Parameters: (void) LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 20 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: Seahunt::Player::Player Parameters: () LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::Player Parameters: (std::string n) LOC 7 eLOC 5 lLOC 5 Comment 0 Lines 7 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::~Player Parameters: () LOC 2 eLOC 0 lLOC 0 Comment 1 Lines 3 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::Hit Parameters: (Ocean * ocean) LOC 10 eLOC 6 lLOC 5 Comment 0 Lines 10 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::Score Parameters: (Ocean * ocean) LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Player::Show Parameters: (void) LOC 18 eLOC 14 lLOC 10 Comment 0 Lines 18 Function Points FP(LOC) 0.3 FP(eLOC) 0.3 FP(lLOC) 0.2 Function: Seahunt::Player::Get_score Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::Get_number_hits Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::Get_number_tries Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::Get_name Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::Set_name Parameters: (std::string n) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: main Parameters: (void) LOC 8 eLOC 6 lLOC 6 Comment 0 Lines 10 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::Player Parameters: () LOC 10 eLOC 8 lLOC 6 Comment 1 Lines 10 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: Seahunt::Player::Player Parameters: (const std::string& label) LOC 9 eLOC 7 lLOC 5 Comment 1 Lines 9 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::~Player Parameters: () LOC 5 eLOC 3 lLOC 1 Comment 2 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Player::reset Parameters: (void) LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::begin Parameters: (void) LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::elapsed Parameters: (void) LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::hit Parameters: (Ocean* ocean) LOC 11 eLOC 7 lLOC 6 Comment 1 Lines 16 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::place_targets Parameters: (Ocean* ocean) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::score Parameters: (Ocean* ocean) LOC 5 eLOC 3 lLOC 2 Comment 1 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Player::show Parameters: (void) LOC 8 eLOC 6 lLOC 6 Comment 1 Lines 8 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Player::get_score Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::get_number_hits Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::get_number_tries Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::get_name Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::set_name Parameters: (const std::string& n) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Player::set_name Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 1 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: main Parameters: (void) LOC 17 eLOC 11 lLOC 8 Comment 1 Lines 22 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: main Parameters: (void) LOC 6 eLOC 4 lLOC 4 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Sub::Create Parameters: (void) LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 11 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: Seahunt::Sub::Create Parameters: (std::string name, int a, int d) LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Sub::Sub Parameters: (std::string name, int a, int d) LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Sub::~Sub Parameters: () LOC 5 eLOC 3 lLOC 1 Comment 0 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Sub::Show Parameters: (void) LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Sub::Hit Parameters: (void) LOC 11 eLOC 5 lLOC 3 Comment 0 Lines 11 Function Points FP(LOC) 0.2 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: main Parameters: (void) LOC 11 eLOC 9 lLOC 9 Comment 0 Lines 15 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: Seahunt::Target::Target Parameters: (std::string n, int a, int d) LOC 11 eLOC 9 lLOC 7 Comment 0 Lines 11 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: Seahunt::Target::~Target Parameters: () LOC 6 eLOC 4 lLOC 2 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Seahunt::Target::Get_status Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Target::Get_depth_limit Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Target::Get_name Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Target::Hit Parameters: (void) LOC 21 eLOC 11 lLOC 7 Comment 0 Lines 21 Function Points FP(LOC) 0.4 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: Seahunt::Target::Reset Parameters: (void) LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Seahunt::Target::Show Parameters: (void) LOC 6 eLOC 4 lLOC 1 Comment 0 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: main Parameters: (void) LOC 12 eLOC 10 lLOC 10 Comment 0 Lines 16 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: Timer::Timer Parameters: () LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::Timer Parameters: (const std::string &label) LOC 4 eLOC 2 lLOC 2 Comment 0 Lines 4 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::~Timer Parameters: () LOC 2 eLOC 0 lLOC 0 Comment 0 Lines 2 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::reset Parameters: (void) LOC 12 eLOC 10 lLOC 7 Comment 0 Lines 12 Function Points FP(LOC) 0.2 FP(eLOC) 0.2 FP(lLOC) 0.1 Function: Timer::start Parameters: (void) LOC 7 eLOC 5 lLOC 2 Comment 0 Lines 7 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.0 Function: Timer::show Parameters: (void) LOC 25 eLOC 23 lLOC 2 Comment 0 Lines 25 Function Points FP(LOC) 0.5 FP(eLOC) 0.4 FP(lLOC) 0.0 Function: Timer::stop Parameters: (void) LOC 24 eLOC 18 lLOC 8 Comment 0 Lines 27 Function Points FP(LOC) 0.5 FP(eLOC) 0.3 FP(lLOC) 0.2 Function: Timer::get_user_time Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::get_system_time Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::get_wait_time Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::get_non_wait_time Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: Timer::get_elapsed_time Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: main Parameters: (void) LOC 14 eLOC 10 lLOC 8 Comment 2 Lines 22 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2 Function: Seahunt::Utility::itos Parameters: (int i) LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Utility::dtos Parameters: (double d) LOC 7 eLOC 5 lLOC 5 Comment 1 Lines 7 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Utility::UserEntry Parameters: (std::string label, int & entry, int min, int max) LOC 37 eLOC 21 lLOC 15 Comment 0 Lines 37 Function Points FP(LOC) 0.7 FP(eLOC) 0.4 FP(lLOC) 0.3 Function: Seahunt::Utility::UserEntry Parameters: (std::string label, std::string & entry, int length) LOC 6 eLOC 4 lLOC 4 Comment 1 Lines 6 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Utility::WaitKey Parameters: (void) LOC 5 eLOC 3 lLOC 3 Comment 0 Lines 5 Function Points FP(LOC) 0.1 FP(eLOC) 0.1 FP(lLOC) 0.1 Function: Seahunt::Utility::ClearScreen Parameters: (void) LOC 3 eLOC 1 lLOC 1 Comment 0 Lines 3 Function Points FP(LOC) 0.1 FP(eLOC) 0.0 FP(lLOC) 0.0 Function: test.Fibonacci.Main Parameters: () LOC 15 eLOC 11 lLOC 11 Comment 4 Lines 19 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2 Total: Functions LOC 843 eLOC 519 lLOC 392 InCmp 130 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. .: 130 Total Parameters ......: 35 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.37 Avg Parameters ........: 0.37 Avg Return Points .....: 1.00 Avg Comment Lines .....: 0.42 ------ ----- ----- ------ ------ ----- Max LOC ...............: 53 Max eLOC ..............: 31 Max lLOC ..............: 21 Max Cyclomatic Comp. ..: 10 Max Interface Comp. ...: 5 Max Parameters ........: 4 Max Return Points .....: 1 Max Comment Lines .....: 4 Max Total Lines .......: 65 ------ ----- ----- ------ ------ ----- Min LOC ...............: 1 Min eLOC ..............: 0 Min lLOC ..............: 0 Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 Min Parameters ........: 0 Min Return Points .....: 1 Min Comment Lines .....: 0 Min Total Lines .......: 1 ------------------------------------------------------------------------ ~~ Project Class/Struct Metrics ~~ Parent LOC Metrics Include Nested LOC Metrics Class: Seahunt::Cell Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 9 Prot 0 Private 1 Total 10 LOC 86 eLOC 52 lLOC 45 Comment 7 Lines 87 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Game Attributes Publ 0 Prot 0 Private 3 Total 3 Methods Publ 4 Prot 0 Private 0 Total 4 LOC 93 eLOC 57 lLOC 40 Comment 2 Lines 104 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Ocean Attributes Publ 0 Prot 0 Private 6 Total 6 Methods Publ 9 Prot 0 Private 2 Total 11 LOC 186 eLOC 116 lLOC 89 Comment 2 Lines 189 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Player Attributes Publ 0 Prot 0 Private 5 Total 5 Methods Publ 11 Prot 0 Private 0 Total 11 LOC 167 eLOC 105 lLOC 88 Comment 18 Lines 174 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Sub Inheritance: Target Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 1 Total 7 LOC 52 eLOC 34 lLOC 25 Comment 0 Lines 51 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Target Attributes Publ 1 Prot 5 Private 0 Total 6 Methods Publ 9 Prot 0 Private 1 Total 10 LOC 86 eLOC 58 lLOC 38 Comment 8 Lines 99 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Timer Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 0 Prot 0 Private 0 Total 0 LOC 93 eLOC 65 lLOC 28 Comment 0 Lines 96 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Class: Seahunt::Utility Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 6 Prot 0 Private 0 Total 6 LOC 76 eLOC 48 lLOC 40 Comment 5 Lines 77 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 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 Total: All Classes/Structs Attributes Publ 1 Prot 5 Private 19 Total 25 Methods Publ 55 Prot 0 Private 5 Total 60 LOC 857 eLOC 547 lLOC 404 Comment 46 Lines 899 Function Points FP(LOC) 16.2 FP(eLOC) 10.3 FP(lLOC) 7.6 ------------------------------------------------------------------------ ~~ Project Class/Struct Analysis ~~ Total Classes/Structs .: 9 Total Methods .........: 87 Total Public Methods ..: 55 Total Public Attributes: 1 Total Protected Methods: 0 Total Protected Attrib.: 5 Total Private Methods .: 5 Total Private Attrib. .: 19 Total Physical Lines ..: 899 Total LOC .............: 857 Total eLOC ............: 547 Total lLOC ............: 404 Total Cyclomatic Comp. : 141 Total Interface Comp. .: 122 Total Parameters ......: 35 Total Return Points ...: 87 Total Comment Lines ...: 46 Total Blank Lines .....: 34 ------ ----- ----- ------ ------ ----- Avg Physical Lines ....: 99.89 Avg Methods ...........: 9.67 Avg Public Methods ....: 6.11 Avg Public Attributes .: 0.11 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 0.56 Avg Private Methods ...: 0.56 Avg Private Attributes : 2.11 Avg LOC ...............: 95.22 Avg eLOC ..............: 60.78 Avg lLOC ..............: 44.89 Avg Cyclomatic Comp. ..: 15.67 Avg Interface Comp. ...: 13.56 Avg Parameters ........: 3.89 Avg Return Points .....: 9.67 Avg Comment Lines .....: 5.11 ------ ----- ----- ------ ------ ----- Max Physical Lines ....: 189 Max Methods ...........: 11 Max Public Methods ....: 11 Max Public Attributes .: 1 Max Protected Methods .: 0 Max Protected Attrib. .: 5 Max Private Methods ...: 2 Max Private Attributes : 6 Max LOC ...............: 186 Max eLOC ..............: 116 Max lLOC ..............: 89 Max Cyclomatic Comp. ..: 31 Max Interface Comp. ...: 36 Max Parameters ........: 9 Max Return Points .....: 27 Max Comment Lines .....: 18 ------ ----- ----- ------ ------ ----- Min Physical Lines ....: 22 Min Methods ...........: 0 Min Public Methods ....: 0 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 0 Min LOC ...............: 18 Min eLOC ..............: 12 Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2 Min Interface Comp. ...: 1 Min Parameters ........: 0 Min Return Points .....: 1 Min Comment Lines .....: 0 ------------------------------------------------------------------------ ~~ Project Namespace/Package Metrics ~~ Namespace/Package: Seahunt Total Classses 7 Total Functions 74 Avg Func/Class 10.57 Attributes Publ 1 Prot 5 Private 19 Total 25 Methods Publ 54 Prot 0 Private 5 Total 59 LOC 746 eLOC 470 lLOC 365 Comment 42 Lines 781 Function Points FP(LOC) 0.0 FP(eLOC) 0.0 FP(lLOC) 0.0 Namespace/Package: test Total Classses 1 Total Functions 1 Avg Func/Class 1.00 Attributes Publ 0 Prot 0 Private 0 Total 0 Methods Publ 1 Prot 0 Private 0 Total 1 LOC 18 eLOC 12 lLOC 11 Comment 4 Lines 22 Function Points FP(LOC) 0.3 FP(eLOC) 0.2 FP(lLOC) 0.2 Total: All Namespaces/Packages Total Classses 8 Total Functions 75 Avg Func/Class 9.38 Attributes Publ 1 Prot 5 Private 19 Total 25 Methods Publ 55 Prot 0 Private 5 Total 60 LOC 764 eLOC 482 lLOC 376 Comment 46 Lines 803 Function Points FP(LOC) 14.4 FP(eLOC) 9.1 FP(lLOC) 7.1 ------------------------------------------------------------------------ ~~ Project Namespace/Package Analysis ~~ Total Namespace/Package: 2 Total Classes/Structs .: 8 Total Methods .........: 75 Total Public Methods ..: 55 Total Public Attributes: 1 Total Protected Methods: 0 Total Protected Attrib.: 5 Total Private Methods .: 5 Total Private Attrib. .: 19 Total Physical Lines ..: 803 Total LOC .............: 764 Total eLOC ............: 482 Total lLOC ............: 376 Total Cyclomatic Comp. : 127 Total Interface Comp. .: 109 Total Parameters ......: 34 Total Return Points ...: 75 Total Comment Lines ...: 46 Total Blank Lines .....: 31 ------ ----- ----- ------ ------ ----- Avg Classes/Structs ...: 4.00 Avg Methods ...........: 37.50 Avg Public Methods ....: 27.50 Avg Public Attributes .: 0.50 Avg Protected Methods .: 0.00 Avg Protected Attrib. .: 2.50 Avg Private Methods ...: 2.50 Avg Private Attributes : 9.50 Avg LOC ...............: 382.00 Avg eLOC ..............: 241.00 Avg lLOC ..............: 188.00 Avg Cyclomatic Comp. ..: 63.50 Avg Interface Comp. ...: 54.50 Avg Parameters ........: 17.00 Avg Return Points .....: 37.50 Avg Comment Lines .....: 23.00 ------ ----- ----- ------ ------ ----- Max Classes/Struct ....: 7 Max Methods ...........: 59 Max Public Methods ....: 54 Max Public Attributes .: 1 Max Protected Methods .: 0 Max Protected Attrib. .: 5 Max Private Methods ...: 5 Max Private Attributes : 19 Max LOC ...............: 746 Max eLOC ..............: 470 Max lLOC ..............: 365 Max Cyclomatic Comp. ..: 125 Max Interface Comp. ...: 108 Max Parameters ........: 34 Max Return Points .....: 74 Max Comment Lines .....: 42 ------ ----- ----- ------ ------ ----- Min Classes/Structs ...: 1 Min Methods ...........: 1 Min Public Methods ....: 1 Min Public Attributes .: 0 Min Protected Methods .: 0 Min Protected Attrib. .: 0 Min Private Methods ...: 0 Min Private Attributes : 0 Min LOC ...............: 18 Min eLOC ..............: 12 Min lLOC ..............: 11 Min Cyclomatic Comp. ..: 2 Min Interface Comp. ...: 1 Min Parameters ........: 0 Min Return Points .....: 1 Min Comment Lines .....: 4 ------------------------------------------------------------------------ ~~ Project Quality Profile ~~ Type Count Percent Quality Notice ________________________________________________________________________ 1 3 0.90 Physical line length > 80 characters 7 7 2.09 Pre-increment operator "++" identified 16 4 1.19 Function/class/struct/interface white space < 10.0% 17 39 11.64 Function comment content less than 10.0% 20 12 3.58 File comment content < 10.0% 31 4 1.19 Class/Struct comments are < 10.0% 34 4 1.19 Class specification contains a pointer to data 35 1 0.30 Class specification contains public data 36 5 1.49 Class specification contains protected data 43 3 0.90 Keyword "continue" has been identified 44 1 0.30 Keyword "break" identified outside a "switch" structure 45 2 0.60 New and Delete counts are not equal for the file. 46 42 12.54 Function/Class Blank Line content less < 10.0% 48 5 1.49 Function lLOC <= 0, non-operational function 49 8 2.39 Function appears to have null or blank parameters 50 66 19.70 Variable assignment to a literal number 51 75 22.39 No comment preceding a function block 52 8 2.39 No comment preceding a class block 119 30 8.96 Return is not a function 125 16 4.78 A data member in the header file is not of the form m_* ________________________________________________________________________ 335 100.00 Total Quality Notices ~~ Quality Notice Density ~~ Basis: 1000 (K) Quality Notices/K LOC = 250.9 ( 25.09%) Quality Notices/K eLOC = 350.8 ( 35.08%) Quality Notices/K lLOC = 656.9 ( 65.69%) ------------------------------------------------------------------------ ~~ 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 ________________________________________________________________________ Report Banner - Edit rsm.cfg File