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 条
  • [1] Improving bug management using correlations in crash reports
    Wang, Shaohua
    Khomh, Foutse
    Zou, Ying
    EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (02) : 337 - 367
  • [2] Improving Bug Localization using Correlations in Crash Reports
    Wang, Shaohua
    Khomh, Foutse
    Zou, Ying
    2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 247 - 256
  • [3] Improving Bug Localization by Mining Crash Reports: An Industrial Study
    Medeiros, Marcos
    Kulesza, Uira
    Bonifacio, Rodrigo
    Adachi, Eiji
    Coelho, Roberta
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 766 - 775
  • [4] Improving Severity Prediction on Software Bug Reports using Quality Indicators
    Yang, Cheng-Zen
    Chen, Kun-Yu
    Kao, Wei-Chen
    Yang, Chih-Chuan
    2014 5TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2014, : 216 - 219
  • [5] A Method of Component Prediction for Crash Bug Reports Using Component -Based Features and Machine Learning
    Xu, Yang
    Liu, Chao
    Li, Yong
    Xie, Qiaoluan
    Choi, Hyun-Deok
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 773 - 777
  • [6] Improving bug report quality by predicting correct component in bug reports
    Chawla, Indu
    Singh, Sandeep Kumar
    International Journal of Computational Intelligence Studies, 2019, 8 (1-2) : 143 - 157
  • [7] Which bug reports are valid and why? Using the BERT transformer to classify bug reports and explain their validity
    Meng, Qianru
    Joost, Visser
    PROCEEDINGS OF THE 4TH EUROPEAN SYMPOSIUM ON SOFTWARE ENGINEERING, ESSE 2023, 2024, : 52 - 60
  • [8] Security bug reports classification using fasttext
    Sultan S. Alqahtani
    International Journal of Information Security, 2024, 23 : 1347 - 1358
  • [9] Security bug reports classification using fasttext
    Alqahtani, Sultan S.
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2024, 23 (02) : 1347 - 1358
  • [10] Information Needs in Bug Reports: Improving Cooperation Between Developers and Users
    Breu, Silvia
    Premraj, Rahul
    Sillito, Jonathan
    Zimmermann, Thomas
    2010 ACM CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK, 2010, : 301 - 310