作者
Rahul Pandita, Xusheng Xiao, Hao Zhong, Tao Xie, Stephen Oney, Amit Paradkar
发表日期
2012/6/2
研讨会论文
2012 34th international conference on software engineering (ICSE)
页码范围
815-825
出版商
IEEE
简介
Application Programming Interface (API) documents are a typical way of describing legal usage of reusable software libraries, thus facilitating software reuse. However, even with such documents, developers often overlook some documents and build software systems that are inconsistent with the legal usage of those libraries. Existing software verification tools require formal specifications (such as code contracts), and therefore cannot directly verify the legal usage described in natural language text in API documents against code using that library. However, in practice, most libraries do not come with formal specifications, thus hindering tool-based verification. To address this issue, we propose a novel approach to infer formal specifications from natural language text of API documents. Our evaluation results show that our approach achieves an average of 92% precision and 93% recall in identifying sentences that …
引用总数
2011201220132014201520162017201820192020202120222023202413171421271820122423192414
学术搜索中的文章
R Pandita, X Xiao, H Zhong, T Xie, S Oney, A Paradkar - 2012 34th international conference on software …, 2012