ExPort: Detecting and visualizing API usages in large source code repositories
- 1 November 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 646-651
Abstract
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.Keywords
This publication has 16 references indexed in Scilit:
- Temporal analysis of API usage concepts2012
- Portfolio2011
- Portfolio2011
- A field study of API learning obstaclesEmpirical Software Engineering, 2010
- What Makes APIs Hard to Learn? Answers from DevelopersIEEE Software, 2009
- Parseweb2007
- Mica: A Web-Search Tool for Finding API Components and Examples2006
- NavTracks: supporting navigation in software maintenance2005
- Automatically inferring concern code from program investigation activities2004
- Status report: software reusabilityIEEE Software, 1993