431 Software Engineering - Fall 2004

Project Summary Report

I. Software Metrics

Definitions[1]:

LOC: Total Lines of Code. Total number of lines of code in a module. It includes blank lines, comment lines, and source lines.
SLOC: Executable Lines of Code. "Source lines of code that contain only code and white space."
CLOC: Comments. "Source lines of code that are purely comments."
C&SLOC: Code and Comments. "Lines that contain both code and comments."

Description

1. Submit your latest Design Class Diagram with the LOC per class. Just for the purpose of this report, add an new attribute to your classes: LOC. For example:

Be sure the values show in your hardcopy.

2. Report the following measurements of your object oriented code: SLOC, CLOC, and C&SLOC: 

3. Report the percentage of comments[1] in your object oriented code:

% Comments = ((CLOC+C&SLOC)/(SLOC+CLOC+C&SLOC))*100

4. Report your method how you measured these metrics (e.g. which tools were used or if you wrote some scripts).

II. GRASP Patterns

Choose two collaboration diagrams and indicate where in your diagrams and explain why the GRASP patterns were applied. Explain 5 different GRASP patterns within your diagrams.

How to Submit and Deadline

1. Submit the HARDCOPY of your Project Summary Report the day and time of the final demonstration.

2. Include a cover sheet.

Reference

[1] NASA, Line of Code Metrics, URL: http://mdp.ivv.nasa.gov/loc_metrics.html#CodeComm , as of July 26, 2004.