Automated Refactoring Suggestions
From use case: Automated Refactoring Suggestions
Leading commerce organizations have achieved measurable success implementing automated refactoring solutions. The global microservices architecture market was valued at $4.2 billion in 2024 and is projected to reach $13.1 billion by 2033, growing at a CAGR of 12.7% (IMARC, 2024). Automated refactoring tools are playing a crucial role in enabling these transformations.
A Fortune 500 retailer transformed a Java monolith into microservices architecture while maintaining 24/7 operations, according to a case study by Morph, a provider of coding agents and tools. The retailer extracted 40 microservices from more than 3 million lines of Java code, achieved a 75% reduction in coupled components, eliminated duplications that had amounted to 60% of the reworked code, and reduced deployment cycles from 12 hours to 30 minutes, Morph says.
Brazilian digital financial services company Nubank utilized AI tool Devin to rework some 6 million lines of code in its monolithic ETL (extract/transform/load) system into smaller, more flexible sub-modules, according to a Devin case study. Nubank had estimated the project would involve more than 1,000 engineers moving roughly 100,000 data class implementations over 18 months, a huge investment in scarce resources. Instead, Nubank taught the AI-powered Devin tool how to approach sub-tasks, enabling Devin to complete the migration autonomously, with a human kept in the loop just to manage the project and approve Devin’s changes. To improve performance, the Nubank team fed examples of previous manual migrations into Devin for fine-tuning, resulting in a doubling of Devin’s task completion scores as well as a 4x improvement in task speed. Overall, the Devin case study says, using AI increased engineering time efficiency by 8x and cost savings by 20x.
“AI is fundamentally reshaping software development by automating code generation, bug detection, testing, and even documentation,” Grand View Research said in a report projecting the size of the AI in software development market from 2025-2033. Grand View noted the latest version of Microsoft’s Visual Studio IntelliCode, announced in March 2025, delivers AI-powered code completion and automation within development workflows. “IntelliCode now offers whole-line autocompletions, context-aware recommendations, and intelligent refactoring, helping developers code with greater accuracy and efficiency,” the report says.
While refactoring is only one of many ways software developers are using AI, its growing adoption is part of the overall increase in spending for AI-powered tools to help develop and improve software. Grand View estimates that 313 3.4 Build spending would increase from $674.3 million in 2024 to reach $15.7 billion by 2033, a CAGR of 42.3% from 2025 to 2033.