Generating concept based API element comparison using a knowledge graph

计算机科学 文档 图形 知识图 应用程序编程接口 情报检索 程序设计语言 理论计算机科学
作者
Yang Liu,Mingwei Liu,Xin Peng,Christoph Treude,Zhenchang Xing,Xiaoxin Zhang
标识
DOI:10.1145/3324884.3416628
摘要

Developers are concerned with the comparison of similar APIs in terms of their commonalities and (often subtle) differences. Our empirical study of Stack Overflow questions and API documentation confirms that API comparison questions are common and can often be answered by knowledge contained in API reference documentation. Our study also identifies eight types of API statements that are useful for API comparison. Based on these findings, we propose a knowledge graph based approach APIComp that automatically extracts API knowledge from API reference documentation to support the comparison of a pair of API classes or methods from different aspects. Our approach includes an offline phase for constructing an API knowledge graph, and an online phase for generating an API comparison result for a given pair of API elements. Our evaluation shows that the quality of different kinds of extracted knowledge in the API knowledge graph is generally high. Furthermore, the comparison results generated by APIComp are significantly better than those generated by a baseline approach based on heuristic rules and text similarity, and our generated API comparison results are useful for helping developers in API selection tasks.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
建议保存本图,每天支付宝扫一扫(相册选取)领红包
实时播报
刚刚
调皮秋凌发布了新的文献求助10
1秒前
Alex发布了新的文献求助10
1秒前
Rookie完成签到,获得积分10
1秒前
亮亮来咯发布了新的文献求助10
1秒前
深情安青应助小白采纳,获得10
1秒前
xl完成签到,获得积分10
1秒前
2秒前
brave heart完成签到,获得积分10
2秒前
浮游应助留胡子的香寒采纳,获得10
2秒前
星星完成签到,获得积分10
3秒前
Dunley完成签到,获得积分20
3秒前
renin发布了新的文献求助10
4秒前
cp关闭了cp文献求助
4秒前
5秒前
bkagyin应助zy采纳,获得10
6秒前
6秒前
young完成签到,获得积分10
7秒前
7秒前
SCI发发发布了新的文献求助10
7秒前
从光远完成签到 ,获得积分10
7秒前
8秒前
安静的初翠完成签到,获得积分10
8秒前
满意曼荷应助加菲丰丰采纳,获得10
8秒前
可爱的函函应助标致语蝶采纳,获得10
9秒前
星月完成签到,获得积分10
9秒前
酷波er应助HHH采纳,获得10
10秒前
ghost完成签到,获得积分10
10秒前
11秒前
czt完成签到,获得积分10
11秒前
30333发布了新的文献求助10
13秒前
浮游应助留胡子的香寒采纳,获得10
13秒前
14秒前
华仔应助fred采纳,获得30
14秒前
15秒前
啦啦啦啦啦完成签到,获得积分10
15秒前
16秒前
16秒前
16秒前
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1041
Mentoring for Wellbeing in Schools 600
Binary Alloy Phase Diagrams, 2nd Edition 600
Atlas of Liver Pathology: A Pattern-Based Approach 500
A Technologist’s Guide to Performing Sleep Studies 500
EEG in Childhood Epilepsy: Initial Presentation & Long-Term Follow-Up 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5491562
求助须知:如何正确求助?哪些是违规求助? 4590068
关于积分的说明 14428695
捐赠科研通 4522306
什么是DOI,文献DOI怎么找? 2477856
邀请新用户注册赠送积分活动 1462948
关于科研通互助平台的介绍 1435627