Introduction to the Personal Software Process Watts Humphrey

  • Slides: 17
Download presentation
Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c 1997 PSP

Introduction to the Personal Software Process Watts Humphrey Addison Wesley Longman c 1997 PSP 4 a 1

Humphrey on PSP § § PSP 4 a “a guide to using disciplined personal

Humphrey on PSP § § PSP 4 a “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. ” 2

Software Development § § § Do you know how many lines of code you

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! PSP 4 a 3

Measurement § § PSP 4 a Could a person train for running an olympic

Measurement § § PSP 4 a 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? 4

Time Log PSP 4 a 5

Time Log PSP 4 a 5

Time Log Entries § § § PSP 4 a Date Start - time in

Time Log Entries § § § PSP 4 a Date Start - time in hours: minutes Stop - time in hours: minutes Interrupt - time of each interruption in minutes Delta - start - stop - interrupt Activity - category 6

Engineering Notebook § § PSP 4 a Record all activities related to class Post

Engineering Notebook § § PSP 4 a Record all activities related to class Post on web page – update semiweekly 7

Class Discussion § § PSP 4 a What can we learn from a programming

Class Discussion § § PSP 4 a What can we learn from a programming time log? What are different uses of any knowledge gained from a time log? 8

Possible Categories § § § PSP 4 a Drawing and revising object model Writing

Possible Categories § § § PSP 4 a 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) 9

C 2 time log § § PSP 4 a This is a time log

C 2 time log § § PSP 4 a This is a time log that I kept while design a programming problem and producing a solution My values 10

Class Discussion § § § PSP 4 a Where my categories good? What would

Class Discussion § § § PSP 4 a Where my categories good? What would have been better categories? Any knowledge from this time log? 11

Process Improvement § § PSP 4 a 1. Measure 2. Evaluate 3. Modify Repeat

Process Improvement § § PSP 4 a 1. Measure 2. Evaluate 3. Modify Repeat steps 1 -3 12

Planning is essential § § § PSP 4 a You can estimate the effort

Planning is essential § § § PSP 4 a 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 13

Personal Estimation § § The past is the best estimate of the future Find

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 PSP 4 a 14

Group Discussion § § § PSP 4 a How can we manage our time

Group Discussion § § § PSP 4 a 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? 15

Class Discussion § § PSP 4 a What can we learn from a time

Class Discussion § § PSP 4 a What can we learn from a time log of our studying? What categories would be good for studying? 16

L 4 a. S 17 time log § § PSP 4 a Keep a

L 4 a. S 17 time log § § PSP 4 a 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) 17