ipdlogo Publikation 'A Controlled Experiment Comparing the Maintainability of Programs with and without Design Patterns—A Replication in a Real Programming Environment'
Achtung: Es gibt eine neue Webseite des Lehrstuhls
dept-logo unilogo

Zeitschriftenartikel

Marek Vokác, Walter Tichy, Dag Sjoberg, Erik Arisholm, Magne Aldrin, A Controlled Experiment Comparing the Maintainability of Programs with and without Design Patterns—A Replication in a Real Programming Environment, Empirical Software Engineering, Vol. 9, (3), p. 149--195, 2004.

Zusammenfassung

Software "design patterns" seek to package proven solutions to design problems in a form that makes it possible to find, adapt and reuse them. To support the industrial use of design patterns, this research investigates when, and how, using patterns is beneficial, and whether some patterns are more difficult to use than others. This paper describes a replication of an earlier controlled experiment on design patterns in maintenance, with major extensions. Experimental realism was increased by using a real programming environment instead of pen and paper, and paid professionals from multiple major consultancy companies as subjects.
Measurements of elapsed time and correctness were analyzed using regression models and an estimation method that took into account the correlations present in the raw data. Together with on-line logging of the subjects' work, this made possible a better qualitative understanding of the results.
The results indicate quite strongly that some patterns are much easier to understand and use than others. In particular, the Visitor pattern caused much confusion. Conversely, the patterns Observer and, to a certain extent, Decorator were grasped and used intuitively, even by subjects with little or no knowledge of patterns.
The implication is that design patterns are not universally good or bad, but must be used in a way that matches the problem and the people. When approaching a program with documented design patterns, even basic training can improve both the speed and quality of maintenance activities.

[Erzeuge bibTeX Eintrag]

 

[Herunterladen]

Institutsinterne Autoren

Institutsleitung
Prof. Tichy, Walter F.

Projekt

Laufend
EIR

blank
 Login
Login: 
Passwort: 
 Links
  » IPD Tichy
  » JavaParty
  » JPlag
  » ClusterOS
  » Jamaica
  » Education Support Centre
  » CHIL
blank up