Skip to content
GabineteTools for thinking

No. 1126Workflow and delivery

Personal Software Process (PSP)

Watts S. Humphrey · 1995

Four-column tray with sand clocks; red beads tied with thread from where they are born to the turquoise column that catches them.

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.

The essentials

What it is

What it solves

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

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.

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.

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

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
  1. Learn the fundamentals

    Study the levels and templates of PSP.

  2. Set up data collection

    Prepare time and defect logs and agree definitions of defect types.

  3. Plan and estimate

    Estimate size and time from your own history.

  4. Work in defined phases

    Design, code, review, compile and test with logging at each phase.

  5. Review

    Use checklists built from your own defect data.

  6. 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 process
Decision stage
Learn from past workalso: plan the work, roles and deadlines (33 %)
What it applies to
Personal habits, career or decisions
Discipline
Agile and software development
What it produces
A sequence of phases completed in order

IIIResources required

  • TimeWeeks or months
  • PeopleOne person working alone
  • DataData collected for the purpose
  • ExpertiseTrained specialists
  • Time horizonA few months
  • ScopeOne person
  • FrequencyA regular practice
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstmixedAct now

IVUseful when

  • We need people with skills we don’t have
  • Our projects keep running late or going over budget

Applicable traits

  • What it reviewsMy own learning
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.

How it works →

Thinking space

Workflow and delivery

They organize and accelerate day-to-day delivery: Kanban, DevOps, development cycles, automation and work standards.

Membership: 20 % · also “Learning, coaching and goal setting” (15 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Humphrey, W. S. (1995). A Discipline for Software Engineering. Addison-Wesley.Humphrey's 1995 Addison-Wesley book that introduced PSP (existence confirmed on Wikipedia's publications list; ISBN not verified).View source: A Discipline for Software Engineering (opens in a new tab) ↗

Key development

  1. Humphrey, W. S. (2000). The Personal Software Process (PSP). Software Engineering Institute, Carnegie Mellon University (CMU/SEI-2000-TR-022).SEI technical report giving the official description of PSP.View source: The Personal Software Process (PSP) (opens in a new tab) ↗

Critique

  1. 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) ↗
  2. 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) ↗
  3. Prechelt, L. and Unger, B. (2001). An Experiment Measuring the Effects of Personal Software Process (PSP) Training. IEEE Transactions on Software Engineering.Controlled experiment; concludes PSP training alone does not automatically deliver PSP's claimed benefits when programmers are left to motivate themselves to use the techniques.View source: An Experiment Measuring the Effects of Personal Software Process (PSP) Training (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗