OO design patterns, design structure, and program changes: an industrial case study
James M. Bieman, D. Jain, H.J. Yang · 2002
A primary expected benefit of object-oriented (OO) methods is the creation of software systems that are easier to adapt and maintain. OO design patterns are especially geared to improve adaptability, since patterns generally increase the complexity of an initial design in order to ease future enhancements. For design patterns to really provide benefit, they must reduce the cost of future adaptation. The evidence of improvements in adaptability through the use of design patterns and other design structures consists primarily of intuitive arguments and examples. There is little empirical evidence to support claims of improved flexibility of these preferred structures. In this case study, we analyze 39 versions of an evolving industrial OO software system to see if there is a relationship between patterns, other design attributes, and the number of changes. We found a strong relationship between class size and the number of changes-larger classes were changed more frequently. We also found two relationships that we did not expect: (1) classes that participate in design patterns are not less change prone-these pattern classes are among the most change prone in the system, and (2) classes that are reused the most through inheritance tend to be more change prone. These unexpected results hold up after accounting for class size, which had the strongest relationship with changes.
Cited by 59 works. doi:10.1109/icsm.2001.972775
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Experimental and Quasi-Experimental Designs for Research
- Applied Linear Statistical Models
- A metrics suite for object oriented design
- Software Metrics: A Rigorous and Practical Approach
- Experimentation in Software Engineering: An Introduction
- Experimentation in Software Engineering
- A unified framework for coupling measurement in object-oriented systems
- Foundations of Measurement, Vol. I: Additive and Polynomial Representations
- A Unified Framework for Cohesion Measurement in Object-Oriented Systems