作者
Jue Wang, Yingnong Dang, Hongyu Zhang, Kai Chen, Tao Xie, Dongmei Zhang
发表日期
2013/5/18
研讨会论文
Proceedings of the Tenth International Workshop on Mining Software Repositories
页码范围
319-328
出版商
IEEE Press
简介
During software development, a developer often needs to discover specific usage patterns of Application Programming Interface (API) methods. However, these usage patterns are often not well documented. To help developers to get such usage patterns, there are approaches proposed to mine client code of the API methods. However, they lack metrics to measure the quality of the mined usage patterns, and the API usage patterns mined by the existing approaches tend to be many and redundant, posing significant barriers for being practical adoption. To address these issues, in this paper, we propose two quality metrics (succinctness and coverage) for mined usage patterns, and further propose a novel approach called Usage Pattern Miner (UP-Miner) that mines succinct and high-coverage usage patterns of API methods from source code. We have evaluated our approach on a large-scale Microsoft codebase …
引用总数
2014201520162017201820192020202120222023202491721263128173016297
学术搜索中的文章
J Wang, Y Dang, H Zhang, K Chen, T Xie, D Zhang - 2013 10th Working Conference on Mining Software …, 2013