CSC444
– Software Engineering – Assignment 3
Assignment: Write a program to count the number of lines of C code
in a file, and in each of its procedures and functions, excluding blanks and
comments.
Due: October 24, at start of lab session.
Weight: 5% of final grade.
Requirements:
- You can enhance your program from Assignment 2 to
develop this program.
- The output of your program should be a summary that
indicates the total number of non-blank, non-comment lines in the file,
and a list with the names of all procedures and functions on the file
along with their number of lines.
- All requirements from Assignment 2 should be met by
Assignment 3 as well.
- In your testing phase, include tests that count the
lines of your three assignments. Include
a table with the output from your three assignments.
- You are responsible for resolving any issue not
covered by these requirements. Document all your assumptions and decisions
wherever requirements are unclear.
Process:
You should follow the PSP0.1 process as presented in the Discipline
for Software Engineering textbook. The forms needed for the process are pages 5,
6 and 8 of the file: http://www.cs.toronto.edu/~jaranda/csc444/forms.pdf
Deliverables:
Deliver the following documents
and forms, in physical form, in this order:
- PSP0.1 Project Plan Summary
- Time Recording Log
- Defect Recording Log
- Source code printout
- Test summary, indicating how you ensured that the
code is correct. Include test code printouts if you automated tests
(recommended)
- A report, at most one page long, describing:
- Your impressions on your own performance and the
PSP0.1
- Ideas for improving the PSP
- Any assumptions taken
Marking scheme:
- 60% - adherence to the PSP, correct and complete
use of forms
- 20% - insights and sensible improvement proposals
in report
- 20% - quality of assignment code, test code (if
any) and test summary