期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Mining Effective Temporal Specifications from Heterogeneous API Data
1
作者 吴倩 梁广泰 +1 位作者 王千祥 梅宏 《Journal of Computer Science & Technology》 SCIE EI CSCD 2011年第6期1061-1075,共15页
Temporal specifications for Application Programming Interfaces (APIs) serve as an important basis for many defect detection tools. As these specifications are often not well documented, various approaches have been ... Temporal specifications for Application Programming Interfaces (APIs) serve as an important basis for many defect detection tools. As these specifications are often not well documented, various approaches have been proposed to automatically mine specifications typically from API library source code or from API client programs. However, the library-based approaches take substantial computational resources and produce rather limited useful specifications, while the client-based approaches suffer from high false positive rates. To address the issues of existing approaches, we propose a novel specification mining approach, called MineHEAD, which exploits heterogeneous API data, including information from API client programs as well as API library source code and comments, to produce effective specifications for defect detection with low cost. In particular, MineHEAD first applies client-based specification mining to produce a collection of candidate specifications, and then exploits the related library source code and comments to identify and refine the real specifications from the candidates. Our evaluation results on nine open source projects show that MineHEAD produces effective specifications with average precision of 97.2%. 展开更多
关键词 specification mining specification refinement defect detection comment analysis
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部