Skip to main content
Contribution to Book
CONQUER: A Tool for NL-based Query Refinement & Contextualizing Code Search Results
Proceedings 2013 IEEE International Conference on Software Maintenance (2013)
  • Manuel Roldan-Vega, Montclair State University
  • Greg Mallet, Montclair State University
  • Emily Hill, Montclair State University
  • Jerry Alan Fails, Montclair State University
Abstract
Identifying relevant code to perform maintenance or reuse tasks is becoming increasingly difficult. Software systems continue to grow and evolve, and developers often find themselves searching within thousands to even millions of lines of code to identify code relevant to a particular maintenance task. Automated solutions are vital to help developers become more efficient at locating code to be modified when performing maintenance tasks. In order to address this need and help developers reduce the time spent finding and searching for relevant code, we have built an Eclipse-plugin, CONQUER, that helps developers identify relevant results by providing critical insight and context of how query words are used in the code. CONQUER leverages advanced natural language (NL) information in the source code to group, sort and display the results in a meaningful way. In addition, CONQUER analyzes the frequency and co-occurrence of words in the method result set to provide alternative phrases that can help further refine the query. This rich contextual hierarchy helps the developer quickly determine if the query is correct and hone in on relevant results. The NL-based organization of results reduces the number of relevance judgments the developers need to make, and thus can reduce the overall time for a maintenance task.
Keywords
  • feature location,
  • source code search,
  • software maintenance
Disciplines
Publication Date
2013
Publisher
IEEE
ISBN
9780768549811
DOI
10.1109/ICSM.2013.84
Citation Information
Manuel Roldan-Vega, Greg Mallet, Emily Hill and Jerry Alan Fails. "CONQUER: A Tool for NL-based Query Refinement & Contextualizing Code Search Results" PIscataway, NJProceedings 2013 IEEE International Conference on Software Maintenance (2013) p. 512 - 515
Available at: http://works.bepress.com/jerry-fails/39/