arrow
返回

Recommending API Function Calls and Code Snippets to Support Software Development

推荐API函数调用和代码片段支持软件开发

delete2022-07-01
delete24
delete
OA
AI
P
Phuong T. Nguyen
J
Juri Di Rocco
C
Claudio Di Sipio
D
Davide Di Ruscio *
Massimiliano Di Penta 封面图
Massimiliano Di Penta (Massimiliano Di Penta)
DOI:10.1109/TSE.2021.3059907delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Software development activity has reached a high degree of complexity, guided by the heterogeneity of the components, data sources, and tasks. The proliferation of open-source software (OSS) repositories has stressed the need to reuse available software artifacts efficiently. To this aim, it is necessary to explore approaches to mine data from software repositories and leverage it to produce helpful recommendations. We designed and implemented FOCUS as a novel approach to provide developers with API calls and source code while they are programming. The system works on the basis of a context-aware collaborative filtering technique to extract API usages from OSS projects. In this work, we show the suitability of FOCUS for Android programming by evaluating it on a dataset of 2,600 mobile apps. The empirical evaluation results show that our approach outperforms two state-of-the-art API recommenders, UP-Miner and PAM, in terms of prediction accuracy. We also point out that there is no significant relationship between the categories for apps defined in Google Play and their API usages. Finally, we show that participants of a user study positively perceive the API and source code recommended by FOCUS as relevant to the current development context.
Keyword:
Recommender systems
Libraries
Tools
Data mining
Task analysis
Software engineering
Documentation
Recommender systems
API calls
source code recommendations
android programming
AI-Powered Software Development: A Systematic Review of Recommender Systems for ProgrammersAI赋能的软件开发:程序员推荐系统的一个系统综述
err2025-03-24
err0
errOAAI
errMavridou, Efthimia; Vrochidou, Eleni; Kalampokas, Theofanis; Kanakaris, Venetis; Papakostas, George A.
err分享
err收藏
API recommendation for event-driven Android application development
err2019-03-01
err28
errOAAI
errYuan, Weizhao; Nguyen, Hoang H.; Jiang, Lingxiao; Chen, Yuting; Zhao, Jianjun; Yu, Haibo
err分享
err收藏
FACER: An API usage-based code-example recommender for opportunistic reuse
err2021-08-18
err10
PREAI
errAbid, Shamsa; Shamail, Shafay; Basit, Hamid Abdul; Nadi, Sarah
err分享
err收藏
Does Reviewer Recommendation Help Developers?
err2020-07-01
err29
errOAAI
errKovalenko, Vladimir; Tintarev, Nava; Pasynkov, Evgeny; Bird, Christian; Bacchelli, Alberto
err分享
err收藏
Recommending Security Requirements for the Development of Android Applications Based on Sensitive APIs
err2020-01-01
err1
errOAAI
errLiu, Yuzhou; Liu, Lei; Liu, Huaxiao; Gao, Shanquan; Song, Guohang
err分享
err收藏
Generative API usage code recommendation with parameter concretization
err2019-07-30
err11
PREAI
errChen, Chi; Peng, Xin; Sun, Jun; Xing, Zhenchang; Wang, Xin; Zhao, Yifan; Zhang, Hairui; Zhao, Wenyun
err分享
err收藏
Recommending reference API documentation
err2014-07-15
err48
errOAAI
errRobillard, Martin P.; Chhetri, Yam B.
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

U
university of laquila
学者数:
5
论文数: 4
被引数: 3.1K
U
university of sannio
学者数:
128
论文数: 55
被引数: 1.4K
引用论文

引用论文

Dear Editor
err1988-07-01
err0
PREAI
errCarl L. Stanitski
err分享
err收藏
Dual Hole Transport Layers Heterojunction and Band Alignment Engineered Mo:BiVO4 Photoanodes for Efficient Water Splitting (Small 37/2024)
err2024-09-13
err0
PREAI
errGuilin Wang; Tongxin Tang; Kai‐Hang Ye; Xin Ding; Junwei Chen; WenHao Zou; Yushen Xiao; JieYu Li; Long Zhao; Chaojie Chen; Sitong Ge; Lei Li; Xiujuan Wei; Chao Chen; Yang Cao; Zhan Lin; Shanqing Zhang
err分享
err收藏
err分享
err收藏
How API Documentation Fails
err2015-07-01
err136
PREAI
errUddin, Gias; Robillard, Martin P.
err分享
err收藏
Relationship between insulin‐like growth factor‐1 receptor and human papillomavirus in patients with oropharyngeal cancer
err2014-06-27
err0
PREAI
errFumihiko Matsumoto; Mitsuhisa Fujimaki; Shinichi Ohba; Masataka Kojima; Junkichi Yokoyama; Katsuhisa Ikeda
err分享
err收藏
学者 查看更多内容