Evaluation and Analysis of Applying Design Patterns

Since applying design patterns provides a foresight of the exibility and future extensibility of software, their application is expected to constructing evolutionable software. However, there have been few research on quantitative evaluation of the e ectiveness of applying design patterns to software development. In this paper, we aim to evaluate the e ectiveness of applying design patterns. The C&K metrics suite is used for the evaluation. We collected C&K metrics values for two kinds of applications designed and implemented by our research group. Each application had two releases. One was a prototype release designed without using design patterns while the other was designed using design patterns. We conducted the Mann-Whitny U-test, one of the nonparametric statistics for testing hypotheses about whether two sample values di er. As a result, we found no signi cant di erences between the C&K metrics values of the two releases. Further examination of the relationship between the design patterns and the C&K metrics suite showed that speci c design patterns tend to make a particular metric value worse. The result suggests that new metrics should be devised for the evaluation of the e ectiveness of applying design patterns.

[1]  Victor R. Basili,et al.  A Validation of Object-Oriented Design Metrics as Quality Indicators , 1996, IEEE Trans. Software Eng..

[2]  Kazuo Ushijima,et al.  Applying design patterns to decision tree learning system , 1998, SIGSOFT '98/FSE-6.

[3]  Chris F. Kemerer,et al.  A Metrics Suite for Object Oriented Design , 2015, IEEE Trans. Software Eng..

[4]  Wolfgang Pree,et al.  Design Patterns for Object-Oriented Software Development , 1994, Proceedings of the (19th) International Conference on Software Engineering.

[5]  Douglas C. Schmidt,et al.  Experience Using Design Patterns to Evolve Communication Software Across Diverse OS Platforms , 1995, ECOOP.