ML-Enhanced Code Refactoring Recommendations for Improving Software Maintainability
-
DOI:
https://doi.org/10.67228/30715628/IJMIET-2019PII6R1DPublished 12-03-2019
Machine Learning for Software Engineering, Code Refactoring, Software Maintainability, Technical Debt, Automated Software Quality Improvement, ML-based Recommendation Systems, Code Smell Detection, Software Analytics Issue
Section
ArticlesAbstract
Software maintainability is a critical quality attribute influencing the long-term sustainability, scalability, and cost-effectiveness of software systems. Traditional refactoring approaches often rely on manual inspection or rule-based static analysis, which can be time-consuming, inconsistent, and limited in capturing deeper code quality issues. Recent advances in machine learning (ML) provide new opportunities to automate and enhance refactoring recommendations by learning from large codebases, identifying complex patterns, and predicting optimal refactoring strategies. This paper investigates ML-driven approaches for generating code refactoring recommendations aimed at improving maintainability. We review existing techniques, propose an ML-based framework capable of detecting maintainability hotspots and suggesting targeted refactorings, and evaluate its effectiveness through empirical experiments on real-world repositories. Results show that ML-enhanced recommendations outperform traditional methods in accuracy, relevance, and impact on maintainability metrics. The findings highlight the potential of integrating ML into modern development practices to support developers in producing cleaner, more maintainable software systems.
References
[1] Fowler, M., Refactoring: Improving the Design of Existing Code, Addison-Wesley, 2019.
[2] Bavota, G., “Code Smell Detection: A Systematic Literature Review,” Journal of Systems and Software, 2015.
[3] Tsantalis, N., et al., “Accurate Prediction of Refactoring Opportunities Using Machine Learning,” IEEE Transactions on Software Engineering, 2018.
[4] Palomba, F., “Mining Refactoring Changes in Large-Scale Systems,” Software Maintenance and Evolution, 2017.
[5] Kim, M., “Refactoring Studies Based on Version Histories,” IEEE Software, 2019.
[6] Sadowski, C., “Static Analysis at Scale: Lessons Learned,” Google Research Journal, 2017.
[7] Liu, Y., “CodeBERT: A Pretrained Model for Programming Languages,” EMNLP, 2020.
[8] Tufano, M., “Automated Software Refactoring via Neural Machine Translation,” ICSE, 2019.
[9] Hassan, A. E., “Technical Debt Measurement and Management,” IEEE Software Engineering Notes, 2018.
[10] Poshyvanyk, D., “Feature Envy Detection Using Information Retrieval,” ASE Conference, 2015.
[11] Romano, D., “Assessing Code Readability: Metrics and Models,” International Journal of Software Engineering, 2016.
[12] Mens, T., “A Survey of Refactoring Techniques and Tools,” Computer Science Review, 2016.
Downloads
Similar Articles
- Ajay Krishnan, Computer Vision Techniques for Automated Surveillance Systems , International Journal of Modern Innovations and Emerging Trends: Vol. 5 No. 2 (2022)
- Dr. Rakesh Chandra, Predictive Analytics for Real-Time Supply Chain Optimization , International Journal of Modern Innovations and Emerging Trends: Vol. 6 No. 2 (2023)
- Rama Subba Rao Nimmala, The Art of System Debugging: Root Cause Analysis for Hardware and Software Engineers , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 1 (2024)
- Dr. Gabor Kezdi, Dr. Jurgen Willman, Smart Water Quality Monitoring Using Low-Cost IoT Sensors , International Journal of Modern Innovations and Emerging Trends: Vol. 1 No. 2 (2018)
- Carl Adam Petri, AI-Integrated Smart Farming Solutions for Crop Enhancement , International Journal of Modern Innovations and Emerging Trends: Vol. 8 No. 2 (2025)
- Mr. Kenji Sato, Ms. Aiko Yamamoto, Robotic Process Automation for Modern Enterprise Workflows , International Journal of Modern Innovations and Emerging Trends: Vol. 6 No. 2 (2023)
- Dr. Karen Lewis, Dr. Richard Evans, AI-Personalized Digital Learning Systems: A Modern Approach , International Journal of Modern Innovations and Emerging Trends: Vol. 4 No. 1 (2021)
- Dr. Rajesh Kumar Sharma, AI-Enabled Threat Detection in Network Security , International Journal of Modern Innovations and Emerging Trends: Vol. 5 No. 1 (2022)
- Paul Anderson, Machine Learning for Smart Cities and Urban Analytics , International Journal of Modern Innovations and Emerging Trends: Vol. 6 No. 2 (2023)
- Dr. Rajesh Kumar Sharma, AI-Driven Talent Analytics for Modern HR Solutions , International Journal of Modern Innovations and Emerging Trends: Vol. 4 No. 1 (2021)
You may also start an advanced similarity search for this article.