Skip to main navigation Skip to search Skip to main content

A Maintainability Framework to Ensure the Software Quality in Object-Oriented Programming

  • Departement of Informatics
  • Institut Teknologi Sepuluh Nopember

Research output: Contribution to journal › Article › peer-review

2 Citations (Scopus)

Abstract

In recent years, there have been significant challenges in the attempt to improve modular structure and code reusability in software development. Software developers should ensure that refactoring not only eliminates code smells but also leads to measurable improvements in software quality metrics. Although metric-based approaches allow for objective and systematic measurements, they have limitations. They cannot ascertain the effectiveness of refactoring techniques in terms of readability, code maintainability, and their impact on system performance and developer productivity. This study proposes mathematical formulations for five key metrics: Modularity (MMo-1-G, MMo-2-S), Analysability (MAn-2-S), Reusability (MRe-1-G), and Testability (MTe-1-G). These metrics are used to evaluate and verify the effectiveness of refactoring in improving module separability and code reuse rate. The proposed model is presented in mathematical notation to link the concepts of modularity and reusability with the corresponding refactoring implementation. Case studies are conducted by applying this formulation to various refactoring techniques aimed at addressing specific types of code smells. Based on the metric analysis conducted on 17 types of code smells using three refactoring techniques, the results demonstrate improvements of 11.46% in MMo-1-G, 0.8% in MMo-2-S, 1.2% in MAn-2-S, 0.82% in MRe-1-G, and 3.07% in MTe-1-G. These findings demonstrate that the proposed formulation can be effectively applied to evaluate code quality changes after refactoring and provide more objective insights into code improvement decision-making.

Original languageEnglish
Pages (from-to)195796-195821
Number of pages26
JournalIEEE Access
Volume13
DOIs
Publication statusPublished - 2025

Keywords

  • Code smell
  • ISO/IEC 25023
  • mathematical formulation
  • object-oriented programming
  • software maintainability
  • software quality
  • software refactoring

Fingerprint

Dive into the research topics of 'A Maintainability Framework to Ensure the Software Quality in Object-Oriented Programming'. Together they form a unique fingerprint.

Cite this