On the Use of Stack Traces to Improve Text Retrieval-Based Bug Localization
Authors:
- Laura MorenoLMLaura Moreno
- John Joseph TreadwayJTJohn Joseph Treadway
- Andrian MarcusAMAndrian Marcus
- Wuwei ShenWSWuwei Shen
- 1 September 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636773,p. 151-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
This publication has 23 references indexed in Scilit:
- On the Relationship between the Vocabulary of Bug Reports and Source Code2013
- Improving bug localization using correlations in crash reports2013
- Concept location using program dependencies and information retrieval (DepIR)Information and Software Technology, 2013
- Text Retrieval Approaches for Concept Location in Source Code2013
- Integrating information retrieval, execution and link analysis algorithms to improve feature location in softwareEmpirical Software Engineering, 2012
- Feature location in source code: a taxonomy and surveyJournal of Software: Evolution and Process, 2011
- Investigating how to effectively combine static concern location techniques2011
- Feature location via information retrieval based filtering of a single scenario execution trace2007
- Feature Location Using Probabilistic Ranking of Methods Based on Execution Scenarios and Information RetrievalIEEE Transactions on Software Engineering, 2007
- SNIAFLACM Transactions on Software Engineering and Methodology, 2006