Lehman's laws of software evolution


In software engineering, the laws of software evolution refer to a series of laws that Lehman and Belady formulated starting in 1974 with respect to software evolution.
The laws describe a balance between forces driving new developments on one hand, and forces that slow down progress on the other hand. Over the past decades the laws have been revised and extended several times.

Context

Observing that most software is subject to change in the course of its existence, the authors set out to determine laws that these changes will typically obey, or must obey in order for the software to survive.
In his 1980 article, Lehman qualified the application of such laws by distinguishing between three categories of software:
The laws are said to apply only to the last category of systems.

The laws

All told, eight laws were formulated:
  1. "Continuing Change" — an E-type system must be continually adapted or it becomes progressively less satisfactory.
  2. "Increasing Complexity" — as an E-type system evolves, its complexity increases unless work is done to maintain or reduce it.
  3. "Self Regulation" — E-type system evolution processes are self-regulating with the distribution of product and process measures close to normal.
  4. "Conservation of Organisational Stability " — the average effective global activity rate in an evolving E-type system is invariant over the product's lifetime.
  5. "Conservation of Familiarity" — as an E-type system evolves, all associated with it, developers, sales personnel and users, for example, must maintain mastery of its content and behaviour to achieve satisfactory evolution. Excessive growth diminishes that mastery. Hence the average incremental growth remains invariant as the system evolves.
  6. "Continuing Growth" — the functional content of an E-type system must be continually increased to maintain user satisfaction over its lifetime.
  7. "Declining Quality" — the quality of an E-type system will appear to be declining unless it is rigorously maintained and adapted to operational environment changes.
  8. "Feedback System" — E-type evolution processes constitute multi-level, multi-loop, multi-agent feedback systems and must be treated as such to achieve significant improvement over any reasonable base.