TY - GEN
T1 - Measurement of Modularity and Reusability Quality in Refactoring Object-Oriented Program Code
AU - Rochimah, Siti
AU - Nuralamsyah, Bintang
AU - Glenaya,
AU - Hadiningrum, Tiara Rahmania
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - 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.
AB - 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.
KW - Code Smell
KW - ISO/IEC 25023
KW - Maintainability
KW - Modularity
KW - Reusability
UR - https://www.scopus.com/pages/publications/105033636294
U2 - 10.1109/ICoDSE68111.2025.11351899
DO - 10.1109/ICoDSE68111.2025.11351899
M3 - Conference contribution
AN - SCOPUS:105033636294
T3 - Proceedings of 2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025
SP - 353
EP - 358
BT - Proceedings of 2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2025 IEEE International Conference on Data and Software Engineering, ICoDSE 2025
Y2 - 28 October 2025 through 29 October 2025
ER -