A self-improvement discipline in which individual software engineers record time and defects, estimate from their own history, and review their work systematically.
SpaceWorkflow and delivery
OriginWatts S. Humphrey · 1995
The table / Model card · No. 1126 · Workflow and delivery
Personal Software Process (PSP)
A self-improvement discipline in which individual software engineers record time and defects, estimate from their own history, and review their work systematically.
Individual engineers estimate poorly and ship avoidable defects because they do not measure their own work. PSP gives them data and a staged method to improve.
When to use it
Use it for engineers who want to improve estimating and quality, in teams that plan to adopt the Team Software Process, or in training programmes where discipline and measurement matter, such as safety-related software.
Where it comes from
Watts Humphrey developed PSP at the Software Engineering Institute at Carnegie Mellon after leading its process maturity work, and described it in A Discipline for Software Engineering (1995). The idea was to bring process discipline down to the individual engineer, who had no practical way to measure their own work.
Watts S. Humphrey · 1995
Sheet 2/4
How it works
The engineer logs time spent in each phase and every defect found, with its type and the phase where it was injected and removed. From this history they derive their own productivity rates, defect rates and estimating bias. These personal baselines drive estimates for new tasks and show which reviews catch the most defects. The method is taught in levels, each adding a practice such as size estimation, code review checklists or design templates.
You need
A programming task stream, a logging tool or forms, training in the PSP levels and willingness to record data consistently.
You get
Personal logs, estimates with historical basis, defect data and a personal improvement plan.
Sheet 3/4
Case
Illustrative case
Anna, a developer at Redwood Systems, completes ten small programs while logging time and defects. Her data shows she spends 12 percent of time in code review but finds only a quarter of defects there, and that most defects are interface errors injected during coding. She builds a review checklist for interface mistakes and adopts a rule to review before compiling. Over the next ten programs, her defects per thousand lines fall from 45 to 28, and her time estimates, which had run 30 percent low, come within 10 percent. She uses the same history to give her team a more reliable estimate for the next module.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
It adds overhead that does not pay back for throwaway scripts or exploratory prototypes.
It also fails when management uses the personal data to rank people.
Common mistakes
Recording data inconsistently or after the fact.
Letting managers use individual data for appraisal.
Skipping the reviews when under schedule pressure.
Attempting every PSP level at once.
Known weaknesses
High logging overhead that many engineers abandon.
Designed for plan-driven development and fits agile workflows awkwardly.
Needs training to use properly.
Personal data is sensitive and open to misuse.
How to apply it in 6 steps
How to apply it
Personal Software Process (PSP)
6 steps
01of 6
Step 1 of 6: Learn the fundamentals
Study the levels and templates of PSP.
01
02of 6
Step 2 of 6: Set up data collection
Prepare time and defect logs and agree definitions of defect types.
02
03of 6
Step 3 of 6: Plan and estimate
Estimate size and time from your own history.
03
04of 6
Step 4 of 6: Work in defined phases
Design, code, review, compile and test with logging at each phase.
04
05of 6
Step 5 of 6: Review
Use checklists built from your own defect data.
05
06of 6
Step 6 of 6: Analyse
Compare plan with actuals and choose one improvement to try.
06
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 6 steps
01
Learn the fundamentals
Study the levels and templates of PSP.
02
Set up data collection
Prepare time and defect logs and agree definitions of defect types.
03
Plan and estimate
Estimate size and time from your own history.
04
Work in defined phases
Design, code, review, compile and test with logging at each phase.
05
Review
Use checklists built from your own defect data.
06
Analyse
Compare plan with actuals and choose one improvement to try.
Which decisions it helps with
Decision profile
A phased process to learn from past actions on personal matters.
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIdentity
Type of tool
Phased processvery likely
The questionWhat kind of tool is it?Assessment · Phased process · 100 %
Decision stage
Learn from past worklikelyalso: plan the work, roles and deadlines (33 %)
The questionWhat stage of the decision are you at?Assessment · Learn from past work · 63 % · also Plan the work, roles and deadlines · 33 %
What it applies to
Personal habits, career or decisionslikely
The questionWhat is the decision about?Assessment · Personal habits, career or decisions · 81 %
Discipline
Agile and software developmentvery likely
The questionWhich discipline does it come from?Assessment · Agile and software development · 91 %
What it produces
A sequence of phases completed in ordervery likely
The questionWhat kind of tool is it?Assessment · A sequence of phases completed in order · 100 %
IIIResources required
TimeWeeks or monthsThe questionHow much time can you spend on this?Assessment · Weeks or months · confidence 99 %
PeopleOne person working aloneThe questionHow many people will take part?Assessment · One person working alone · confidence 100 %
DataData collected for the purposeThe questionWhat data do you have available?Assessment · Data collected for the purpose · confidence 56 %
ExpertiseTrained specialistsThe questionDoes anyone have experience with methods like these?Assessment · Trained specialists · confidence 26 %
Time horizonA few monthsThe questionHow far ahead do you need to plan?Assessment · A few months · confidence 51 %
ScopeOne personThe questionWho will this decision affect?Assessment · One person · confidence 100 %
FrequencyA regular practiceThe questionIs this a one-off decision or something you expect to repeat?Assessment · A regular practice · confidence 85 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 92 %
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Bottom-up · confidence 79 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Mostly processes · confidence 85 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 63 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Step-by-step analysis · confidence 59 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly prescribed steps · confidence 68 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Mostly protect · confidence 60 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Improve what we have · confidence 69 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Inside the organisation · confidence 98 %
Understand firstmixedAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · no clear preference (probability is spread across several levels)
IVUseful when
We need people with skills we don’t haveThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 92 %
Our projects keep running late or going over budgetThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 91 %
Applicable traits
What it reviewsMy own learningThe questionWhat do you want to review?Assessment · My own learning · 95 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
Johnson, P. M. and Disney, A. M. (1998). The Personal Software Process: A Cautionary Case Study. IEEE Software.Earlier 'cautionary' report of the same case study on PSP data collection (existence, title and venue confirmed via Crossref/Semantic Scholar; abstract not available).View source: The Personal Software Process: A Cautionary Case Study (opens in a new tab) ↗
Johnson, P. M. and Disney, A. M. (1999). A Critical Analysis of PSP Data Quality: Results from a Case Study. Empirical Software Engineering.Objects that manually collected and analysed PSP data are error-prone, so PSP's self-reported improvement figures are unreliable without tool support and external measures.View source: A Critical Analysis of PSP Data Quality: Results from a Case Study (opens in a new tab) ↗