Inside Bug Report Templates: An Empirical Study on Bug Report Templates in Open-Source Software

Junwei Zhang, Zhongxin Liu, Lingfeng Bao*, Zhenchang Xing, Xing Hu, Xin Xia

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In open-source software development, bug report templates (BRTs) have emerged as a crucial tool for ensuring the quality of bug reports. Despite their widespread use, developers have little knowledge about designing personalized BRTs. Therefore, it is necessary to understand the usage, effects, and design guidelines of BRTs. To this end, we conduct the first and most detailed study of BRTs on GitHub by performing quantitative and qualitative analyses in 3,194 projects and 5,987 commit messages of BRTs. We find that BRTs are widely used by open-source projects, especially prevalent in platform-type projects. Adopting BRTs can reduce the average number of comments and increase the likelihood of bug reports being addressed. Additionally, they may help developers identify duplicate reports and bug reports with missing description elements. We also classify the change history of existing BRTs and propose 14 design guidelines for BRTs. We survey 20 developers and 19 reporters on GitHub to investigate practitioners' perceptions of BRTs. The majority of respondents acknowledge the importance of BRTs. Based on our findings, we highlight future research directions and provide actionable suggestions for practitioners.

Original languageEnglish
Title of host publication15th Asia-Pacific Symposium on Internetware, Internetware 2024 - Proceedings
PublisherAssociation for Computing Machinery (ACM)
Pages125-134
Number of pages10
ISBN (Electronic)9798400707056
DOIs
Publication statusPublished - 24 Jul 2024
Event15th Asia-Pacific Symposium on Internetware, Internetware 2024 - Macao, China
Duration: 24 Jul 202426 Jul 2024

Publication series

NameACM International Conference Proceeding Series

Conference

Conference15th Asia-Pacific Symposium on Internetware, Internetware 2024
Country/TerritoryChina
CityMacao
Period24/07/2426/07/24

Fingerprint

Dive into the research topics of 'Inside Bug Report Templates: An Empirical Study on Bug Report Templates in Open-Source Software'. Together they form a unique fingerprint.

Cite this