Resource Standard Metrics for C, C++ and Java
Visual Metrics Version 5.33
License Type: Site Multi-Network License - 10000 Users
Licensed To : M Squared Technologies
License No. : ST1000 License Date: Fri Jun 25 06:09:01 1999
(C) 2000 M Squared Technologies Run Date: Fri Feb 25 06:16:33 2000
________________________________________________________________________
~~ Literal String Extraction Mode ~~
~~ Comment Extraction Mode ~~
File: cell.h
Date: Mon Jul 19 14:51:10 1999 File Size: 842 Bytes
________________________________________________________________________
1: cell.h
3: Specification for type cell
4: A cell is a piece of an ocean
10: target.h
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
Date: Sat Jul 31 14:42:08 1999 File Size: 431 Bytes
________________________________________________________________________
1: game.h
8: ocean.h
9: player.h
________________________________________________________________________
End of File: game.h
File: ocean.h
Date: Sun Aug 22 12:25:12 1999 File Size: 872 Bytes
________________________________________________________________________
1: ocean.h
3: Specification for type ocean
11: utility.h
12: cell.h
13: target.h
45: OCEAN_H
________________________________________________________________________
End of File: ocean.h
File: player.h
Date: Sat Jul 31 13:14:42 1999 File Size: 706 Bytes
________________________________________________________________________
1: player.h
11: ocean.h
________________________________________________________________________
End of File: player.h
File: sub.h
Date: Sun Aug 22 12:28:52 1999 File Size: 484 Bytes
________________________________________________________________________
1: sub.h
8: utility.h
9: target.h
27: namespace Seahunt
________________________________________________________________________
End of File: sub.h
File: target.h
Date: Sun Aug 22 12:33:44 1999 File Size: 1526 Bytes
________________________________________________________________________
1: target.h
2: specification for the target base class
4: R. Mudge
5: 09/10/1998
7: Notes: Turn on symbol TARGET_UNIT_TEST to test the component
27: base class
34: Uninitialized
39: Method interface for derived objects
43: return the status of the targer
50: pure virtual method creates abstract class for
51: deployed application, cannot create an instance
52: of this class outside the test driver
67: cannot pass target by value from a private
68: copy constructor
73: namespace Seahunt
75: TARGET_H
77: eof target.h
________________________________________________________________________
End of File: target.h
File: utility.h
Date: Thu Jul 22 13:19:12 1999 File Size: 596 Bytes
________________________________________________________________________
1: Utility Class
17: convert int to ascii
19: convert float to ascii
________________________________________________________________________
End of File: utility.h
File: cell.cpp
Date: Thu Jul 22 13:41:20 1999 File Size: 2728 Bytes
________________________________________________________________________
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
8: cell.h
33: do not cleanup the target
93: Hit
100: Already Hit
106: Miss
111: namespace Seahunt
115: sub.h
120: Cell Unit Test
141: fails for already popluated
145: Failed to place target: already popluated
150: miss
153: hits
158: multiple common hit
166: eof cell.cpp
________________________________________________________________________
End of File: cell.cpp
File: game.cpp
Date: Sun Aug 22 12:51:58 1999 File Size: 1710 Bytes
________________________________________________________________________
1: game.cpp
3: game.h
14: Memory Allocation Error
20: Memory Allocation Error
45: Place the sub in the ocean
61: You Win! and Get an A Grade
67: You are a LOSER! and Get an D Grade
72: Hit Again 0-No 1-Yes 2-Ocean 3-Targets
94: fall through
107: namespace
________________________________________________________________________
End of File: game.cpp
File: ocean.cpp
Date: Sun Aug 22 13:22:14 1999 File Size: 5306 Bytes
________________________________________________________________________
1: ocean.h
3: implementation for ocean
9: ocean.h
10: Sub.h
15: Stealth Spy Submarine
16: Rescue Submarine
17: Supply Submarine
18: Attack Submarine
19: Boomer Submarine
29: Ocean Name
30: Number of Targets
33: Constructed Ocean
43: Go through the target list and delete the objects
62: Go through the target list and delete the objects
72: Destructed Ocean
103: Target
104: Position
104: of
105: Row Position
106: Column Position
107: Depth Position
116: Ocean
117: is already populated
130: Hit a spot in the
131: Row Position
132: Column Position
133: Depth Position
155: Ocean Depth
157: 1 2 3 4 5 6 7 8 9 10
191: Ocean Target Status
193: Target Count
194: Active Targets
195: Destroyed Targets
198: Ocean Target
225: namespace Seahunt
232: Ocean Unit Test
________________________________________________________________________
End of File: ocean.cpp
File: player.cpp
Date: Sat Jul 31 14:18:42 1999 File Size: 2048 Bytes
________________________________________________________________________
1: player.cpp
3: player.h
14: Player Name
28: no dynamic memory allocated by the object
65: Player
66: Elapsed
68: Minutes
69: Score
70: Hit/Miss
104: namespace
110: Pacific
111: John Smith
________________________________________________________________________
End of File: player.cpp
File: seahunt.cpp
Date: Sun Aug 22 13:25:28 1999 File Size: 219 Bytes
________________________________________________________________________
1: seahunt.cpp
5: game.h
12: Seahunt
________________________________________________________________________
End of File: seahunt.cpp
File: sub.cpp
Date: Sun Aug 22 13:00:46 1999 File Size: 1509 Bytes
________________________________________________________________________
1: sub.cpp
5: sub.h
17: Submarine Name
18: Submarine Maximum Depth
19: Submarine Armor
35: Constructed Sub
42: Destructed Sub
49: Sub
51: Max Depth
68: namespace Seahunt
81: CheckDepth(5
88: SUB_TEST
________________________________________________________________________
End of File: sub.cpp
File: target.cpp
Date: Sun Aug 22 12:33:44 1999 File Size: 1648 Bytes
________________________________________________________________________
1: target.cpp
3: target.h
10: Unknown
11: No Damage
12: Damaged
13: Dead
24: Constructed Target
32: Destructed Target
90: Armor
91: Hits
92: Status
95: namespace Seahunt
102: Generic Target
116: UNIT_TEST
118: eof target.cpp
________________________________________________________________________
End of File: target.cpp
File: utility.cpp
Date: Thu Jul 29 18:31:36 1999 File Size: 1876 Bytes
________________________________________________________________________
1: utility.cpp
7: utility.h
12: convert int to ascii
23: convert float to ascii
40: to
44: Enter
63: Invalid Entry
68: Invalid Entry
77: Enter
79: bug in VCPP 5.0 does not work correctly
87: Press Any Key to Continue
________________________________________________________________________
End of File: utility.cpp
________________________________________________________________________