1.
Count the Source Lines of Code (SLOC) you deliver, and generate
a brief Size Report (see below). See below for possible Code Counters.
If you cannot find code counter(s) for particular programming languages,
please let us know, and we will provide you with guidelines for
manually counting the code.
2.
Fill in the following form: 
3.
Fill in the Size Report
Below
is an example portion of size metrics report. This example shows
the case where a component may be composed of multiple languages:
|
Component |
Size |
Language |
Type |
%
Breakage |
DM |
CM |
IM |
AA |
SU |
UNFM |
AAM |
Equivalent
Size |
Source |
Code
Counter |
|
User
Interface |
2538 |
Java |
New |
10 |
|
|
|
|
|
|
|
2538 |
|
|
|
User
Interface |
320 |
HTML |
New |
15 |
|
|
|
|
|
|
|
320 |
|
|
|
Add
User |
438 |
Java |
Modified |
5 |
30 |
35 |
40 |
4 |
20 |
.4 |
.44 |
193 |
CS577a
Team 2 prototype |
|
|
Image
Processing |
3320 |
C++ |
New |
20 |
|
|
|
|
|
|
|
3320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Total |
6616 |
|
|
|
|
|
|
|
|
|
|
6371 |
|
|
Type: refers to new, modified or reused.
SU: only applies to modified code, not reused.
Source: is the source of any reused or modified code.
Reused components have zero change to the source code, otherwise
they are modified.
Reuse parameters do not apply to new code.
- Indicate
the Code Counter you used to size each component.
Code
Counters
You
can use any of the following counters, or any other code counters
you may have access to (for instance, code counters used by your
company, to which you have access):