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, 2009 Build Date : Mar 7 2009 Run Date: Mar 07, 2009 ©1996-2009 M Squared Technologies LLC™ ________________________________________________________________________ License File: C:\Program Files\MSquared\M2 RSM\rsm.lic Config. File: C:\Program Files\MSquared\M2 RSM\rsm.cfg Command Line: -H -SExtract Comments Report -Ec cell.h game.h ocean.h pla yer.h sub.h target.h timer.h utility.h cell.cpp game.cpp o cean.cpp player.cpp player_solution.cpp seahunt.cpp sub.cp p target.cpp timer.cpp utility.cpp Fibonacci.cs Extract Comments Report ~~ Comment Extraction Mode ~~ File: cell.h ________________________________________________________________________ 1: cell.h 3: Specification for type cell 4: A cell is a piece of an ocean 18: constructor 19: destructor 29: copy constructor 30: true if the cell is hit 31: assigned to the cell 34: depth of the ocean 37: namepsace Seahunt 39: CELL_H ________________________________________________________________________ End of File: cell.h File: game.h ________________________________________________________________________ 1: game.h ________________________________________________________________________ End of File: game.h File: ocean.h ________________________________________________________________________ 1: ocean.h 3: Specification for type ocean 45: OCEAN_H ________________________________________________________________________ End of File: ocean.h File: player.h ________________________________________________________________________ 1: player.h ________________________________________________________________________ End of File: player.h File: sub.h ________________________________________________________________________ 1: sub.h 27: namespace Seahunt ________________________________________________________________________ End of File: sub.h File: target.h ________________________________________________________________________ 1: target.h 2: specification for the target base class 6: Notes: Turn on symbol TARGET_UNIT_TEST to test the component 26: base class 38: Method interface for derived objects 42: return the status of the targer 49: pure virtual method creates abstract class for 50: deployed application, cannot create an instance 51: of this class outside the test driver 66: cannot pass target by value from a private 67: copy constructor 72: namespace Seahunt 74: TARGET_H 76: eof target.h ________________________________________________________________________ End of File: target.h File: timer.h ________________________________________________________________________ 3: timer.h 5: Process timer 78: eof timer.h ________________________________________________________________________ End of File: timer.h File: utility.h ________________________________________________________________________ 1: Utility Class 17: convert int to ascii 19: convert float to ascii ________________________________________________________________________ End of File: utility.h File: cell.cpp ________________________________________________________________________ 1: cell.cpp 3: Implementation for type cell where cell is a piece of an ocean 4: Cell contains a pointer to the base class Target. Through 5: the based class pointer Cell polymorphically calls Hit of the 6: derived target object 33: do not cleanup the target 111: namespace Seahunt 141: fails for already popluated 150: miss 153: hits 158: multiple common hit 166: eof cell.cpp ________________________________________________________________________ End of File: cell.cpp File: game.cpp ________________________________________________________________________ 1: game.cpp 45: Place the sub in the ocean 94: fall through 107: namespace ________________________________________________________________________ End of File: game.cpp File: ocean.cpp ________________________________________________________________________ 1: ocean.h 3: implementation for ocean 43: Go through the target list and delete the objects 62: Go through the target list and delete the objects 225: namespace Seahunt ________________________________________________________________________ End of File: ocean.cpp File: player.cpp ________________________________________________________________________ 1: player.cpp 28: no dynamic memory allocated by the object 104: namespace ________________________________________________________________________ End of File: player.cpp File: player_solution.cpp ________________________________________________________________________ 1: player.cpp 36: no dynamic memory allocated by the object 153: namespace ________________________________________________________________________ End of File: player_solution.cpp File: seahunt.cpp ________________________________________________________________________ 1: seahunt.cpp ________________________________________________________________________ End of File: seahunt.cpp File: sub.cpp ________________________________________________________________________ 1: sub.cpp 68: namespace Seahunt 88: SUB_TEST ________________________________________________________________________ End of File: sub.cpp File: target.cpp ________________________________________________________________________ 1: target.cpp 95: namespace Seahunt 116: UNIT_TEST 118: eof target.cpp ________________________________________________________________________ End of File: target.cpp File: timer.cpp ________________________________________________________________________ 1: timer.cpp 142: begin some processing 150: end some processing 159: eof timer.cpp ________________________________________________________________________ End of File: timer.cpp File: utility.cpp ________________________________________________________________________ 1: utility.cpp 12: convert int to ascii 23: convert float to ascii 79: bug in VCPP 5.0 does not work correctly ________________________________________________________________________ End of File: utility.cpp File: Fibonacci.cs ________________________________________________________________________ 11: 1st number 12: 2nd number 18: Each number is the sum of the two previous numbers 21: Update the variables for the two previous numbers ________________________________________________________________________ End of File: Fibonacci.cs ________________________________________________________________________ Report Banner - Edit rsm.cfg File