Improving Bug Localization using Correlations in Crash Reports

被引:0
作者
Wang, Shaohua [1 ]
Khomh, Foutse [2 ]
Zou, Ying [3 ]
机构
[1] Queens Univ, Sch Comp, Kingston, ON, Canada
[2] Polytech Montreal, SWAT Lab, DGIGL, Montreal, PQ, Canada
[3] Queens Univ, Elect & Comp Engn, Kingston, ON, Canada
来源
2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR) | 2013年
关键词
Bug Localization; Bug Correlation; Crashes; Crash Reports; Stack Traces; Automatic Problem Reporting Tools;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Nowadays, many software organizations rely on automatic problem reporting tools to collect crash reports directly from users' environments. These crash reports are later grouped together into crash types. Usually, developers prioritize crash types based on the number of crash reports and file bugs for the top crash types. Because a bug can trigger a crash in different usage scenarios, different crash types are sometimes related to a same bug. Two bugs are correlated when the occurrence of one bug causes the other bug to occur. We refer to a group of crash types related to identical or correlated bugs, as a crash correlation group. In this paper, we propose three rules to identify correlated crash types automatically. We also propose an algorithm to locate and rank buggy files using crash correlation groups. Through an empirical study on Firefox and Eclipse, we show that the three rules can identify crash correlation groups with a precision of 100% and a recall of 90% for Firefox and a precision of 79% and a recall of 65% for Eclipse. On the top three buggy file candidates, the proposed bug localization algorithm achieves a recall of 62% and a precision of 42% for Firefox and a recall of 52% and a precision of 50% for Eclipse. On the top 10 buggy file candidates, the recall increases to 92% for Firefox and 90% for Eclipse. Developers can combine the proposed crash correlation rules with the new bug localization algorithm to identify and fix correlated crash types all together.
引用
收藏
页码:247 / 256
页数:10
相关论文
共 23 条
  • [1] [Anonymous], 1994, MACHINE LEARNING NEU
  • [2] From symptom to cause: Localizing errors in counterexample traces
    Ball, T
    Naik, M
    Rajamani, SK
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (01) : 97 - 105
  • [3] Betttenburg N, 2008, P INT WORK C MIN SOF
  • [4] Brodie M, 2005, J NETWORK SYSTEM MAN, V13
  • [5] Chan B, 2009, INT S SOFTW REL ENG
  • [6] Dhaliwal T., 2011, 2011 IEEE 27th International Conference on Software Maintenance, P333, DOI 10.1109/ICSM.2011.6080800
  • [7] Jones J. A., 2005, ASE, P273
  • [8] Jones JA, 2002, ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P467, DOI 10.1109/ICSE.2002.1007991
  • [9] Khomh F., 2011, 2011 18th Working Conference on Reverse Engineering, P261, DOI 10.1109/WCRE.2011.39
  • [10] Which Crashes Should I Fix First?: Predicting Top Crashes at an Early Stage to Prioritize Debugging Efforts
    Kim, Dongsun
    Wang, Xinming
    Kim, Sunghun
    Zeller, Andreas
    Cheung, S. C.
    Park, Sooyong
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (03) : 430 - 447