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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Akim应助duckspy采纳,获得10
刚刚
那种完成签到,获得积分10
刚刚
liuyanq完成签到,获得积分20
刚刚
1秒前
普鲁卡因发布了新的文献求助10
2秒前
加油杨完成签到 ,获得积分10
3秒前
liuyanq发布了新的文献求助10
6秒前
随风完成签到,获得积分10
9秒前
量子星尘发布了新的文献求助10
11秒前
米九完成签到,获得积分10
13秒前
zhao完成签到,获得积分10
16秒前
普鲁卡因发布了新的文献求助10
16秒前
zj完成签到,获得积分10
22秒前
蓝橙完成签到,获得积分10
23秒前
27秒前
GD88完成签到,获得积分10
28秒前
糟糕的梨愁完成签到,获得积分10
29秒前
莫西莫西完成签到 ,获得积分10
30秒前
小趴蔡完成签到 ,获得积分10
32秒前
唐唐发布了新的文献求助10
32秒前
飘逸剑身完成签到,获得积分10
35秒前
airtermis完成签到 ,获得积分10
35秒前
gfasdjsjdsjd完成签到,获得积分10
36秒前
36秒前
杨宁完成签到 ,获得积分10
36秒前
MchemG应助transition采纳,获得20
37秒前
科研通AI2S应助科研通管家采纳,获得10
38秒前
lxy发布了新的文献求助10
40秒前
gfasdjsjdsjd发布了新的文献求助10
41秒前
JCao727完成签到,获得积分10
41秒前
41秒前
42秒前
OAHCIL完成签到 ,获得积分10
43秒前
lixueao发布了新的文献求助10
44秒前
无辜的行云完成签到 ,获得积分0
47秒前
FIN应助gfasdjsjdsjd采纳,获得20
49秒前
今后应助gfasdjsjdsjd采纳,获得10
49秒前
排骨炖豆角完成签到 ,获得积分10
51秒前
一叶知秋应助大橙子采纳,获得10
53秒前
高分求助中
【提示信息,请勿应助】关于scihub 10000
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] 3000
徐淮辽南地区新元古代叠层石及生物地层 3000
The Mother of All Tableaux: Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 3000
Handbook of Industrial Diamonds.Vol2 1100
Global Eyelash Assessment scale (GEA) 1000
Picture Books with Same-sex Parented Families: Unintentional Censorship 550
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4038128
求助须知:如何正确求助?哪些是违规求助? 3575831
关于积分的说明 11373827
捐赠科研通 3305610
什么是DOI,文献DOI怎么找? 1819255
邀请新用户注册赠送积分活动 892655
科研通“疑难数据库(出版商)”最低求助积分说明 815022