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
- N. Seshagiri, Federated Learning Frameworks for Privacy-Preserving Smart Applications , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 1 (2024)
- Narendra Karmarkar, Blockchain-Based Digital Identity Framework for Trusted e-Governance , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 2 (2024)
- Jacques Arsac, Intelligent Transportation Systems Using Vehicle-to-Everything (V2X) Communication , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 2 (2024)
- VenkataKrishna Brahmam Pogadadanda, Advanced RTL Design Techniques for High-speed FPGA Architectures , International Journal of Modern Innovations and Emerging Trends: ICIoTCAA26 - Conference Proceeding
- Narendra Karmarkar, P. K. Iyengar, Agentic AI Architectures for Autonomous Business Applications , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 1 (2024)
- Shiva Santosh Allenki, Software Design Patterns and Their Role in Cloud-native Applications , International Journal of Modern Innovations and Emerging Trends: ICIoTCAA26 - Conference Proceeding
- Dr. Jana Novaková, Adi Lestari, Blockchain-Enabled Identity Systems for Secure e-Governance , International Journal of Modern Innovations and Emerging Trends: Vol. 9 No. 1 (2026)
- Dr. Suresh Babu Reddy, Innovations in Smart Grids for Rural Electrification , International Journal of Modern Innovations and Emerging Trends: Vol. 4 No. 2 (2021)
- Dr. Suresh Babu Reddy, Dr. Anita Verma, Resource Allocation Strategies for Maintaining High Levels of Client Engagement in SaaS Models , International Journal of Modern Innovations and Emerging Trends: Vol. 3 No. 1 (2020)
- Bapu Rao Srigadde, How to Avoid Recursive Triggers , International Journal of Modern Innovations and Emerging Trends: ICIoTCAA26 - Conference Proceeding
You may also start an advanced similarity search for this article.