Online Academic Journal of Information Technology (Sep 2018)

An Experimental Evaluation of The Effect of SOLID Principles to Microsoft vs Code Metrics

  • Osman Turan,
  • Ömer Özgür Tanrıöver

DOI
https://doi.org/10.5824/1309-1581.2018.4.001.x
Journal volume & issue
Vol. 9, no. 34
pp. 7 – 24

Abstract

Read online

Software maintenance is necessary for reasons such as changes in user needs, changes in the operating conditions of the system due to changes in the infrastructure, the occurrence of unforeseen errors. The suitability of the software for maintenance operations is a significant influence in reducing the cost. Using only basic object oriented programming concepts do not show that we are writing maintainable code in our applications. Object oriented design principles such SOLID are about reducing dependencies and increasing maintainability. ISO/IEC 9126 is about maintainability but ISO/IEC 9126 is not clear about whether all inputs to measurement should be used together in conjunction or whether they should be used as appropriate or available. Indeed, ISO/IEC 9126 provides no guidance, heuristics, rules of thumb, or any other means to show how to trade off measures, how to weight measures or even how to simply collate them. In this study each sub-characteristic of ISO/IEC maintainability with help of Visual Studio VS code metric tool is assessed. The focus of this assessment is on maintainability and its sub-characteristics like analyzability, testability, changeability and stability. Before doing an analysis, each sub-characteristics of maintainability part of ISO/IEC 9126 standard are mapped to five VS code metrics for measurement of characteristics. This work shows the effect of object oriented design principles SOLID to the maintainability, complexity and flexibility of the code while associating ISO/IEC, VS code metric and SOLID.

Keywords