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
- Dr. Suresh Babu Reddy, Autonomous Vehicle Navigation Using Sensor Fusion Algorithms , International Journal of Modern Innovations and Emerging Trends: Vol. 1 No. 2 (2018)
- Srichandra Boosa, From Low-Code to Enterprise-Grade Innovation: Unlocking the Full Potential of Microsoft Power Platform , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 2 (2024)
- Uday Allala, Safe Autonomous Remediation of Cloud Infrastructure Using Large Language Models , International Journal of Modern Innovations and Emerging Trends: Vol. 3 No. 1 (2020)
- Noah Wright, Isabella Moore, Hybrid Cloud Solutions for Modern Business Infrastructure , International Journal of Modern Innovations and Emerging Trends: Vol. 3 No. 2 (2020)
- Dr. K. Balasubramanian, Integrating Robotics in Modern Warehouse Logistics , International Journal of Modern Innovations and Emerging Trends: Vol. 3 No. 2 (2020)
- Rupesh Shiramalla, Cross-cloud Event Mesh: Real-time Data Orchestration Between Salesforce, Azure, and AWS Services , International Journal of Modern Innovations and Emerging Trends: ICIoTCAA26 - Conference Proceeding
- Yuga Sai Kiran Reddy Sudini, A Data Migration Platform That Never Stops the Business , International Journal of Modern Innovations and Emerging Trends: Vol. 7 No. 2 (2024)
- Dr. J. Antony John Prabhu, Blockchain-Anchored Audit Trails for Neuro-Symbolic Urban AI: Immutable Accountability for Autonomous Decisions in Smart City Infrastructure , International Journal of Modern Innovations and Emerging Trends: Vol. 8 No. 2 (2025)
- Kiran Reddy Sudini, SLM-Augmented PostgreSQL Query Optimization , International Journal of Modern Innovations and Emerging Trends: ICIoTCAA26 - Conference Proceeding
- Alan Bundy, Edge Computing Architectures for Ultra-Low Latency Applications , International Journal of Modern Innovations and Emerging Trends: Vol. 8 No. 1 (2025)
You may also start an advanced similarity search for this article.