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.

Read the paper · More papers on PaperTik