Parameter-free Probabilistic API Mining Across GitHub
Title | Parameter-free Probabilistic API Mining Across GitHub |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Fowkes, Jaroslav, Sutton, Charles |
Conference Name | Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering |
Date Published | November 2016 |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4218-6 |
Keywords | API, API mining, APIs, applications programming interfaces, compositionality, pubcrawl, Resiliency, sequential pattern mining |
Abstract | Existing API mining algorithms can be difficult to use as they require expensive parameter tuning and the returned set of API calls can be large, highly redundant and difficult to understand. To address this, we present PAM (Probabilistic API Miner), a near parameter-free probabilistic algorithm for mining the most interesting API call patterns. We show that PAM significantly outperforms both MAPO and UPMiner, achieving 69% test-set precision, at retrieving relevant API call sequences from GitHub. Moreover, we focus on libraries for which the developers have explicitly provided code examples, yielding over 300,000 LOC of hand-written API example code from the 967 client projects in the data set. This evaluation suggests that the hand-written examples actually have limited coverage of real API usages. |
URL | https://dl.acm.org/doi/10.1145/2950290.2950319 |
DOI | 10.1145/2950290.2950319 |
Citation Key | fowkes_parameter-free_2016 |