Impact of Design Patterns on Software Complexity and Size
Journal: Mehran University Research Journal of Engineering and Technology (Vol.39, No. 2)Publication Date: 2020-04-01
Authors : Nosheen Qamar; Ali Afzal Malik;
Page : 342-352
Keywords : CK Metrics; Design Patterns; Gang of Four; Software Complexity; Software Quality; Software Size.;
Abstract
Many different factors influence the quality of software. Among the most important of these factors is software complexity. One way to improve software quality, therefore, is to minimize its complexity making it more understandable and maintainable. The design phase of the software development life cycle plays an instrumental role in fostering quality in software. Seasoned designers often use past design best practices codified in the form of design patterns to make their designs and the resultant code more elegant, robust, and resilient to change. Little work, however, has been done to empirically assess the quantitative impact of design patterns on software complexity. This research is an attempt to fill this gap. A comparative analysis of before and after versions of program pairs written without and with design patterns was performed for all twenty three GoF (Gang of Four) design patterns. These program pairs were collected (or, in some cases, developed) and compared with respect to their complexity and size. The results of this comparative analysis reveal that the cyclomatic complexity of the programs written using design patterns was less for most of the design patterns as compared to the programs written without using design patterns. However, the values of CK metrics, number of classes, and software size SLOC (Source Lines of Code) increased when design patterns were used.
Other Latest Articles
- E-Learning Adoption and Acceptance in Pakistan: Moderating Effect of Gender and Experience
- The Role of Knowledge Management and Data Mining in Improving Educational Practices and the Learning Infrastructure
- SIP Issues and Challenges – A Scalable Three Factor Authentication Scheme
- Exhaustive Crisp Parameter Modification in Quantization Table for Effective Image Compression
- Optimization of Maximum Power Point Tracking Flower Pollination Algorithm for a Standalone Solar Photovoltaic System
Last modified: 2020-07-29 01:38:55