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
来源
2024 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP 2024 | 2024年
关键词
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
相关论文
共 28 条
  • [1] An L, 2015, 2015 IEEE 1ST INTERNATIONAL WORKSHOP ON SOFTWARE ANALYTICS (SWAN), P5, DOI 10.1109/SWAN.2015.7070480
  • [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] Bettenburg Nicolas, 2008, P 16 ACM SIGSOFT INT, P308, DOI [DOI 10.1145/1453101.1453146, 10.1145/1453101.1453146]
  • [4] Cukier D., 2013, Proceedings of the 2013 Companion Publication for Conference on Systems, Programming, Applications: Software for Humanity, P143
  • [5] Dang YN, 2012, PROC INT CONF SOFTW, P1084, DOI 10.1109/ICSE.2012.6227111
  • [6] Does the fault reside in a stack trace? Assisting crash localization by predicting crashing fault residence
    Gu, Yongfeng
    Xuan, Jifeng
    Zhang, Hongyu
    Zhang, Lanxin
    Fan, Qingna
    Xie, Xiaoyuan
    Qian, Tieyun
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 148 : 88 - 104
  • [7] Legion: Massively Composing Rankers for Improved Bug Localization at Adobe
    Jarman, Darryl
    Berry, Jeffrey
    Smith, Riley
    Thung, Ferdian
    Lo, David
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (08) : 3010 - 3024
  • [8] Jones JA, 2002, ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P467, DOI 10.1109/ICSE.2002.1007991
  • [9] Jones James A., 2005, 20 IEEE ACM INT C AU, P273
  • [10] Joorabchi Mona Erfani, 2014, P 11 WORKING C MININ, P62, DOI DOI 10.1145/2597073.2597098