An Empirical Analysis of Defect Prone Design Pattern
Design patterns are problem-solution pairs that provide proven solutions for commonly occurring design problems. They are used to increase maintainability, reusability, comprehensibility and code quality. However, some studies have indicated relationship between design patterns and defects that doubts the claimed benefits of design patterns. In this paper we present an empirical study to evaluate the error proneness of design patterns. We extract the design patterns from open source software and map these patterns to post-release defects. Information on defects is extracted from version control repositories and bug databases. We have applied Mann-Whitney test to find the design patterns that are more error-prone than others.
Keywords: Design Patter, Code Quality, Reusability, Comprehensibility, Error-Prone Modules.
Download Full-Text
ABOUT THE AUTHORS
Mamoona Jalil
Mamoona Jalil was awarded a Bachelor’s degree in Computer Sciences from the University of Sargodha and currently doing M.S. in Computer Sciences from the same university. Her research interests include Software Engineering, Design Pattern and other topics.
Javed Farzand
Javed Farzand received a Master degree in Computer Sciences in 2003 and a Doctor of Informatics from Technical University of Graz, Austria in 2009. His research interests include Design Pattern, Software Testing and e-learning. He is currently an assistant professor in the Department of Computer Science and Information Technology at the University of Sargodha, Pakistan.
Muhammad Ilyas
Muhammad Ilyas received a Master degree in Software Project Management in 2004 from National University of Computer and Emerging Sciences, Lahore and a Doctor of Informatics from Johannes Kepler University, Linz Austria in 2010. His research interests include Software Engineering, Design Pattern and knowledge base systems. He is currently an assistant professor in the Department of Computer Science and Information Technology at the University of Sargodha, Pakistan.
Mamoona Jalil
Mamoona Jalil was awarded a Bachelor’s degree in Computer Sciences from the University of Sargodha and currently doing M.S. in Computer Sciences from the same university. Her research interests include Software Engineering, Design Pattern and other topics.
Javed Farzand
Javed Farzand received a Master degree in Computer Sciences in 2003 and a Doctor of Informatics from Technical University of Graz, Austria in 2009. His research interests include Design Pattern, Software Testing and e-learning. He is currently an assistant professor in the Department of Computer Science and Information Technology at the University of Sargodha, Pakistan.
Muhammad Ilyas
Muhammad Ilyas received a Master degree in Software Project Management in 2004 from National University of Computer and Emerging Sciences, Lahore and a Doctor of Informatics from Johannes Kepler University, Linz Austria in 2010. His research interests include Software Engineering, Design Pattern and knowledge base systems. He is currently an assistant professor in the Department of Computer Science and Information Technology at the University of Sargodha, Pakistan.