Bookmarks

Waterfall model

A software development life cycle model in which a project moves through sequential phases — requirements, design, coding, testing, deployment — and each phase is completed before the next one begins.

Also: waterfall process, waterfall methodology

checked 9 Nov

All terms

The waterfall model is drawn as a waterfall: requirements flow down through design, coding and testing, and there is no going back against the current. Large projects were built this way before the Agile era — and still are where requirements are fixed up front and the result is accepted against documents.

Where the model comes from

The first detailed diagram of such a process is usually associated with Winston Royce: in 1970, in the paper “Managing the Development of Large Software Systems”, he depicted development as a cascade of steps — from requirements analysis to operation. The word “waterfall” itself does not appear in the paper, and how the word became attached to the diagram is unclear. Royce, however, criticised the single-pass variant in which verification happens only at the end: he considered iteration between adjacent steps the norm, and long returns a serious problem. Martin Fowler notes that the term has no clear definition, and sees its essence in breaking a large project down into phases by kind of activity, as opposed to the iterative approach, where work is divided into subsets of features.

How it is structured

PhaseWhat happensOutput
Requirements analysisthe team gathers and records what the system must dorequirements specification
Designthe architecture and structure of the components are definedsystem design
Codingthe system is implemented to the designsource code
Testingthe assembled system is tested as a wholedefect reports
Deployment and maintenancethe system is put into operation and defects are fixeda working system

Phases stretch differently: a year-long project might break down, for example, into 2 months of analysis, 4 months of design, 3 months of coding and 3 months of testing. A phase is usually considered complete once its final document is ready, and the team then relies on that document.

When the model fits

Waterfall works where requirements are known and stable and the cost of error is high: embedded and medical software, fixed-price projects with acceptance against documents, work under government contracts. Its weaknesses mirror its strengths: a mistake in the requirements surfaces during testing at the end of the project, when rework is most expensive; the customer sees a working product for the first time at the very end; changes mid-cycle are costly and are formalised as change requests. So in product teams with changing requirements waterfall has given way to iterative approaches, but it has remained in regulated industries and contract development.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • Agile

    Agile — a family of iterative approaches: short cycles with a working product and feedback instead of one long sequence of phases.

  • SDLCsoftware development life cycle

    SDLC — the general term for any software development life cycle; the waterfall model is only one of its variants.

In depth in the references

where the topic is covered in detail