loading page

An empirical study of the impact of software design patterns on code quality
  • +1
  • Vihanga Piyawardhana ,
  • Tharaka Madhuwantha ,
  • Lahiru Chandika ,
  • Mahesh Bavantha
Vihanga Piyawardhana
Sri Lanka Institute of Information Technology

Corresponding Author:[email protected]

Author Profile
Tharaka Madhuwantha
Author Profile
Lahiru Chandika
Author Profile
Mahesh Bavantha
Author Profile

Abstract

Software design patterns are commonly used in software engineering to provide standardized solutions for common design problems. Despite their popularity, there is limited empirical research on the impact of using these patterns on the quality of software code. This study aims to investigate the relationship between software design patterns and code quality through an empirical study. A quantitative approach is used to collect data from a sample of experienced software developers. The study found that the use of software design patterns is positively associated with code quality, as reported by the developers. Specifically, the use of design patterns reduces the complexity of software code and improves its maintainability, which contributes to higher levels of code quality. The study also highlights the importance of experience with software design patterns in improving code quality. These findings have implications for software engineering practice and education and suggest that software developers should consider using software design patterns to improve code quality.