BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats

04/20/2022
by   Lin Shi, et al.
0

In community-based software development, developers frequently rely on live-chatting to discuss emergent bugs/errors they encounter in daily development tasks. However, it remains a challenging task to accurately record such knowledge due to the noisy nature of interleaved dialogs in live chat data. In this paper, we first formulate the task of identifying and synthesizing bug reports from community live chats, and propose a novel approach, named BugListener, to address the challenges. Specifically, BugListener automates three sub-tasks: 1) Disentangle the dialogs from massive chat logs by using a Feed-Forward neural network; 2) Identify the bug-report dialogs from separated dialogs by modeling the original dialog to the graph-structured dialog and leveraging the graph neural network to learn the contextual information; 3) Synthesize the bug reports by utilizing the TextCNN model and Transfer Learning network to classify the sentences into three groups: observed behaviors (OB), expected behaviors (EB), and steps to reproduce the bug (SR). BugListener is evaluated on six open source projects. The results show that: for bug report identification, BugListener achieves the average F1 of 74.21 synthesis task, BugListener could classify the OB, EB, and SR sentences with the F1 of 67.37 7.38 of BugListener in generating relevant and accurate bug reports. These demonstrate the significant potential of applying BugListener in community-based software development, for promoting bug discovery and quality improvement.

READ FULL TEXT
research
01/24/2020

Advaita: Bug Duplicity Detection System

Bugs are prevalent in software development. To improve software quality,...
research
01/28/2021

A Spatial-Temporal Graph Neural Network Framework for Automated Software Bug Triaging

The bug triaging process, an essential process of assigning bug reports ...
research
09/15/2021

ISPY: Automatic Issue-Solution Pair Extraction from Community Live Chats

Collaborative live chats are gaining popularity as a development communi...
research
06/17/2019

Assessing the Quality of the Steps to Reproduce in Bug Reports

A major problem with user-written bug reports, indicated by developers a...
research
05/16/2019

Better Security Bug Report Classification via Hyperparameter Optimization

When security bugs are detected, they should be (a) discussed privately ...
research
12/19/2021

Early Detection of Security-Relevant Bug Reports using Machine Learning: How Far Are We?

Bug reports are common artefacts in software development. They serve as ...

Please sign up or login with your details

Forgot password? Click here to reset