Automatically capturing source code context of NL-queries for software maintenance and reuse
Authors:
- 1 January 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02705257,p. 232-242
Abstract
As software systems continue to grow and evolve, locating code for maintenance and reuse tasks becomes increasingly difficult. Existing static code search techniques using natural language queries provide little support to help developers determine whether search results are relevant, and few recommend alternative words to help developers reformulate poor queries. In this paper, we present a novel approach that automatically extracts natural language phrases from source code identifiers and categorizes the phrases and search results in a hierarchy. Our contextual search approach allows developers to explore the word usage in a piece of software, helping them to quickly identify relevant program elements for investigation or to quickly recognize alternative words for query reformulation. An empirical evaluation of 22 developers reveals that our contextual search approach significantly outperforms the most closely related technique in terms of effort and effectiveness.Keywords
This publication has 29 references indexed in Scilit:
- Identifying Word Relations in Software: A Comparative Study of Semantic Similarity Tools2008
- Exploring the neighborhood with dora to expedite software maintenance2007
- Extracting Meaning from Abbreviated Identifiers2007
- Thin slicing2007
- Using natural language program analysis to locate and understand action-oriented concerns2007
- Towards supporting on-demand virtual remodularization using program graphs2006
- Automatic generation of domain representations using thesaurus structuresJournal of the American Society for Information Science and Technology, 2004
- Navigating and querying code without getting lost2003
- Signature matchingACM Transactions on Software Engineering and Methodology, 1995
- Using iterative refinement to find reusable softwareIEEE Software, 1994