Transcript
Page 1: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

1PSP4a

Introduction to the Personal Software Process

Watts Humphrey

Addison Wesley Longman c1997

Page 2: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

2PSP4a

Humphrey on PSP “a guide to using disciplined

personal practices to do superior software engineering”

“The PSP will show you how to plan and track your work and how to consistently produce high-quality software.”

Page 3: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

3PSP4a

Software Development

Do you know how many lines of code you write per day? (or function points? or modules?)

Do you know how many errors you make? Watts Humphrey knows how many

LOC/day he writes and how many errors/KLOC he makes!

Page 4: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

4PSP4a

Measurement Could a person train for running an

olympic event without timing their performance?

Would an archer train by shooting at a target but not seeing if the arrows hit the target?

Page 5: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

5PSP4a

Time Log

date start stop interrupt delta activity comments

Page 6: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

6PSP4a

Time Log Entries Date Start - time in hours:minutes Stop - time in hours:minutes Interrupt - time of each interruption

in minutes Delta - start - stop - interrupt Activity - category

Page 7: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

7PSP4a

Engineering Notebook Record all activities related to class Post on web page – update semi-

weekly

Page 8: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

8PSP4a

Class Discussion What can we learn from a

programming time log? What are different uses of any

knowledge gained from a time log?

Page 9: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

9PSP4a

Possible Categories Drawing and revising object model Writing code Compiling and correcting syntax errors Testing code (no currently known errors) Debugging logic errors (that is, there is

an error and you are trying to locate and correct the error - note)

Page 10: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

10PSP4a

C2 time log This is a time log that I kept while

design a programming problem and producing a solution

My values

Page 11: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

11PSP4a

Class Discussion Where my categories good? What would have been better

categories? Any knowledge from this time log?

Page 12: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

12PSP4a

Process Improvement 1. Measure 2. Evaluate 3. Modify Repeat steps 1-3

Page 13: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

13PSP4a

Planning is essential You can estimate the effort

required for your next project Accurate estimation comes only

with practice. Estimate the next and then keep log

to evaluate and improve estimates

Page 14: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

14PSP4a

Personal Estimation

The past is the best estimate of the future Find some size measure of the product

– e.g. loc, number of classes, number of functions– determine your productivity based on size– estimate size of next task– calculate effort estimate

Page 15: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

15PSP4a

Group Discussion How can we manage our time more

effectively? How can we manage our team

members’ time more effectively? How can we use PSP to improve

our team members’ performance?

Page 16: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

16PSP4a

Class Discussion What can we learn from a time log

of our studying? What categories would be good for

studying?

Page 17: 1 PSP4a Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c1997

17PSP4a

L4aS17 time log

Keep a time log of your class work for the next week – 6/19 to 6/26

Develop an extensive set of categories

Summary including pie charts and productivity

Turn in your log and an evaluation, summary on 6/27 (on and off)


Top Related