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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Approach Model for Measuring SOLID Design Principles

  • Sara Abuasal,
  • Zaid Alyabroodi,
  • Abdel-Rahman Al-Ghuwairi,
  • Mohammad Refai,
  • Malak Hamad Al-mashagbeh,
  • Asma’a Bassam Alamareen,
  • Mohammad Kanan

摘要

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.