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 条
  • [21] On the classification of bug reports to improve bug localization
    Fang, Fan
    Wu, John
    Li, Yanyan
    Ye, Xin
    Aljedaani, Wajdi
    Mkaouer, Mohamed Wiem
    SOFT COMPUTING, 2021, 25 (11) : 7307 - 7323
  • [22] THE CRASH - A REPORT ON THE REPORTS
    EDWARDS, FR
    CHALLENGE OF INFORMATION TECHNOLOGY FOR THE SECURITIES MARKETS: LIQUIDITY, VOLATILITY, AND GLOBAL TRADING, 1989, : 86 - 111
  • [23] 'Reports of a Crash in Dublin'
    Bolger, D
    LITERARY REVIEW, 1997, 40 (04) : 566 - 574
  • [24] JCHARMING: A Bug Reproduction Approach using Crash Traces and Directed Model Checking
    Nayrolles, Mathieu
    Hamou-Lhadj, Abdelwahab
    Tahar, Sofiene
    Larsson, Alf
    2015 22ND INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2015, : 101 - 110
  • [25] Improving Bug Localization using Structured Information Retrieval
    Saha, Ripon K.
    Lease, Matthew
    Khurshid, Sarfraz
    Perry, Dewayne E.
    2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 345 - 355
  • [26] Bug Reports Retrieval Using Self-Organizing Map
    do Rego, Renata L. M. E.
    Ribeiro, Marcio
    Aleixo, Emanuella
    de Souza, Renata M. C. R.
    2008 THIRD INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT, VOLS 1 AND 2, 2008, : 327 - 332
  • [27] An Analysis of Software Bug Reports Using Machine Learning Techniques
    Tran H.M.
    Le S.T.
    Nguyen S.V.
    Ho P.T.
    SN Computer Science, 2020, 1 (1)
  • [28] Severity Prediction of Bug Reports Using Weighted Implicit Tags
    Yang, Cheng-Zen
    Kao, Wei-Chen
    Lee, Chao-Yuan
    JOURNAL OF INTERNET TECHNOLOGY, 2016, 17 (03): : 571 - 579
  • [29] Using Document Embedding Techniques for Similar Bug Reports Recommendation
    Chen, Ming
    Hu, Dongyang
    Wang, Tao
    Long, Jun
    Yin, Gang
    Yu, Yue
    Zhang, Yang
    PROCEEDINGS OF 2018 IEEE 9TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2018, : 811 - 814
  • [30] Towards the identification of bug entities and relations in bug reports
    Li, Bin
    Wei, Ying
    Sun, Xiaobing
    Bo, Lili
    Chen, Dingshan
    Tao, Chuanqi
    AUTOMATED SOFTWARE ENGINEERING, 2022, 29 (01)