411 REFERENCE · Wikibooks
Introduction to Software Engineering/Process/PSP
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Personal Software Process
Personal Software Process
The Personal Software Process (PSP) is a process for software development that aims to reduce defects in software and increase the accuracy of estimations of development duration.
Process
The following process is applied to all software development tasks. A task is here defined as a single iteration through this process; the development of most software will comprise a large number of tasks. If a problem description is very small or trivial, a number of different problems can be worked on together as one task.
The input to a task is the problem description.
Planning
Develop a Requirements Statement based on the problem description
Write a Task Summary
Estimate time for each of the phases (including this one), based if possible on previous tasks
Development
Produce and document a design that solves the problem
Review the design
Code the design
Review the code
Run the program
Test the program
Postmortem
Write a Task Report
Compare estimated times with actual
Record and review new duration and defect rates
At every stage apart from the first, any defects discovered must be recorded in the Defect Log, and then fixed.
+ Documents to be created/updated at each stage of the process. ↓ Phase Document → Requirements Statement Task Summary Time Log Defect Log Design Task Report Plan 14 14 14 Design 14 14 14 Code 14 14 Run 14 14 Test 14 14 Postmortem 14 14 14
Artifacts
The following artifacts (or documents, records, etc.) are produced during a PSP process. The images link to PDF versions of the forms.
Requirements Statement
A simple list of requirements that this task must satisfy. Write these in the present tense, so that they read as true once the task is complete.http://www.ionocom.com/articles/spec Writing Technical Specifications in the Present Matthew Kendall 7 January 2009
Task Summary
left|400px|thumb|Task Overview|link=File:PSP Task Overview form.pdf
Time Log
Task Phase Start End Duration Notes
Design
The design documentation should take whatever form is appropriate, be it text, diagrams, and/or technical drawings.
Defect Log
left|400px|thumb|Defect Log form
Task Report
left|400px|thumb|Report form
References