Learning to recommend third-party library migration opportunities at the API level

计算机科学 Java 应用程序编程接口 文档 万维网 过程(计算) 软件 集合(抽象数据类型) 情报检索 相似性(几何) 服务(商务) 阅读(过程) 软件工程 人工智能 程序设计语言 图像(数学) 经济 政治学 法学 经济
作者
Hussein Alrubaye,Mohamed Wiem Mkaouer,Igor Khokhlov,Leon Reznik,Ali Ouni,Jason Mcgoff
出处
期刊:Applied Soft Computing [Elsevier BV]
卷期号:90: 106140-106140 被引量:26
标识
DOI:10.1016/j.asoc.2020.106140
摘要

The manual migration between different third-party libraries represents a challenge for software developers. Developers typically need to explore both libraries Application Programming Interfaces, along with reading their documentation, in order to locate the suitable mappings between replacing and replaced methods. In this paper, we introduce RAPIM, a machine learning model that recommends mappings between methods from two different libraries. Our model learns from previous migrations, manually performed in mined software systems, and extracts a set of features related to the similarity between method signatures and method textual documentations. We evaluate our model using 8 popular migrations, collected from 57,447 open-source Java projects. Results show that RAPIM is able to recommend relevant library API mappings with an average accuracy score of 87%. Finally, we provide the community with an API recommendation web service that could be used to support the migration process.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
3秒前
3秒前
美好斓发布了新的文献求助50
5秒前
5秒前
5秒前
6秒前
C1完成签到,获得积分10
6秒前
7秒前
书生知意行山河完成签到,获得积分10
8秒前
xz发布了新的文献求助10
8秒前
chuanyongcui完成签到,获得积分10
9秒前
9秒前
天天快乐应助愚者先生采纳,获得10
10秒前
OK应助豪豪采纳,获得60
11秒前
Lucas应助辰辰采纳,获得10
12秒前
12秒前
chuanyongcui发布了新的文献求助10
12秒前
13秒前
zl驳回了顾矜应助
14秒前
科研通AI6.3应助11采纳,获得10
15秒前
落寞的新晴完成签到,获得积分10
16秒前
17秒前
ding应助汪宇采纳,获得10
17秒前
科研通AI6.4应助hubanj采纳,获得10
18秒前
TODAY完成签到,获得积分10
19秒前
19秒前
石炭纪发布了新的文献求助30
19秒前
Hello应助丰富硬币采纳,获得10
20秒前
薛定谔的猫完成签到 ,获得积分10
21秒前
22秒前
麻辣香锅发布了新的文献求助10
22秒前
科研通AI6.3应助hubanj采纳,获得10
24秒前
看看发布了新的文献求助10
24秒前
Li完成签到,获得积分10
24秒前
24秒前
25秒前
TODAY发布了新的文献求助20
25秒前
drfwjuikesv发布了新的文献求助10
28秒前
cdercder应助LUCKY采纳,获得20
28秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
Molecular Mechanisms of Photosynthesis, 4th Edition 1000
Organic Reactions, Volume 116 1000
Current concepts in cutaneous toxicity : proceedings of the Fourth Conference on Cutaneous Toxicity, Washington, D.C., May 9-11, 1979 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7262284
求助须知:如何正确求助?哪些是违规求助? 8883635
关于积分的说明 18774326
捐赠科研通 6941511
什么是DOI,文献DOI怎么找? 3202426
关于科研通互助平台的介绍 2375644
邀请新用户注册赠送积分活动 2178128