Recommending source code examples via API call usages and documentation
Collin McMillan, Denys Poshyvanyk, Mark Grechanik · 2010
Online source code repositories contain software projects that already implement certain requirements that developers must fulfill. Programmers can reuse code from these existing projects if they can find relevant code without significant effort. We propose a new method to recommend source code examples to developers by querying against Application Programming Interface (API) calls and their documentations that are fused with structural information about the code. We conducted an empirical evaluation that suggests that our approach is lightweight and accurate.
Cited by 63 works. doi:10.1145/1808920.1808925
Authors
References
- Indexing by latent semantic analysis
- A solution to Plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge.
- An information retrieval approach for automatically constructing software libraries
- Parseweb
- An information retrieval approach to concept location in source code
- Semantic clustering: Identifying topics in source code
- Supporting reuse by delivering task-relevant and personalized information
- Feature Location Using Probabilistic Ranking of Methods Based on Execution Scenarios and Information Retrieval
- Identification of high-level concept clones in source code
- Supporting Program Comprehension Using Semantic and Structural Information