DocumentCode
176139
Title
On the Use of Stack Traces to Improve Text Retrieval-Based Bug Localization
Author
Moreno, L. ; Treadway, John Joseph ; Marcus, Andrian ; Wuwei Shen
Author_Institution
Dept. of Comput. Sci., Univ. of Texas at Dallas, Richardson, TX, USA
fYear
2014
fDate
Sept. 29 2014-Oct. 3 2014
Firstpage
151
Lastpage
160
Abstract
Many bug localization techniques rely on Text Retrieval (TR) models. The most successful approaches have been proven to be the ones combining TR techniques with static analysis, dynamic analysis, and/or software repositories information. Dynamic software analysis and software repositories mining bring a significant overhead, as they require instrumenting and executing the software, and analyzing large amounts of data, respectively. We propose a new static technique, named Lobster (Locating Bugs using Stack Traces and text Retrieval), which is meant to improve TR-based bug localization without the overhead associated with dynamic analysis and repository mining. Specifically, we use the stack traces submitted in a bug report to compute the similarity between their code elements and the source code of a software system. We combine the stack trace based similarity and the textual similarity provided by TR techniques to retrieve code elements relevant to bug reports. We empirically evaluated Lobster using 155 bug reports containing stack traces from 14 open source software systems. We used Lucene, an optimized version of VSM, as baseline of comparison. The results show that, in average, Lobster improves or maintains the effectiveness of Lucene-based bug localization in 82% of the cases.
Keywords
information retrieval; program debugging; text analysis; TR models; TR techniques; bug localization techniques; dynamic analysis; improve text retrieval; software analysis; software repositories information; software repositories mining; software system; source code; stack traces; static analysis; textual similarity; Conferences; Software maintenance; bug localization; stack traces; static analysis; text retrieval;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Evolution (ICSME), 2014 IEEE International Conference on
Conference_Location
Victoria, BC
ISSN
1063-6773
Type
conf
DOI
10.1109/ICSME.2014.37
Filename
6976081
Link To Document