The impact of bug localization based on crash report mining: A developers' perspective

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 approache...

Full description

Saved in:
Bibliographic Details
Main Authors: MEDEIROS, Marcos, KULESZA, Uirá, COELHO, Roberta, BONIFACIO, Rodrigo, TREUDE, Christoph, BARBOSA, Eiji Adachi
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2024
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/8917
https://ink.library.smu.edu.sg/context/sis_research/article/9920/viewcontent/babalu.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-9920
record_format dspace
spelling sg-smu-ink.sis_research-99202024-06-27T08:05:55Z The impact of bug localization based on crash report mining: A developers' perspective MEDEIROS, Marcos KULESZA, Uirá COELHO, Roberta BONIFACIO, Rodrigo TREUDE, Christoph BARBOSA, Eiji Adachi 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. 2024-04-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8917 info:doi/10.1145/3639477.3639730 https://ink.library.smu.edu.sg/context/sis_research/article/9920/viewcontent/babalu.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Software crash Bug correlation Bug localization Crash reports Stack traces Bug prioritization Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Software crash
Bug correlation
Bug localization
Crash reports
Stack traces
Bug prioritization
Software Engineering
spellingShingle Software crash
Bug correlation
Bug localization
Crash reports
Stack traces
Bug prioritization
Software Engineering
MEDEIROS, Marcos
KULESZA, Uirá
COELHO, Roberta
BONIFACIO, Rodrigo
TREUDE, Christoph
BARBOSA, Eiji Adachi
The impact of bug localization based on crash report mining: A developers' perspective
description 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.
format text
author MEDEIROS, Marcos
KULESZA, Uirá
COELHO, Roberta
BONIFACIO, Rodrigo
TREUDE, Christoph
BARBOSA, Eiji Adachi
author_facet MEDEIROS, Marcos
KULESZA, Uirá
COELHO, Roberta
BONIFACIO, Rodrigo
TREUDE, Christoph
BARBOSA, Eiji Adachi
author_sort MEDEIROS, Marcos
title The impact of bug localization based on crash report mining: A developers' perspective
title_short The impact of bug localization based on crash report mining: A developers' perspective
title_full The impact of bug localization based on crash report mining: A developers' perspective
title_fullStr The impact of bug localization based on crash report mining: A developers' perspective
title_full_unstemmed The impact of bug localization based on crash report mining: A developers' perspective
title_sort impact of bug localization based on crash report mining: a developers' perspective
publisher Institutional Knowledge at Singapore Management University
publishDate 2024
url https://ink.library.smu.edu.sg/sis_research/8917
https://ink.library.smu.edu.sg/context/sis_research/article/9920/viewcontent/babalu.pdf
_version_ 1814047630817230848