The Impact Of Bug Localization Based on Crash Report Mining: A Developers' Perspective

被引:0
|
作者
Medeiros, Marcos [1 ]
Kulesza, Uira [1 ]
Coelho, Roberta
Bonifacio, Rodrigo [2 ]
Treude, Christoph [3 ]
Adachi, Eiji [1 ]
机构
[1] Univ Fed Rio Grande do Norte, Natal, Brazil
[2] Univ Brasilia, Brasilia, Brazil
[3] Univ Melbourne, Melbourne, Australia
关键词
Software crash; Bug correlation; Bug localization; Crash reports; Stack traces; Bug prioritization;
D O I
10.1145/3639477.3639730
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Developers often use crash reports to understand the root cause of bugs. However, locating the buggy source code snippet from such information is a challenging task, mainly when the log database contains many crash reports. To mitigate this issue, recent research has proposed and evaluated approaches for grouping crash report data and using stack trace information to locate bugs. The effectiveness of such approaches has been evaluated by mainly comparing the candidate buggy code snippets with the actual changed code in bug-fix commits-which happens in the context of retrospective repository mining studies. Therefore, the existing literature still lacks discussing the use of such approaches in the daily life of a software company, which could explain the developers' perceptions on the use of these approaches. In this paper, we report our experience of using an approach for grouping crash reports and finding buggy code on a weekly basis for 18 months, within three development teams in a software company. We grouped over 750,000 crash reports, opened over 130 issues, and collected feedback from 18 developers and team leaders. Among other results, we observe that the amount of system logs related to a crash report group is not the only criteria developers use to choose a candidate bug to be analyzed. Instead, other factors were considered, such as the need to deliver customer-prioritized features and the difficulty of solving complex crash reports (e.g., architectural debts), to cite some. The approach investigated in this study correctly suggested the buggy file most of the time-the approach's precision was around 80%. In this study, the developers also shared their perspectives on the usefulness of the suspicious files and methods extracted from crash reports to fix related bugs.
引用
收藏
页码:13 / 24
页数:12
相关论文
共 50 条
  • [31] The Impact of Classifier Configuration and Classifier Combination on Bug Localization
    Thomas, Stephen W.
    Nagappan, Meiyappan
    Blostein, Dorothea
    Hassan, Ahmed E.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (10) : 1427 - 1443
  • [32] Assigning Bug Reports using a Vocabulary-Based Expertise Model of Developers
    Matter, Dominique
    Kuhn, Adrian
    Nierstrasz, Oscar
    2009 6TH IEEE INTERNATIONAL WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES, 2009, : 131 - 140
  • [33] Automated Configuration Bug Report Prediction Using Text Mining
    Xie, Xin
    Lo, David
    Qiu, Weiwei
    Wang, Xingen
    Zhou, Bo
    2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 107 - 116
  • [34] Bug localization method based on Gaussian processes
    Chen, Li-Guo
    Liu, Chao
    Ruan Jian Xue Bao/Journal of Software, 2014, 25 (06): : 1169 - 1179
  • [35] A bug reproduction approach based on directed model checking and crash traces
    Nayrolles, Mathieu
    Hamou-Lhadj, Abdelwahab
    Tahar, Sofiene
    Larsson, Alf
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2017, 29 (03)
  • [36] Statement Level Software Bug Localization Based on Historical Bug Information Retrieval
    Yue, Lei
    Cui, Zhan-Qi
    Chen, Xiang
    Wang, Rong-Cun
    Li, Li
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (10): : 4642 - 4661
  • [37] On the relationship between bug reports and queries for text retrieval-based bug localization
    Mills, Chris
    Parra, Esteban
    Pantiuchina, Jevgenija
    Bavota, Gabriele
    Haiduc, Sonia
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 3086 - 3127
  • [38] Text Mining Approaches for Dependent Bug Report Assembly and Severity Prediction
    Luaphol, Bancha
    Polpinij, Jantima
    Kaenampornpan, Manasawee
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2022, 19 (06) : 915 - 924
  • [39] Two-Level Information-Retrieval-Based Model for Bug Localization Based on Bug Reports
    Alsaedi, Shatha
    Gad-Elrab, Ahmed A. A.
    Noaman, Amin
    Eassa, Fathy
    ELECTRONICS, 2024, 13 (02)
  • [40] DependLoc: A Dependency-based Framework For Bug Localization
    Yuan, Wei
    Qi, Binhang
    Sun, Hailong
    Liu, Xudong
    2020 27TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2020), 2020, : 61 - 70