Bibliographic Details
| Title: |
Mining Effective Temporal Specifications from Heterogeneous API Data. |
| Authors: |
Wu, Qian1 wuqian08@sei.pku.edu.cn, Liang, Guang-Tai1 lianggt08@sei.pku.edu.cn, Wang, Qian-Xiang1 wqx@sei.pku.edu.cn, Mei, Hong1 meihg@sei.pku.edu.cn |
| Source: |
Journal of Computer Science & Technology (10009000). Nov2011, Vol. 26 Issue 6, p1061-1075. 15p. |
| Subjects: |
Computer programming software, Computer interfaces software, Source code, Data mining, Information resources |
| Abstract: |
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%. [ABSTRACT FROM AUTHOR] |
|
Copyright of Journal of Computer Science & Technology (10009000) is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |