计算机应用与软件2026,Vol.43Issue(10):1-8,97,9.DOI:10.3969/j.issn.1000-386x.2026.10.001
面向弃用API的自动迁移方法研究综述
A SURVEY OF AUTOMATIC MIGRATION METHODS FOR DEPRECATED API
摘要
Abstract
Developers often need to complete deprecated API migration when maintaining client projects.Manual migration requires great time effort,prompting a substantial number of researchers to propose automatic migration methods.This survey summarized existing empirical studies on deprecated APIs,including the reasons,prevalence,information recording,and reactions from client developers,in order to analyze the necessity and feasibility of automatic migration methods.According to the sources of knowledge,this survey categorized existing automatic migration methods into four types:text-based,code change-based,migration example-based,and heuristic rule-based automatic migration methods,and analyzed the strengths and weaknesses of each category of methods.This survey discussed future research directions for automatic migration methods.关键词
弃用API/代码迁移/框架和库Key words
Deprecated API/Code migration/Framework and library分类
信息技术与安全科学引用本文复制引用
沈阚,陈碧欢,赵文耘..面向弃用API的自动迁移方法研究综述[J].计算机应用与软件,2026,43(10):1-8,97,9.基金项目
国家自然科学基金项目(62372114). (62372114)