Skip to content
Review Open access

ML-Enhanced Code Refactoring Recommendations for Improving Software Maintainability

2019 · International Journal of Modern Innovations and Emerging Trends · 0 citations

TL;DR

Results show that ML-enhanced recommendations outperform traditional methods in accuracy, relevance, and impact on maintainability metrics, and highlight the potential of integrating ML into modern development practices to support developers in producing cleaner, more maintainable software systems.

Abstract

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.

Read PDF

Similar papers

Book Open access Jul 2026

When Testing Meets Refactoring: Catalogue, Detection, and Recommendation

This paper presents a unified catalogue of test refactoring patterns derived from a mixed-method approach involving repository mining, developer surveys, and analysis of StackOverflow discussions, to establish a rigorous benchmark for evaluating future automated recommendation systems, including those driven by Large L...

Victor Guerra Veloso · 0 citations
Open access 2026

Enhancing Code Quality through AI-Powered Metric-Driven Refactoring: A Multi-Model Analysis

Investigating LLMs as metric-driven refactoring assistants rather than code generators suggests that while LLMs are valuable assistants for structural improvement, their interventions require careful monitoring to avoid unintended trade-offs.

Tindwende Thierry Sawadogo, Fadel Touré · 0 citations
Open access 2019

Data-Centric Refactoring: Techniques for Improving Model Quality via Codebase Changes

A comprehensive taxonomy of data-centric refactoring strategies is introduced, their application across ML-driven software projects is investigated, and their impact on model accuracy, robustness, maintainability, and reproducibility is evaluated.

Fatou Diop · 0 citations
Aug 2026

Deep Evolutionary Software Design Using Adaptive Intelligence for Maintainability and Refactoring

Design-AI, a novel framework that integrates deep evolutionary algorithms with adaptive intelligence to automate the identification and recommendation of refactoring opportunities, achieves high precision and recall in recommendations, outperforming state-of-the-art academic and commercial refactoring solutions.

Faisal Alhwikem · 0 citations
Preprint Aug 2026

Detecting Behavioral Changes in Python Refactoring Implementations with Foundation Models

This work proposes an approach based on a foundation model oracle that analyzes git-style diffs to identify behavioral changes introduced by Python refactorings and uncovered 13 distinct bugs among the seven refactoring types studied.

Jonhnanthan Oliveira, Rohit Gheyi, Márcio Ribeiro et al. · 0 citations
Open access 2020

Machine Learning for Code Smell Detection and Resolution

The study highlights the potential of intelligent, data-driven approaches to enhance software quality and support continuous code improvement by leveraging code metrics, syntactic and semantic features, and historical refactoring data.

Emily Johnson · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.