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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ABC发布了新的文献求助10
刚刚
刚刚
所所应助curry采纳,获得10
1秒前
哈哈的哈哈完成签到,获得积分10
1秒前
王逸发布了新的文献求助10
1秒前
hh完成签到 ,获得积分10
1秒前
1秒前
1秒前
crethy完成签到,获得积分10
2秒前
keke完成签到,获得积分10
2秒前
2秒前
Ludi完成签到,获得积分10
3秒前
LJ完成签到,获得积分10
4秒前
MYJ完成签到,获得积分10
4秒前
yanhebeilu发布了新的文献求助10
5秒前
5秒前
澜生发布了新的文献求助10
5秒前
mr_beard发布了新的文献求助10
5秒前
书雪发布了新的文献求助10
6秒前
6秒前
7秒前
7秒前
流星雨完成签到,获得积分10
8秒前
Noneone110发布了新的文献求助10
8秒前
研究生end发布了新的文献求助50
8秒前
笑傲江湖发布了新的文献求助10
9秒前
小杭76应助含蓄战斗机采纳,获得10
10秒前
10秒前
10秒前
Orange应助阿景采纳,获得10
10秒前
欢呼的蝉完成签到,获得积分20
10秒前
Nomiy完成签到,获得积分10
10秒前
慕慕倾完成签到,获得积分10
11秒前
熊健钧发布了新的文献求助10
11秒前
科研通AI6应助吴垚采纳,获得100
12秒前
gyh完成签到,获得积分10
13秒前
Lee发布了新的文献求助10
13秒前
靳梓诺发布了新的文献求助10
13秒前
852应助张桂钊采纳,获得10
14秒前
ligq发布了新的文献求助10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Bandwidth Choice for Bias Estimators in Dynamic Nonlinear Panel Models 2000
HIGH DYNAMIC RANGE CMOS IMAGE SENSORS FOR LOW LIGHT APPLICATIONS 1500
茶艺师试题库(初级、中级、高级、技师、高级技师) 1000
Constitutional and Administrative Law 1000
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.). Frederic G. Reamer 800
Vertebrate Palaeontology, 5th Edition 560
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5361067
求助须知:如何正确求助?哪些是违规求助? 4491419
关于积分的说明 13982650
捐赠科研通 4394163
什么是DOI,文献DOI怎么找? 2413798
邀请新用户注册赠送积分活动 1406633
关于科研通互助平台的介绍 1381168