Skip to main navigation Skip to search Skip to main content

Measurement of Modularity and Reusability Quality in Refactoring Object-Oriented Program Code

  • Institut Teknologi Sepuluh Nopember

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Code smells are a common problem in object-oriented programming that can reduce the quality of software maintainability. To minimize this impact, refactoring techniques are needed that can improve code quality from the early stages of development. However, empirical evidence regarding the effectiveness of refactoring on software quality is still limited. Therefore, this study proposes an evaluation of the impact of refactoring on two sub-characteristics of maintainability, namely modularity and reusability, using metrics based on the ISO/IEC 25023 standard. Refactoring is carried out based on code smell identification using SonarQube and tested on three Java software projects. The study shows that refactoring Long Method and Long Parameter List significantly improves modularity and reusability in object-oriented software. MMo-1-G increasing by up to 0.014 for Long Method and 0.021 for Long Parameter List, MMo-2-S increasing by up to 0.024 for Long Method, and MRe-1-G increasing by up to 0.014. MRe-2-S remained unchanged due to the absence of documented coding rules. These results indicate that refactoring generally provides improvements in the quality of modularity and reusability, although the impact is relatively small and varies from project to project. These findings confirm that refactoring can contribute to improving the maintainability of object-oriented software.

Original languageEnglish
Title of host publicationProceedings of 2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages353-358
Number of pages6
ISBN (Electronic)9798331575786
DOIs
Publication statusPublished - 2025
Event2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025 - Hybrid, Batam, Indonesia
Duration: 28 Oct 202529 Oct 2025

Publication series

NameProceedings of 2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025

Conference

Conference2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025
Country/TerritoryIndonesia
CityHybrid, Batam
Period28/10/2529/10/25

Keywords

  • Code Smell
  • ISO/IEC 25023
  • Maintainability
  • Modularity
  • Reusability

Fingerprint

Dive into the research topics of 'Measurement of Modularity and Reusability Quality in Refactoring Object-Oriented Program Code'. Together they form a unique fingerprint.

Cite this