Improving source code search with natural language phrasal representations of method signatures

  • Authors:
  • Emily Hill;Lori Pollock;K. Vijay-Shanker

  • Affiliations:
  • Deptartment of Computer Science, Montclair State University, NJ 07043, USA;Deptartment of Computer and Information Sciences, University of Delaware, Newark, 19716, USA;Deptartment of Computer and Information Sciences, University of Delaware, Newark, 19716, USA

  • Venue:
  • ASE '11 Proceedings of the 2011 26th IEEE/ACM International Conference on Automated Software Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

As software continues to grow, locating code for maintenance tasks becomes increasingly difficult. Software search tools help developers find source code relevant to their maintenance tasks. One major challenge to successful search tools is locating relevant code when the user's query contains words with multiple meanings or words that occur frequently throughout the program. Traditional search techniques, which treat each word individually, are unable to distinguish relevant and irrelevant methods under these conditions. In this paper, we present a novel search technique that uses information such as the position of the query word and its semantic role to calculate relevance. Our evaluation shows that this approach is more consistently effective than three other state of the art search techniques.