ExPort: Detecting and visualizing API usages in large source code repositories
Evan Moritz, Mario Linares‐Vásquez, Denys Poshyvanyk et al. · IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2013
This paper presents a technique for automatically mining and visualizing API usage examples. In contrast to previous approaches, our technique is capable of finding examples of API usage that occur across several functions in a program. This distinction is important because of a gap between what current API learning tools provide and what programmers need: current tools extract relatively small examples from single files/functions, even though programmers use APIs to build large software. The small examples are helpful in the initial stages of API learning, but leave out details that are helpful in later stages. Our technique is intended to fill this gap. It works by representing software as a Relational Topic Model, where API calls and the functions that use them are modeled as a document network. Given a starting API, our approach can recommend complex API usage examples mined from a repository of over 14 million Java methods.
Cited by 67 works. doi:10.1109/ase.2013.6693127
Authors
References
- Six Learning Barriers in End-User Programming Systems
- Parseweb
- Relational Topic Models for Document Networks
- MAPO: Mining and Recommending API Usage Patterns
- Status report: software reusability
- Sourcerer
- What Makes APIs Hard to Learn? Answers from Developers
- A field study of API learning obstacles
- MAPO
- Mica: A Web-Search Tool for Finding API Components and Examples