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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刘CJ完成签到,获得积分10
1秒前
1秒前
liu123456完成签到,获得积分10
2秒前
qfyyyyyyy发布了新的文献求助10
3秒前
lxy发布了新的文献求助10
4秒前
桐桐应助酷酷的水杯采纳,获得10
6秒前
自由妙竹发布了新的文献求助10
6秒前
8秒前
潘三岁完成签到,获得积分20
9秒前
9秒前
希望天下0贩的0应助heroi采纳,获得10
10秒前
sb完成签到,获得积分10
11秒前
11秒前
科研通AI6应助无情的琳采纳,获得10
12秒前
CipherSage应助不知采纳,获得10
12秒前
wy完成签到,获得积分10
13秒前
13秒前
wanci应助自由妙竹采纳,获得10
14秒前
15秒前
16秒前
姜姜姜完成签到,获得积分10
16秒前
GM发布了新的文献求助10
16秒前
Criminology34应助科研通管家采纳,获得10
17秒前
科研通AI6应助科研通管家采纳,获得10
18秒前
pluto应助科研通管家采纳,获得10
18秒前
Criminology34应助科研通管家采纳,获得10
18秒前
科研通AI6应助科研通管家采纳,获得10
18秒前
科研通AI6应助科研通管家采纳,获得10
18秒前
18秒前
pluto应助科研通管家采纳,获得10
18秒前
18秒前
18秒前
18秒前
科研通AI6应助科研通管家采纳,获得10
18秒前
18秒前
18秒前
Criminology34应助科研通管家采纳,获得10
18秒前
科研通AI2S应助科研通管家采纳,获得10
18秒前
qigu发布了新的文献求助10
18秒前
完美世界应助科研通管家采纳,获得10
18秒前
高分求助中
2025-2031全球及中国金刚石触媒粉行业研究及十五五规划分析报告 40000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Ägyptische Geschichte der 21.–30. Dynastie 2500
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 2000
„Semitische Wissenschaften“? 1510
从k到英国情人 1500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5742315
求助须知:如何正确求助?哪些是违规求助? 5407721
关于积分的说明 15344704
捐赠科研通 4883721
什么是DOI,文献DOI怎么找? 2625220
邀请新用户注册赠送积分活动 1574084
关于科研通互助平台的介绍 1531060