BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats
Lin Shi, Fangwen Mu, Yumin Zhang, Ye Yang, Junjie Chen, Xiao Chen, Hanzhi Jiang, Ziyou Jiang, Qing Wang
Abstract
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 leveraging the Graph neural network to learn the contextual information; 3) Synthesize the bug reports by utilizing Transfer Learning techniques to classify the sentences into: 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 77.74%, improving the best baseline by 12.96%; and for bug report synthesis task, BugListener could classify the OB, EB, and SR sentences with the F1 of 84.62%, 71.46%, and 73.13%, improving the best baselines by 9.32%, 12.21%, 10.91%, respectively. A human evaluation study also confirms the effectiveness 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Automatic Extraction of Opinion-based Q&A from Online Developer Chats cites Detection of hidden feature requests from massive chat messages via deep siamese network
- A first look at developers' live chat on Gitter cites Detection of hidden feature requests from massive chat messages via deep siamese network
Builds on10
- A Survey of Data Augmentation Approaches for NLPSteven Y. Feng, Varun Gangal, Jason Wei, Sarath Chandar et al.ACL Findings 2021 · 708 citations
- An empirical study of bots in software development: characteristics and challenges from a practitioner's perspectiveLinda Erlenhov, Francisco Gomes de Oliveira Neto, Philipp LeitnerFSE 2020 · 47 citations
- Detection of hidden feature requests from massive chat messages via deep siamese networkLin Shi, Mingzhe Xing, Mingyang Li, Yawen Wang et al.ICSE 2020 · 31 citations
- A first look at developers' live chat on GitterLin Shi, Xiao Chen, Ye Yang, Hanzhi Jiang et al.FSE 2021 · 30 citations
- Automatic Extraction of Opinion-based Q&A from Online Developer ChatsPreetha Chatterjee, Kostadin Damevski, Lori L. PollockICSE 2021 · 28 citations
Related papers
- ISPY: Automatic Issue-Solution Pair Extraction from Community Live ChatsLin Shi, Ziyou Jiang, Ye Yang, Xiao Chen et al.ASE 2021 · 12 citations
- Learning to Describe Solutions for Bug Reports Based on Developer DiscussionsSheena Panthaplackel, Junyi Jessy Li, Milos Gligoric, Raymond J. MooneyACL Findings 2022 · 6 citations
- ChatBR: Automated assessment and improvement of bug report quality using ChatGPTLili Bo, Wangjie Ji, Xiaobing Sun, Ting Zhang et al.ASE 2024 · 5 citations
- Using Developer Discussions to Guide Fixing Bugs in SoftwareSheena Panthaplackel, Milos Gligoric, Junyi Jessy Li, Raymond J. MooneyEMNLP Findings 2022 · 4 citations
- Detecting Condition-Related Bugs with Control Flow Graph Neural NetworkJian Zhang, Xu Wang, Hongyu Zhang, Hailong Sun et al.ISSTA 2023 · 19 citations
