LLM-Assisted Software Migration: from Module-Level Transformation to Repository-Level Integration
Yanan Zhang, Shengqi Liu, Tao Zhang, Yidi Liu, Alan Tang, Hailong Chen, Yantao Jia
Abstract
Software migration adapts an existing implementation to a new language, version, API, framework, or platform while preserving its behavior. Large language models (LLMs) succeed on individual functions and modules, but this success does not readily carry over to entire repositories, particularly deployable applications. This survey reviews LLM-assisted migration from module-level transformation to repository-level integration, culminating in the delivery of complete applications. We analyze 96 sources---including 46 direct migration papers---across four perspectives: (1) supported software engineering activities, (2) model roles as editors or orchestrators, (3) orchestration workflows (agentless, single-agent, or multi-agent), and (4) enabling techniques including knowledge engineering, project context, environment feedback, and model adaptation. We then compare evaluation practices and benchmarks. Although 30 of the 46 studies target repositories, most acceptance evidence relies merely on build success, supplied tests, or static and model-based proxies. Moreover, compilation, visual similarity, test outcomes, and runtime behavior capture fundamentally distinct properties and cannot be conflated into a single success rate. We also identify critical gaps in requirements engineering support and in controlled comparisons of agent architectures. Finally, we discuss six open problems: application integration, platform differences, non-functional properties, generalization, attribution of gains, as well as cost and maintenance.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
Shared title terminologycs.SEHongyixuan Yuan, Qixing Zhou, Pengcheng Huang et al.
The Comprehension Gap in LLM-Assisted Software Development: An Experiment
Shared title terminologycs.SEJulian Oertel, Jil Klünder, Regina Hebig
The Hidden Methodological Layer: Uncovering Threats to Validity in LLM-Assisted Empirical Software Engineering
Shared title terminologycs.SEVictória Gomes, Fabio Palomba, Robert Feldt et al.
"What Should I Do?" Guidelines for Responsibly Integrating AI in Software Engineering
Shared title terminologycs.SERudrajit Choudhuri, Fatima A. Moussaoui, Carmen Badea et al.
Barriers to GenAI Integration During Large-Scale Agile Transformation: An Exploratory Case Study
Shared title terminologycs.SENils Brede Moe, Marthe Berntzen, Astri Barbala et al.
A Mixed-Methods Study of Personal Software Creation
Shared title terminologycs.SEShaokang Jiang, Kira Yuha Cho, Emerson Murphy-Hill et al.