DeepDir: a deep learning approach for API directive detection

被引:0
作者
Jingxuan Zhang
He Jiang
Shuai Lu
Ge Li
Xin Chen
机构
[1] Nanjing University of Aeronautics and Astronautics,College of Computer Science and Technology
[2] Nanjing University,State Key Laboratory for Novel Software Technology
[3] Ministry of Education,Key Laboratory of Complex Systems Modeling and Simulation
[4] Dalian University of Technology,School of Software
[5] Peking University,School of Electronic Engineering and Computer Science
[6] Hangzhou Dianzi University,School of Computer Science and Technology
来源
Science China Information Sciences | 2021年 / 64卷
关键词
D O I
暂无
中图分类号
学科分类号
摘要
API directive is one of the most important knowledge in API specifications. Existing approach only relies on syntactic patterns to detect API directives and lacks a deep semantic understanding. In this study, we propose a deep learning approach DeepDir to automatically detect API directives. Experimental results show that DeepDir significantly improves the state-of-the-art approach by 20.78% on average in terms of F-measure.
引用
收藏
相关论文
共 13 条
[1]  
Maalej W(2013)Patterns of knowledge in API reference documentation IIEEE Trans Softw Eng 39 1264-1282
[2]  
Robillard M P(2015)Recommending reference API documentation Empir Softw Eng 20 1558-1586
[3]  
Robillard M P(2012)What should developers be aware of? An empirical study on the directives of API documentation Empir Softw Eng 17 703-737
[4]  
Chhetri Y B(2019)Automatic test report augmentation to assist crowdsourced testing Front Comput Sci 13 943-959
[5]  
Monperrus M(2020)Bridging semantic gaps between natural languages and APIs with word embedding IEEE Trans Softw Eng 46 1081-1097
[6]  
Eichberg M(undefined)undefined undefined undefined undefined-undefined
[7]  
Tekes E(undefined)undefined undefined undefined undefined-undefined
[8]  
Chen X(undefined)undefined undefined undefined undefined-undefined
[9]  
Jiang H(undefined)undefined undefined undefined undefined-undefined
[10]  
Chen Z Y(undefined)undefined undefined undefined undefined-undefined