Title :
Automatically capturing source code context of NL-queries for software maintenance and reuse
Author :
Hill, Emily ; Pollock, Lori ; Vijay-Shanker, K.
Author_Institution :
Dept. of Comput. & Inf. Sci., Univ. of Delaware, Newark, DE
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 :
natural language processing; query formulation; software maintenance; software reusability; NL-query reformulation; automatic capturing source code context; contextual search approach; natural language phrase extraction; software maintenance; software reusability; Automation; Costs; Frequency; Humans; Natural languages; Search engines; Search methods; Software maintenance; Software systems; Vocabulary;
Conference_Titel :
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location :
Vancouver, BC
Print_ISBN :
978-1-4244-3453-4
DOI :
10.1109/ICSE.2009.5070524