CSC444
Software Engineering Assignment 4
Assignment: Write a program to calculate
the linear regression size-estimating parameters β0 and β1
for a set of n programs where
historical new-and-changed LOC data are available.
Due: November 7, at start of lab
session.
Weight: 5% of final grade.
Requirements:
- The process to calculate the linear regression parameters, and the
required formulas, are explained in Section A7 of the Humphrey book. Your
program should follow the procedure stated in that section to produce both
parameters.
- You should enhance the linked list from your program from
Assignment 1 so that each record holds two real numbers.
- Each line of input should be in the form: xValue, yValue. If it isnt, your
program should warn the user about the incorrect formatting.
- Input to the program may be stopped with an empty line or an EOF
delimiter.
- The output of your program should be the two parameters, β0 and β1, in two
different lines.
- In your testing phase, include a test that takes as input your estimated
new and changed LOC, and your actual new and changed LOC, for Assignments
2-4. Include a table with the
output.
- 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 PSP1 process as presented in the Discipline for Software
Engineering textbook. The forms needed for the process are pages 5, 6, 12 and 14
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:
- PSP1 Project Plan Summary
- Size Estimating
Template
- 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 PSP1
- 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