ppt

advertisement
Software Engineering
Lab Session
Session 2 – PSP0.1
COME FOR YOUR ASSIG2 HANDOUT, BUT
DO *NOT* HAND IN YOUR ASSIG1 YET! WAIT
A MOMENT…
© Jorge Aranda, 2005
Overview

Before handing in Assignment 1…

Alright, how was it?

Assignment 2

PSP0.1

AOB?
Before handing in Assignment 1…

You will need some of the numbers from
Assignment 1 for your Assignment 2 forms

But we’ll have those forms by the time you need them

Make sure to copy the following numbers from the
Project Plan Summary:




Planned total time
Actual times for each phase
Defects injected on each phase
Defects removed on each phase

Don’t lose those numbers! You’ll need them soon

For the next assignments, before handing in the forms,
make a copy of them!
Alright, how was it?

Feedback on each aspect of the
assignment:







Yes, yes, the textbook…
The actual programming task (no PSP)
The Project Plan Summary
The Time Recording Log
The Defect Recording Log
Other documents for the assignment
Impressions on the PSP in general
Assignment 2

Write a program to count the number of lines of
C code in a file, excluding blanks and comments

Deliverables:

Exactly the same as for the previous assignment, but
the Project Plan Summary changes a bit…

Process: PSP0.1

Make a copy of your completed assignment forms
for yourself!
PSP0.1

Mainly the same as PSP0, but introducing
line counts and more detailed estimates

Time recording log remains the same

Defect recording log remains the same
PSP0.1

Project Plan Summary




When planning the assignment, estimate the
total of lines of lines of code you will write
When planning the assignment, estimate the
time you’ll spend on each phase, and the total
time for the assignment
When on the postmortem phase, treat the time
and defect fields just as in PSP0.
The numbers for lines of code require a bit
more explanation…
PSP0.1

Lines of code:








Base – The lines upon which you’re building new stuff
(doesn’t apply for Assignment 2)
Deleted – Lines deleted from the base
Modified – Lines modified from the base
Added – predictable…
Reused – Stuff you developed previously, that is not the
base, but which you use to save some time
Total New and Changed – All added or modified lines
Total LOC – The final size of the program
Total New Reused – Stuff you developed for this
program that you think is ready for reuse on other
programs
AOB?

Questions, comments?
Download