arrow
返回

MULAPI: Improving API method recommendation with API usage location

delete2018-08-01
delete38
PRE
AI
C
Congying Xu
X
Xiaobing Sun *
B
Bin Li
X
Xintong Lu
H
Hongjing Guo
DOI:10.1016/j.jss.2018.04.060delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
During the evolution of a software system, a large number of feature requests are continuously proposed by users. To implement these feature requests, developers often utilize existing third-party libraries and make use of Application Programming Interfaces (APIs) to accelerate the feature implementation process. However, it is not always obvious which API methods are suitable and where these API methods can be used in the target program. In this paper, we propose an approach, MULAPI (Method Usage and Location for API), to recommend API methods and figure out the API usage location where these API methods would be used. MULAPI employs feature location to identify feature related files as API usage location. Further, these feature related files are taken into account to recommend API methods by exploring the source code repository and API libraries as well. We evaluate MULAPI on more than 1000 feature requests of eight Java projects (Axis/Java, CXF, Hadoop Common, Hbase, Struts2, Hadoop HDFS, Hive and Hadoop Map/Reduce), and recommend API methods from ten third party libraries. The empirical results show that MULAPI can accurately recommend API methods and usage location, and moreover, MULAPI improves the effectiveness of API method recommendation, compared with the state-of-the-art approach.
Keyword:
API method recommendation
API usage location
Feature request
Feature location
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.4K
被引数:
8.4K

机构

Y
Yangzhou University
学者数:
2.8W
论文数: 1.9W
被引数: 3.3W
引用论文

引用论文

Stepwise API usage assistance using n-gram language models
err2017-09-01
err6
errOAAI
errSantos, Andre L.; Prendi, Goncalo; Sousa, Hugo; Ribeiro, Ricardo
err分享
err收藏
API usage pattern recommendation for software development
err2017-07-01
err43
PREAI
errNiu, Haoran; Keivanloo, Iman; Zou, Ying
err分享
err收藏
没有更多内容