Improving bug management using correlations in crash reports

被引:0
|
作者
Shaohua Wang
Foutse Khomh
Ying Zou
机构
[1] Queen’s University,School of Computing
[2] SWAT Lab,Electrical and Computer Engineering
[3] DGIGL,undefined
[4] Polytechnique Montréal,undefined
[5] Queen’s University,undefined
来源
关键词
Crashes; Crash reports; Stack traces; Bug localization; Bug duplication;
D O I
暂无
中图分类号
学科分类号
摘要
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 bug reports for the top crash types. Because a bug can trigger a crash in different usage scenarios, different crash types are sometimes related to the 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 bug reports, as a crash correlation group. In this paper, we propose five rules to identify correlated crash types automatically. We propose an algorithm to locate and rank buggy files using crash correlation groups. We also propose a method to identify duplicate and related bug reports. Through an empirical study on Firefox and Eclipse, we show that the first three rules can identify crash correlation groups using stack trace information, with a precision of 91 % and a recall of 87 % for Firefox and a precision of 76 % and a recall of 61 % 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. The proposed duplicate bug report identification method achieves a recall of 50 % and a precision of 55 % on Firefox, and a recall of 47 % and a precision of 35 % on Eclipse. Developers can combine the proposed crash correlation rules with the new bug localization algorithm to identify and fix correlated crash types all together. Triagers can use the duplicate bug report identification method to reduce their workload by filtering duplicate bug reports automatically.
引用
收藏
页码:337 / 367
页数:30
相关论文
共 50 条
  • [31] Towards the identification of bug entities and relations in bug reports
    Bin Li
    Ying Wei
    Xiaobing Sun
    Lili Bo
    Dingshan Chen
    Chuanqi Tao
    Automated Software Engineering, 2022, 29
  • [32] Improving Bug Triage with Bug Tossing Graphs
    Jeong, Gaeul
    Kim, Sunghun
    Zimmerman, Thomas
    7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2009, : 111 - 120
  • [33] Improving Thermodynamic Bounds Using Correlations
    Dechant, Andreas
    Sasa, Shin-ichi
    PHYSICAL REVIEW X, 2021, 11 (04):
  • [34] Improving Intelligence Metrics using Frequency Domain Convolutions for Improving Bug Prediction
    Mishra, Anurag
    Sharma, Ashish
    RECENT ADVANCES IN ELECTRICAL & ELECTRONIC ENGINEERING, 2023, 16 (08) : 825 - 835
  • [35] Secondary Crash Identification using Crowdsourced Waze User Reports
    Zhang, Zhihua
    Liu, Yuandong
    Han, Lee D.
    Freeze, Phillip Bradley
    TRANSPORTATION RESEARCH RECORD, 2021, 2675 (10) : 853 - 862
  • [36] Identifying misclassified bug reports
    Hu, Suo
    Zou, Zhou
    PROCEEDINGS OF THE 2017 2ND INTERNATIONAL CONFERENCE ON MATERIALS SCIENCE, MACHINERY AND ENERGY ENGINEERING (MSMEE 2017), 2017, 123 : 1514 - 1520
  • [37] Automatic Summarization of Bug Reports
    Rastkar, Sarah
    Murphy, Gail C.
    Murray, Gabriel
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2014, 40 (04) : 366 - 380
  • [38] Bug Localization Based on Code Change Histories and Bug Reports
    Youm, Klaus Changsun
    Ahn, June
    Kim, Jeongho
    Lee, Eunseok
    2015 22ND ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2015), 2015, : 190 - 197
  • [39] Guiding Bug Triage through Developer Analysis in Bug Reports
    Zhang, Tao
    Yang, Geunseok
    Lee, Byungjeong
    Chan, Alvin T. S.
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2016, 26 (03) : 405 - 431
  • [40] On the Value of Bug Reports for Retrieval-based Bug Localization
    Lawrie, Dawn
    Binkley, Dave
    PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 524 - 528