Abstract

Context: In the plethora of studies, it has been empirically investigated that the incidence of design pattern instances can be considered as an indicator to elaborate the software design. The developers, who have more concern with design quality, are interested to know the effect of use intensity of design patterns on the system level design quality attributes. Goal: The objective of our study is to empirically investigate the effect of the frequent use of the Gang-of-Four (GoF) design patterns on the design quality attributes. Method: We perform a case study which includes three analyses in order to investigate, 1) the existence of a correlation between design pattern usage and design quality attributes, 2) the confounding effect of system size (number of classes) on the correlation, and 3) how the change in number of employed design pattern instances affects the design quality in the subsequent releases of a system. Results: The result of this study suggests that the reusability, flexibility and understandability have a significant relationship with the employed instances of Template, Adapter-Command, Singleton and State-Strategy design patterns, however, it is affected by the confounding effect of system size. Subsequently, in the subsequent releases of an open source project named velocity, we observed the use intensity of Singleton, Adapter-Command, and State-Strategy design patterns can improve the design quality in term of reusability and flexibility attributes.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call