Recommending source code examples via API call usages and documentation

  • Authors:
  • Collin McMillan;Denys Poshyvanyk;Mark Grechanik

  • Affiliations:
  • College of William & Mary, Williamsburg, VA;College of William & Mary, Williamsburg, VA;University of Illinois, Chicago, Chicago, IL

  • Venue:
  • Proceedings of the 2nd International Workshop on Recommendation Systems for Software Engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.