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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
NexusExplorer应助louis采纳,获得10
1秒前
zhuxd完成签到,获得积分10
2秒前
2秒前
105完成签到 ,获得积分10
2秒前
liu完成签到,获得积分10
2秒前
彭洪凯完成签到,获得积分10
3秒前
得鹿梦鱼完成签到,获得积分10
4秒前
闪闪的斑马完成签到,获得积分10
6秒前
张大星完成签到 ,获得积分10
6秒前
万能图书馆应助尘南浔采纳,获得10
6秒前
迷人的小土豆完成签到,获得积分10
6秒前
7秒前
啦啦啦啦啦完成签到 ,获得积分10
7秒前
虚幻的香彤完成签到,获得积分10
9秒前
Qing发布了新的文献求助10
10秒前
11秒前
聪慧的凝海完成签到 ,获得积分10
11秒前
一点完成签到,获得积分10
14秒前
14秒前
pp完成签到,获得积分10
14秒前
14秒前
15秒前
霸气南珍完成签到,获得积分10
15秒前
孤独衣完成签到,获得积分10
16秒前
尘南浔发布了新的文献求助10
16秒前
SciGPT应助mojie62采纳,获得10
17秒前
satchzhao完成签到,获得积分10
17秒前
稳重完成签到 ,获得积分10
18秒前
柠檬很酸发布了新的文献求助10
19秒前
屠夫9441完成签到 ,获得积分10
19秒前
liuuuuuu完成签到,获得积分10
19秒前
烟雨发布了新的文献求助10
19秒前
高高的天亦完成签到 ,获得积分10
20秒前
exquisite完成签到,获得积分10
20秒前
勤劳滑板完成签到 ,获得积分10
20秒前
merrylake完成签到 ,获得积分10
20秒前
安静的乐松完成签到,获得积分10
20秒前
小雯关注了科研通微信公众号
21秒前
单薄月饼完成签到,获得积分10
21秒前
晚灯君完成签到 ,获得积分10
21秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
Cognitive Neuroscience: The Biology of the Mind 1000
Technical Brochure TB 814: LPIT applications in HV gas insulated switchgear 1000
Immigrant Incorporation in East Asian Democracies 600
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
不知道标题是什么 500
A Preliminary Study on Correlation Between Independent Components of Facial Thermal Images and Subjective Assessment of Chronic Stress 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3968578
求助须知:如何正确求助?哪些是违规求助? 3513406
关于积分的说明 11167631
捐赠科研通 3248853
什么是DOI,文献DOI怎么找? 1794499
邀请新用户注册赠送积分活动 875150
科研通“疑难数据库(出版商)”最低求助积分说明 804671