Report Banner - Edit rsm.cfg File Resource Standard Metrics Version,7.62 Date Processed,Wed Jul 02 16:12:27 2008 RSM Command Line,-C -SCSV Total Summary Report -Ta 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.cpp seahunt.cpp sub.cpp target.cpp timer.cpp utility.cpp Fibonacci.cs License File,C:\Program Files\MSquared\M2 RSM\rsm.lic Configuration File,C:\Program Files\MSquared\M2 RSM\rsm.cfg UDQN File,C:\Program Files\MSquared\M2 RSM\rsm_udqn.cfg CSV Total Summary Report Project,19,Files Project Functional Metrics Count,95 Type,Name,Params,LOC,eLOC,lLOC,Comments,Comments/eLOC,Lines,Parameters,Returns,Interface Complexity,Cyclomatic Complexity,Functional Complexity Function,Seahunt::Sub::Abstract,(void),1,1,0,0,0.00,1,0,1,1,1,2 Function,Seahunt::Target::Get_armor,(void),1,1,1,1,1.00,1,0,1,1,1,2 Function,Seahunt::Target::Target,(const Target & t),2,0,0,2,0.00,4,1,1,2,1,3 Function,Seahunt::Cell::Cell,(),7,5,5,0,0.00,7,0,1,1,1,2 Function,Seahunt::Cell::Cell,(const Cell & c),7,5,5,0,0.00,7,1,1,2,1,3 Function,Seahunt::Cell::~Cell,(),2,0,0,1,0.00,3,0,1,1,1,2 Function,Seahunt::Cell::Set_xyz,(int _x; int _y; int _z),3,1,3,0,0.00,3,3,1,4,1,5 Function,Seahunt::Cell::Get_x,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Cell::Get_y,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Cell::Get_z,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Cell::Set_target,(Target * t),9,5,4,0,0.00,9,1,1,2,2,4 Function,Seahunt::Cell::Get_target,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Cell::Hit,(void),27,15,9,0,0.00,27,0,1,1,4,5 Function,main,(void),31,21,19,4,0.19,44,0,1,1,5,6 Function,Seahunt::Game::Game,(),15,9,7,0,0.00,15,0,1,1,3,4 Function,Seahunt::Game::~Game,(),12,6,4,0,0.00,12,0,1,1,3,4 Function,Seahunt::Game::Play,(),53,31,21,2,0.06,65,0,1,1,10,11 Function,Seahunt::Ocean::Ocean,(),8,6,4,0,0.00,8,0,1,1,1,2 Function,Seahunt::Ocean::Init,(void),18,8,8,1,0.13,20,0,1,1,5,6 Function,Seahunt::Ocean::~Ocean,(),13,7,4,1,0.14,14,0,1,1,3,4 Function,Seahunt::Ocean::PlaceTarget,(void),13,7,4,0,0.00,13,0,1,1,3,4 Function,Seahunt::Ocean::TargetPlacement,(Target * t),28,18,13,0,0.00,28,1,1,2,4,6 Function,Seahunt::Ocean::Hit,(void),21,15,13,0,0.00,21,0,1,1,3,4 Function,Seahunt::Ocean::Show,(void),36,20,16,0,0.00,37,0,1,1,6,7 Function,Seahunt::Ocean::ShowTargets,(void),17,11,5,0,0.00,17,0,1,1,3,4 Function,Seahunt::Ocean::Get_target_count,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Ocean::Get_active_targets,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Ocean::Get_destroyed_targets,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,main,(void),12,10,10,0,0.00,20,0,1,1,1,2 Function,Seahunt::Player::Player,(),7,5,5,0,0.00,7,0,1,1,1,2 Function,Seahunt::Player::Player,(std::string n),7,5,5,0,0.00,7,1,1,2,1,3 Function,Seahunt::Player::~Player,(),2,0,0,1,0.00,3,0,1,1,1,2 Function,Seahunt::Player::Hit,(Ocean * ocean),10,6,5,0,0.00,10,1,1,2,2,4 Function,Seahunt::Player::Score,(Ocean * ocean),6,4,2,0,0.00,6,1,1,2,1,3 Function,Seahunt::Player::Show,(void),18,14,10,0,0.00,18,0,1,1,2,3 Function,Seahunt::Player::Get_score,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Player::Get_number_hits,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Player::Get_number_tries,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Player::Get_name,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Player::Set_name,(std::string n),3,1,1,0,0.00,3,1,1,2,1,3 Function,main,(void),8,6,6,0,0.00,10,0,1,1,1,2 Function,Seahunt::Player::Player,(),10,8,6,1,0.13,10,0,1,1,1,2 Function,Seahunt::Player::Player,(const std::string& label),9,7,5,1,0.14,9,1,1,2,1,3 Function,Seahunt::Player::~Player,(),5,3,1,2,0.67,6,0,1,1,1,2 Function,Seahunt::Player::reset,(void),5,3,3,1,0.33,5,0,1,1,1,2 Function,Seahunt::Player::begin,(void),4,2,2,1,0.50,4,0,1,1,1,2 Function,Seahunt::Player::elapsed,(void),4,2,2,1,0.50,4,0,1,1,1,2 Function,Seahunt::Player::hit,(Ocean* ocean),11,7,6,1,0.14,16,1,1,2,2,4 Function,Seahunt::Player::place_targets,(Ocean* ocean),3,1,1,1,1.00,3,1,1,2,1,3 Function,Seahunt::Player::score,(Ocean* ocean),5,3,2,1,0.33,5,1,1,2,1,3 Function,Seahunt::Player::show,(void),8,6,6,1,0.17,8,0,1,1,1,2 Function,Seahunt::Player::get_score,(void),3,1,1,1,1.00,3,0,1,1,1,2 Function,Seahunt::Player::get_number_hits,(void),3,1,1,1,1.00,3,0,1,1,1,2 Function,Seahunt::Player::get_number_tries,(void),3,1,1,1,1.00,3,0,1,1,1,2 Function,Seahunt::Player::get_name,(void),3,1,1,1,1.00,3,0,1,1,1,2 Function,Seahunt::Player::set_name,(const std::string& n),3,1,1,1,1.00,3,1,1,2,1,3 Function,Seahunt::Player::set_name,(void),3,1,1,1,1.00,3,0,1,1,1,2 Function,main,(void),17,11,8,1,0.09,22,0,1,1,4,5 Function,main,(void),6,4,4,0,0.00,6,0,1,1,1,2 Function,Seahunt::Sub::Create,(void),11,9,9,0,0.00,11,0,1,1,1,2 Function,Seahunt::Sub::Create,(std::string name; int a; int d),4,2,2,0,0.00,4,3,1,4,1,5 Function,Seahunt::Sub::Sub,(std::string name; int a; int d),5,3,1,0,0.00,5,3,1,4,1,5 Function,Seahunt::Sub::~Sub,(),5,3,1,0,0.00,5,0,1,1,1,2 Function,Seahunt::Sub::Show,(void),5,3,3,0,0.00,5,0,1,1,1,2 Function,Seahunt::Sub::Hit,(void),11,5,3,0,0.00,11,0,1,1,3,4 Function,main,(void),11,9,9,0,0.00,15,0,1,1,1,2 Function,Seahunt::Target::Target,(std::string n; int a; int d),11,9,7,0,0.00,11,3,1,4,1,5 Function,Seahunt::Target::~Target,(),6,4,2,0,0.00,6,0,1,1,1,2 Function,Seahunt::Target::Get_status,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Target::Get_depth_limit,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Target::Get_name,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Seahunt::Target::Hit,(void),21,11,7,0,0.00,21,0,1,1,3,4 Function,Seahunt::Target::Reset,(void),4,2,2,0,0.00,4,0,1,1,1,2 Function,Seahunt::Target::Show,(void),6,4,1,0,0.00,6,0,1,1,1,2 Function,main,(void),12,10,10,0,0.00,16,0,1,1,1,2 Function,Timer::Timer,(),4,2,2,0,0.00,4,0,1,1,1,2 Function,Timer::Timer,(const std::string &label),4,2,2,0,0.00,4,1,1,2,1,3 Function,Timer::~Timer,(),2,0,0,0,0.00,2,0,1,1,1,2 Function,Timer::reset,(void),12,10,7,0,0.00,12,0,1,1,1,2 Function,Timer::start,(void),7,5,2,0,0.00,7,0,1,1,1,2 Function,Timer::show,(void),25,23,2,0,0.00,25,0,1,1,1,2 Function,Timer::stop,(void),24,18,8,0,0.00,27,0,1,1,3,4 Function,Timer::get_user_time,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Timer::get_system_time,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Timer::get_wait_time,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Timer::get_non_wait_time,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,Timer::get_elapsed_time,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,main,(void),14,10,8,2,0.20,22,0,1,1,2,3 Function,Seahunt::Utility::itos,(int i),7,5,5,1,0.20,7,1,1,2,1,3 Function,Seahunt::Utility::dtos,(double d),7,5,5,1,0.20,7,1,1,2,1,3 Function,Seahunt::Utility::UserEntry,(std::string label; int & entry; int min; int max),37,21,15,0,0.00,37,4,1,5,8,13 Function,Seahunt::Utility::UserEntry,(std::string label; std::string & entry; int length),6,4,4,1,0.25,6,3,1,4,1,5 Function,Seahunt::Utility::WaitKey,(void),5,3,3,0,0.00,5,0,1,1,1,2 Function,Seahunt::Utility::ClearScreen,(void),3,1,1,0,0.00,3,0,1,1,1,2 Function,test.Fibonacci.Main,(),15,11,11,4,0.36,19,0,1,1,2,3 Function,Total,(null),843,519,392,40,12.74,920,35,95,130,157,287 Function,Average,(null),8.87,5.46,4.13,0.42,0.13,9.68,0.37,1.00,1.37,1.65,3.02 Function,Maximum,(null),53,31,21,4,1.00,65,4,1,5,10,15 Function,Minimum,(null),1,0,0,0,0.00,1,0,1,1,1,2 ,Function Pts., 15.8, 9.8, 7.4, Project Class Metrics Class/Struct Metrics Include Nested Class/Struct Metrics Classes,9 Type,Name,LOC,eLOC,lLOC,Comments,Comments/eLOC,Lines,Parameters,Returns,Interface Complexity,Cyclomatic Complexity,Functional Complexity,Methods,Public Methods,Protected Methods,Private Methods,Attributes,Public Attributes,Protected Attributes,Private Attributes Class,Seahunt::Cell,86,52,45,7,0.13,87,5,10,15,14,29,10,9,0,1,5,0,0,5 Attributes,Publ, 0,Prot, 0,Private, 5,Total, 5 Methods,Publ,9,Prot,0,Private,1,Total,10 Param,5,Return,10,Cyclo Vg,14,Total,29 LOC,86,eLOC,52,lLOC,45,Comment,7,Lines,87 Class,Seahunt::Game,93,57,40,2,0.04,104,0,3,3,16,19,4,4,0,0,3,0,0,3 Attributes,Publ, 0,Prot, 0,Private, 3,Total, 3 Methods,Publ,4,Prot,0,Private,0,Total,4 Param,0,Return,3,Cyclo Vg,16,Total,19 LOC,93,eLOC,57,lLOC,40,Comment,2,Lines,104 Class,Seahunt::Ocean,186,116,89,2,0.02,189,1,11,12,31,43,11,9,0,2,6,0,0,6 Attributes,Publ, 0,Prot, 0,Private, 6,Total, 6 Methods,Publ,9,Prot,0,Private,2,Total,11 Param,1,Return,11,Cyclo Vg,31,Total,43 LOC,186,eLOC,116,lLOC,89,Comment,2,Lines,189 Class,Seahunt::Player,167,105,88,18,0.17,174,9,27,36,30,66,11,11,0,0,5,0,0,5 Attributes,Publ, 0,Prot, 0,Private, 5,Total, 5 Methods,Publ,11,Prot,0,Private,0,Total,11 Param,9,Return,27,Cyclo Vg,30,Total,66 LOC,167,eLOC,105,lLOC,88,Comment,18,Lines,174 Class,Seahunt::Sub,52,34,25,0,0.00,51,6,7,13,9,22,7,6,0,1,0,0,0,0 Inheritance,Target Attributes,Publ, 0,Prot, 0,Private, 0,Total, 0 Methods,Publ,6,Prot,0,Private,1,Total,7 Param,6,Return,7,Cyclo Vg,9,Total,22 LOC,52,eLOC,34,lLOC,25,Comment,0,Lines,51 Class,Seahunt::Target,86,58,38,8,0.14,99,4,10,14,12,26,11,10,0,1,5,0,5,0 Attributes,Publ, 0,Prot, 5,Private, 0,Total, 5 Methods,Publ,10,Prot,0,Private,1,Total,11 Param,4,Return,10,Cyclo Vg,12,Total,26 LOC,86,eLOC,58,lLOC,38,Comment,8,Lines,99 Class,Timer,93,65,28,0,0.00,96,1,12,13,14,27,0,0,0,0,0,0,0,0 Attributes,Publ, 0,Prot, 0,Private, 0,Total, 0 Methods,Publ,0,Prot,0,Private,0,Total,0 Param,1,Return,12,Cyclo Vg,14,Total,27 LOC,93,eLOC,65,lLOC,28,Comment,0,Lines,96 Class,Seahunt::Utility,76,48,40,5,0.10,77,9,6,15,13,28,6,6,0,0,0,0,0,0 Attributes,Publ, 0,Prot, 0,Private, 0,Total, 0 Methods,Publ,6,Prot,0,Private,0,Total,6 Param,9,Return,6,Cyclo Vg,13,Total,28 LOC,76,eLOC,48,lLOC,40,Comment,5,Lines,77 Class,test.Fibonacci,18,12,11,4,0.33,22,0,1,1,2,3,1,1,0,0,0,0,0,0 Attributes,Publ, 0,Prot, 0,Private, 0,Total, 0 Methods,Publ,1,Prot,0,Private,0,Total,1 Param,0,Return,1,Cyclo Vg,2,Total,3 LOC,18,eLOC,12,lLOC,11,Comment,4,Lines,22 Class,Total,857,547,404,46,0.93,899,35,87,122,141,263,61,56,0,5,24,0,5,19 Class,Average,95.22,60.78,44.89,5.11,0.10,99.89,3.89,9.67,13.56,15.67,29.22,6.78,6.22,0.00,0.56,2.67,0.00,0.56,2.11 Class,Maximum,186,116,89,18,0.33,189,9,27,36,31,67,13,11,0,2,11,0,5,6 Class,Minimum,18,12,11,0,0.00,22,0,1,1,2,3,0,0,0,0,0,0,0,0 Class Inheritance Tree D - Depth where base class depth = 0 C - Number of direct child classes P - Number of direct parents, Multiple Inheritance > 1 '+ Seahunt::Cell,[D0.C0] '+ Seahunt::Game,[D0.C0] '+ Seahunt::Ocean,[D0.C0] '+ Seahunt::Player,[D0.C0] '+ Seahunt::Target,[D0.C1] ,- Seahunt::Sub,[D1.C0.P1] '+ Seahunt::Utility,[D0.C0] '+ Timer,[D0.C0] '+ test.Fibonacci,[D0.C0] Total Classes,9 Total Base Classes,8 Total Derived Classes,1 Derived/Based Ratio,0.13 Maximum Depth of Inheritance,1 Average Depth of Inheritance,0.11 Maximum Number of Direct Child Classes,1 Average Number of Direct Child Classes,0.11 Project Namespace/Package Metrics Count,2 Type,Name,LOC,eLOC,lLOC,Comments,Comments/eLOC,Lines,Parameters,Returns,Interface Complexity,Cyclomatic Complexity,Functional Complexity,Classes,Functions,Public Methods,Protected Methods,Private Methods,Attributes,Public Attributes,Protected Attributes,Private Attributes Namespace/Package,Seahunt,746,470,365,42,0.09,781,34,74,108,125,233,7,74,55,0,5,24,0,5,19 Namespace/Package,test,18,12,11,4,0.33,22,0,1,1,2,3,1,1,1,0,0,0,0,0,0 Namespace/Package,Total,764,482,376,46,0.42,803,34,75,109,127,236,8,75,56,0,5,24,0,5,19 Namespace/Package,Average,382.00,241.00,188.00,23.00,0.21,401.50,17.00,37.50,54.50,63.50,118.00,4.00,37.50,28.00,0.00,2.50,12.00,0.00,2.50,9.50 Namespace/Package,Maximum,746,470,365,42,0.33,781,34,74,108,125,233,7,60,55,0,5,24,0,5,19 Namespace/Package,Minimum,18,12,11,4,0.09,22,0,1,1,2,3,1,1,1,0,0,0,0,0,0 Project Quality Profile Type,Count,Percent,Quality Notice 1 , 3, 0.85,Physical line length > 80 characters 7 , 7, 1.98,Pre-increment operator '++' identified 16, 4, 1.13,Function/class/struct/interface white space < 10.0% 17, 39, 11.02,Function comment content less than 10.0% 20, 12, 3.39,File comment content < 10.0% 31, 4, 1.13,Class/Struct comments are < 10.0% 34, 4, 1.13,Class specification contains a pointer to data 36, 5, 1.41,Class specification contains protected data 43, 3, 0.85,Keyword 'continue' has been identified 44, 1, 0.28,Keyword 'break' identified outside a 'switch' structure 45, 2, 0.56,New and Delete counts are not equal for the file. 46, 42, 11.86,Function/Class Blank Line content less < 10.0% 48, 5, 1.41,Function lLOC <= 0, non-operational function 49, 8, 2.26,Function appears to have null or blank parameters 50, 66, 18.64,Variable assignment to a literal number 51, 75, 21.19,No comment preceding a function block 52, 8, 2.26,No comment preceding a class block 119, 32, 9.04,Return is not a function 124, 18, 5.08,The test Test Copyright string was not found 130, 16, 4.52,A data member in the header file is not of the form m_* , 354,100.00,Total Quality Notices Quality Notice (QN) Density Basis,1000,(K) ,, % QN/K LOC,265.2,26.52 QN/K eLOC,370.7,37.07 QN/K lLOC,694.1,69.41 Total Language Profile (%) ,Language,,,LOC,eLOC,lLOC,Comments,Blanks,Lines , *.h*,,, 18.9, 22.8, 22.4, 43.7, 27.3, 21.6 , *.c*,,, 79.4, 75.6, 75.3, 52.9, 71.0, 76.7 , *.cs,,, 1.7, 1.6, 2.4, 3.4, 1.7, 1.7 Languages , , , , LOC,eLOC,lLOC,Comments,Blanks,Lines ,Header Include Files *.h*, , , 252,218,114,52,82,374 ,C++ Source Files *.c*, , ,1060,722,384,63,213,1325 ,C# Source File *.cs, , ,23,15,12,4,5,29 ,Total All Languages, , ,1335,955,510,119,300,1728 LOC,1335,eLOC,955,lLOC,510,Comment,119,Lines,1728 Avg LOC,70,eLOC,50,lLOC,26,Comment,6,Lines,90 File Summary C Source Files *.c, 0 C/C++ Include Files *.h, 8 C++ Source Files *.c*, 10 C++ Include Files *.h*, 0 C# Source Files *.cs, 1 Java Source File *.jav*, 0 Other File Count, 0 Total File Count, 19 Report Banner - Edit rsm.cfg File