Software Maintainability Index Prediction with Source Code Metrics using Machine Learning
Abstract
Software Maintainability Prediction (SMP) plays a significant role in software engineering, as it provides developers and project managers with insights into quality, potential maintenance costs, and scalability over time. In this research, a machine learning–based model for SMP is presented using the M5P Model Tree algorithm. The prediction is performed based on source code metrics, including comment density, cyclomatic complexity, Halstead volume, and cohesion. Experiments conducted on a dataset demonstrated that the trained model achieved a Correlation Coefficient (R) of 0.8892, indicating a high predictive capability. Compared to its counterpart methods, it delivered a 9.23% improvement in terms of R, confirming its superior performance.
Keywords
References
- [1] G. Yenduri and T. R. Gadekallu, “A review on soft computing approaches for predicting maintainability of software: State‐of‐the‐art, technical challenges, and future directions,” Expert Systems, no. 7, pp. 1-21, 2023. doi: 10.1111/exsy.13250.
- [2] R. Dixit, B. Bhushan, “Test Metrics for Maintainability of Software: A Case Study on Searching and Sorting Programs,” I-manager’s Journal on Software Engineering, vol. 14, no. 3, pp. 29–36, 2020. doi: 10.26634/jse.14.3.17226.
- [3] S. Elmidaoui, L. Cheikhi, A. Idri, and A. Abran, “Machine learning techniques for software maintainability prediction: Accuracy analysis,” Journal of Computer Science and Technology, vol. 35, no. 5, pp. 1147-1174, 2020. doi: 10.1007/s11390-020-9668-1.
- [4] S. Elmidaoui, L. Cheikhi, A. Idri, and A. Abran, “Empirical studies on software product maintainability prediction: A systematic mapping and review,” e-Informatica Software Engineering Journal, vol. 13, no. 1, pp. 141–202, 2019. DOI: 10.5277/e-Inf190105.
- [5] R. Malhotra and K. Lata, “A systematic literature review on empirical studies towards prediction of software maintainability,” Soft Computing, vol. 21, pp. 16655-16677, 2020. doi: 10.1007/s00500-020-05005-4.
- [6] H. Alsolai and M. Roper, “A systematic literature review of machine learning techniques for software maintainability prediction,” Information and Software Technology, vol. 119, pp. 1-25, 2020. doi: 10.1016/j.infsof.2019.106214.
- [7] V. Goel and A. Kaur, “A Novel Technique for Optimization of Artificial Neural Network Using Ensemble of Chimp, Harris Hawks and Manta Ray Foraging Optimization Algorithms for Enhancing Software Maintainability Prediction,” Arabian Journal for Science and Engineering, vol. 50, pp. 1-35, 2025. doi: 10.1007/s13369-025-10031-1.
- [8] A. Vescan and D. Barac-Antonescu, “Software maintainability prediction based on change metric using neural network models,” Engineering Applications of Artificial Intelligence, vol. 144, pp. 1-12, 2025. doi: 10.1016/j.engappai.2025.110032
Details
Primary Language
English
Subjects
Artificial Intelligence (Other)
Journal Section
Research Article
Authors
Publication Date
May 3, 2026
Submission Date
March 18, 2026
Acceptance Date
April 16, 2026
Published in Issue
Year 2026 Volume: 6 Number: 1
APA
Birant, K. U. (2026). Software Maintainability Index Prediction with Source Code Metrics using Machine Learning. Artificial Intelligence Theory and Applications, 6(1), 44-55. https://izlik.org/JA27FG86YP
AMA
1.Birant KU. Software Maintainability Index Prediction with Source Code Metrics using Machine Learning. AITA. 2026;6(1):44-55. https://izlik.org/JA27FG86YP
Chicago
Birant, Kökten Ulaş. 2026. “Software Maintainability Index Prediction With Source Code Metrics Using Machine Learning”. Artificial Intelligence Theory and Applications 6 (1): 44-55. https://izlik.org/JA27FG86YP.
EndNote
Birant KU (May 1, 2026) Software Maintainability Index Prediction with Source Code Metrics using Machine Learning. Artificial Intelligence Theory and Applications 6 1 44–55.
IEEE
[1]K. U. Birant, “Software Maintainability Index Prediction with Source Code Metrics using Machine Learning”, AITA, vol. 6, no. 1, pp. 44–55, May 2026, [Online]. Available: https://izlik.org/JA27FG86YP
ISNAD
Birant, Kökten Ulaş. “Software Maintainability Index Prediction With Source Code Metrics Using Machine Learning”. Artificial Intelligence Theory and Applications 6/1 (May 1, 2026): 44-55. https://izlik.org/JA27FG86YP.
JAMA
1.Birant KU. Software Maintainability Index Prediction with Source Code Metrics using Machine Learning. AITA. 2026;6:44–55.
MLA
Birant, Kökten Ulaş. “Software Maintainability Index Prediction With Source Code Metrics Using Machine Learning”. Artificial Intelligence Theory and Applications, vol. 6, no. 1, May 2026, pp. 44-55, https://izlik.org/JA27FG86YP.
Vancouver
1.Kökten Ulaş Birant. Software Maintainability Index Prediction with Source Code Metrics using Machine Learning. AITA [Internet]. 2026 May 1;6(1):44-55. Available from: https://izlik.org/JA27FG86YP