On the Use of Stack Traces to Improve Text Retrieval-based Bug Localization

被引:75
作者
Moreno, Laura [1 ]
Treadway, John Joseph
Marcus, Andrian
Shen, Wuwei
机构
[1] Univ Texas Dallas, Dept Comp Sci, Richardson, TX 75083 USA
来源
2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) | 2014年
关键词
bug localization; stack traces; static analysis; text retrieval; INFORMATION-RETRIEVAL; FEATURE LOCATION; EXECUTION;
D O I
10.1109/ICSME.2014.37
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:151 / 160
页数:10
相关论文
共 30 条
  • [21] Feature location using probabilistic ranking of methods based on execution scenarios and information retrieval
    Poshyvanyk, Denys
    Gueheneuc, Yann-Gael
    Marcus, Andrian
    Antoniol, Giuliano
    Rajlich, Vaclav
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (06) : 420 - 432
  • [22] The role of concepts in program comprehension
    Rajlich, V
    Wilde, N
    [J]. 10TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2002, : 271 - 278
  • [23] Saha RK, 2013, IEEE INT CONF AUTOM, P345, DOI 10.1109/ASE.2013.6693093
  • [24] Salton G., 1983, INTRO MODERN INFORM
  • [25] Clustering Support for Static Concept Location in Source Code
    Scanniello, Giuseppe
    Marcus, Andrian
    [J]. 2011 IEEE 19TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2011, : 1 - 10
  • [26] Schroter Adrian, 2010, Proceedings of the 2010 7th IEEE Working Conference on Mining Software Repositories (MSR 2010), P118, DOI 10.1109/MSR.2010.5463280
  • [27] SHAO P, 2009, P 47 ACM ANN SE REG
  • [28] Wang SH, 2013, IEEE WORK CONF MIN S, P247, DOI 10.1109/MSR.2013.6624036
  • [29] SNIAFL: Towards a static noninteractive approach to feature location
    Zhao, Wei
    Zhang, Lu
    Liu, Yin
    Sun, Jiasu
    Yang, Fuqing
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2006, 15 (02) : 195 - 226
  • [30] Zhou J, 2012, PROC INT CONF SOFTW, P14, DOI 10.1109/ICSE.2012.6227210