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秒前
1秒前
有琪迹关注了科研通微信公众号
1秒前
1秒前
1秒前
2秒前
lyra完成签到,获得积分10
2秒前
小二郎应助张钰采纳,获得10
2秒前
chuqiao_sun发布了新的文献求助10
3秒前
weiteman完成签到,获得积分10
3秒前
斑鸠发布了新的文献求助10
3秒前
4秒前
科目三应助zxx5313491采纳,获得10
4秒前
5秒前
生动成危发布了新的文献求助10
5秒前
5秒前
6秒前
撩寮完成签到 ,获得积分10
6秒前
6秒前
朱姝发布了新的文献求助10
6秒前
顺利的慕儿完成签到 ,获得积分10
7秒前
睡个好觉完成签到,获得积分10
7秒前
宋宇骐发布了新的文献求助10
7秒前
高g完成签到,获得积分10
8秒前
小二郎应助工大搬砖战神采纳,获得10
8秒前
顾矜应助不如喂鱼去采纳,获得10
8秒前
MESSI完成签到,获得积分10
8秒前
情怀应助wuxunxun2015采纳,获得10
9秒前
超帅的豪英完成签到,获得积分10
9秒前
浮游应助陈欣瑶采纳,获得10
9秒前
吱吱吱发布了新的文献求助10
10秒前
10秒前
浮游应助song采纳,获得10
10秒前
changping应助王怜花采纳,获得10
10秒前
11秒前
张怡博发布了新的文献求助10
11秒前
wu完成签到,获得积分20
11秒前
11秒前
桐桐应助妙奇采纳,获得10
11秒前
高分求助中
Incubation and Hatchery Performance, The Devil is in the Details 2000
Pipeline and riser loss of containment 2001 - 2020 (PARLOC 2020) 1000
Comparing natural with chemical additive production 500
The Leucovorin Guide for Parents: Understanding Autism’s Folate 500
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 500
A Manual for the Identification of Plant Seeds and Fruits : Second revised edition 500
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.) 400
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 5204858
求助须知:如何正确求助?哪些是违规求助? 4383758
关于积分的说明 13650861
捐赠科研通 4241754
什么是DOI,文献DOI怎么找? 2327024
邀请新用户注册赠送积分活动 1324769
关于科研通互助平台的介绍 1276983