Approach Model for Measuring SOLID Design Principles
摘要
The programmer should avoid constructing a poor design while building the software system, by following a set of design principles called the SOLID principles (Single—Responsibility Principle (SRP), Open–Closed Principle (OCP), Lesko Substitution Principle (LSP), Interface Segregation Principle (ISP), Dependency Inversion Principle (DIS)). The SOLID principles make it easier to develop a good software design that is free of errors and problems. This paper underlined the effect of SOLID design principles on the code by utilizing Quality Model for Object Oriented Design (QMOOD) metrics to evaluate the quality of programs based on the six quality attributes (reusability, functionality, effectiveness, understandability, extendibility, and flexibility. The results from the evaluation of programs revealed that using SOLID principles can improve design quality in many ways, resulting in overall higher quality.