中国科学院软件研究所机构知识库
Advanced  
ISCAS OpenIR  > 互联网软件技术实验室  > 会议论文
题名:
inferring specifications for resources from natural language api documentation
作者: Zhong Hao ; Zhang Lu ; Xie Tao ; Mei Hong
会议文集: Automated Software Engineering
出版日期: 2011
关键词: Application programming interfaces (API) ; Defects ; Software engineering
出版地: Netherlands
收录类别: ei
ISSN: 9288910
部门归属: (1) Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing, China; (2) School of Electronics Engineering and Computer Science, Peking University, Beijing, China; (3) Key Laboratory of High Confidence Software Technologies, Peking University, Ministry of Education, Beijing, China; (4) Department of Computer Science, North Carolina State University, Raleigh, United States
英文摘要: Many software libraries, especially those commercial ones, provide API documentation in natural languages to describe correct API usages. However, developers may still write code that is inconsistent with API documentation, partially because many developers are reluctant to carefully read API documentation as shown by existing research. As these inconsistencies may indicate defects, researchers have proposed various detection approaches, and these approaches need many known specifications. As it is tedious to write specifications manually for all APIs, various approaches have been proposed to mine specifications automatically. In the literature, most existing mining approaches rely on analyzing client code, so these mining approaches would fail to mine specifications when client code is not sufficient. Instead of analyzing client code, we propose an approach, called Doc2Spec, that infers resource specifications from API documentation in natural languages. We evaluated our approach on the Javadocs of five libraries. The results show that our approach performs well on real scale libraries, and infers various specifications with relatively high precisions, recalls, and F-scores. We further used inferred specifications to detect defects in open source projects. The results show that specifications inferred by Doc2Spec are useful to detect real defects in existing projects. © Springer Science+Business Media, LLC 2011.
语种: 英语
Citation statistics:
内容类型: 会议论文
URI标识: http://ir.iscas.ac.cn/handle/311060/14275
Appears in Collections:互联网软件技术实验室 _会议论文

Files in This Item:
File Name/ File Size Content Type Version Access License
inferring specifications for resources from natural language api documentation.pdf(1842KB)----限制开放-- 联系获取全文

Recommended Citation:
Zhong Hao,Zhang Lu,Xie Tao,et al. inferring specifications for resources from natural language api documentation[C]. 见:.
Service
Recommend this item
Sava as my favorate item
Show this item's statistics
Export Endnote File
Google Scholar
Similar articles in Google Scholar
[Zhong Hao]'s Articles
[Zhang Lu]'s Articles
[Xie Tao]'s Articles
CSDL cross search
Similar articles in CSDL Cross Search
[Zhong Hao]‘s Articles
[Zhang Lu]‘s Articles
[Xie Tao]‘s Articles
Related Copyright Policies
Null
Social Bookmarking
Add to CiteULike Add to Connotea Add to Del.icio.us Add to Digg Add to Reddit
所有评论 (0)
暂无评论
 
评注功能仅针对注册用户开放,请您登录
您对该条目有什么异议,请填写以下表单,管理员会尽快联系您。
内 容:
Email:  *
单位:
验证码:   刷新
您在IR的使用过程中有什么好的想法或者建议可以反馈给我们。
标 题:
 *
内 容:
Email:  *
验证码:   刷新

Items in IR are protected by copyright, with all rights reserved, unless otherwise indicated.

 

 

Valid XHTML 1.0!
Copyright © 2007-2017  中国科学院软件研究所 - Feedback
Powered by CSpace