Relationship between design patterns defects and crosscutting concern scattering degree: an empirical study
- 12 October 2009
- journal article
- Published by Institution of Engineering and Technology (IET) in IET Software
- Vol. 3 (5) , 395-409
Abstract
Design patterns are solutions to recurring design problems, aimed at increasing reuse, code quality and, above all, maintainability and resilience to changes. Despite such advantages, the usage of design patterns implies the presence of crosscutting code implementing the pattern usage and access from other system components. When the system evolves, the presence of crosscutting code can cause repeated changes, possibly introducing defects. This study reports an empirical study, in which it is showed that, for three open source projects, the number of defects in design-pattern classes is in several cases correlated with the scattering degree of their induced crosscutting concerns, and also varies among different kinds of patterns.Keywords
This publication has 19 references indexed in Scilit:
- Do Crosscutting Concerns Cause Defects?IEEE Transactions on Software Engineering, 2008
- Identifying Crosscutting Concerns Using Fan-In AnalysisACM Transactions on Software Engineering and Methodology, 2007
- An empirical study on the evolution of design patterns2007
- Relating the Evolution of Design Patterns and Crosscutting Concerns2007
- Design Pattern Detection Using Similarity ScoringIEEE Transactions on Software Engineering, 2006
- Modularizing design patterns with aspects2005
- Defect frequency and design patterns: an empirical study of industrial codeIEEE Transactions on Software Engineering, 2004
- Design pattern implementation in Java and aspectJ2002
- A controlled experiment in maintenance: comparing design patterns to simpler solutionsIEEE Transactions on Software Engineering, 2001
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994