Title :
Improving source code search with natural language phrasal representations of method signatures
Author :
Hill, Emily ; Pollock, Lori ; Vijay-Shanker, K.
Author_Institution :
Deptartment of Comput. Sci., Montclair State Univ., Montclair, NJ, USA
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.
Keywords :
natural languages; query processing; software maintenance; software tools; source coding; maintenance tasks; method signatures; natural language phrasal representations; query word; search techniques; software search tools; source code search improvement; Equations; Head; Information retrieval; Mathematical model; Natural languages; Semantics; Software; code search; concern location; software maintenance;
Conference_Titel :
Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
Conference_Location :
Lawrence, KS
Print_ISBN :
978-1-4577-1638-6
DOI :
10.1109/ASE.2011.6100115