seahunt-rsm-d-htm

          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 
  (c)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 -SDetermine Line LOC Report -d cell.h 

                          Determine Line LOC Report

                  ~~ Determine Source vs. LOC Algorithms ~~

  File: cell.h
  ________________________________________________________________________


  Line 1: // cell.h
  LOC Type(s): C++ Comment

  Line 2: // 
  LOC Type(s): C++ Comment

  Line 3: // Specification for type cell
  LOC Type(s): C++ Comment

  Line 4: // A cell is a piece of an ocean
  LOC Type(s): C++ Comment

  Line 5: //
  LOC Type(s): C++ Comment

  Line 6: 
  LOC Type(s): Blank

  Line 7: #ifndef CELL_H
  LOC Type(s): LOC Effective

  Line 8: #define CELL_H
  LOC Type(s): LOC Effective

  Line 9: 
  LOC Type(s): Blank

  Line 10: #include "target.h"
  LOC Type(s): LOC Effective

  Line 11: 
  LOC Type(s): Blank

  Line 12: namespace Seahunt
  LOC Type(s): LOC Effective

  Line 13: {
  LOC Type(s): LOC Non-Effective

  Line 14: 
  LOC Type(s): Blank

  Line 15: class Cell
  LOC Type(s): LOC Effective

  Line 16: {
  LOC Type(s): LOC Non-Effective

  Line 17: public:
  LOC Type(s): LOC Effective

  Line 18: Cell ();                  // constructor
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 19: ~Cell();                  // destructor
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 20: void  Set_xyz ( int x=0, int y=0, int z=0 );
  LOC Type(s): LOC Effective Logical

  Line 21: int   Get_x ( void ) const;
  LOC Type(s): LOC Effective Logical

  Line 22: int   Get_y ( void ) const;
  LOC Type(s): LOC Effective Logical

  Line 23: int   Get_z ( void ) const;
  LOC Type(s): LOC Effective Logical

  Line 24: bool  Set_target ( Target * t );
  LOC Type(s): LOC Effective Logical

  Line 25: Target * Get_target ( void ) const;
  LOC Type(s): LOC Effective Logical

  Line 26: bool  Hit ( void );
  LOC Type(s): LOC Effective Logical

  Line 27: 
  LOC Type(s): Blank

  Line 28: private:
  LOC Type(s): LOC Effective

  Line 29: Cell ( const Cell & c );  // copy constructor
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 30: bool hit_status;          // true if the cell is hit
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 31: Target * target;          // assigned to the cell
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 32: int x;                    
  LOC Type(s): LOC Effective Logical

  Line 33: int y;
  LOC Type(s): LOC Effective Logical

  Line 34: int z;                    // depth of the ocean  
  LOC Type(s): LOC Effective Logical C++ Comment

  Line 35: };
  LOC Type(s): LOC Non-Effective Logical

  Line 36: 
  LOC Type(s): Blank

  Line 37: } // namepsace Seahunt
  LOC Type(s): LOC Non-Effective C++ Comment

  Line 38: 
  LOC Type(s): Blank

  Line 39: #endif // CELL_H
  LOC Type(s): LOC Effective C++ Comment

  Line 40: 
  LOC Type(s): Blank

  Line 41: 
  LOC Type(s): Blank
  ------------------------------------------------------------------------

                          ~~ Total File Summary ~~

  LOC 27       eLOC 23       lLOC 16       Comment 13       Lines       41
  ________________________________________________________________________
  End of File: cell.h



  ------------------------------------------------------------------------

                     ~~ Total Metrics For 1 Files ~~

  ------------------------------------------------------------------------

                         ~~ Total Project Summary ~~

  LOC 27       eLOC 23       lLOC 16       Comment 13       Lines       41
  Average per File, metric/1 files
  LOC 27       eLOC 23       lLOC 16       Comment 13       Lines       41

  ------------------------------------------------------------------------

                             ~~ File Summary ~~

  C Source Files *.c ....:          0  C/C++ Include Files *.h:          1
  C++ Source Files *.c* .:          0  C++ Include Files *.h* :          0
  C# Source Files *.cs ..:          0  Java Source File *.jav*:          0
  Other Source Files ....:          0
  Total File Count ......:          1
  ________________________________________________________________________

          Report Banner - Edit rsm.cfg File