Abstract
The availability of quality information in bug reports that are created daily by software users is key to rapidly fixing software faults. Improving incomplete or deficient bug reports, which are numerous in many popular and actively developed open-source software projects, can make software maintenance more effective and improve software quality. In this paper, we propose a system that addresses the problem of bug report incompleteness by automatically posing follow-up questions, intended to elicit answers that add value and provide missing information to a bug report. Our system is based on selecting follow-up questions from a large corpus of already posted follow-up questions on GitHub. To estimate the best follow-up question for a specific deficient bug report we combine two metrics based on: 1) the compatibility of a follow-up question to a specific bug report; and 2) the utility the expected answer to the follow-up question would provide to the deficient bug report. Evaluation of our system, based on a manually annotated held-out data set, indicates improved performance over a set of simple and ablation baselines. A survey of software developers confirms the held-out set evaluation result that about half of the selected follow-up questions are considered valid. The survey also indicates that the valid follow-up questions are useful and can provide new information to a bug report most of the time and are specific to a bug report some of the time.
Recommended Citation
M. M. Imran et al., "Automatically Selecting Follow-Up Questions for Deficient Bug Reports," Proceedings - 2021 IEEE/ACM 18th International Conference on Mining Software Repositories, MSR 2021, pp. 167 - 178, article no. 9463135, Institute of Electrical and Electronics Engineers, May 2021.
The definitive version is available at https://doi.org/10.1109/MSR52588.2021.00029
Department(s)
Computer Science
Keywords and Phrases
Bug reporting; Bug triage; Follow-up questions
International Standard Book Number (ISBN)
978-172818710-5
Document Type
Article - Conference proceedings
Document Version
Citation
File Type
text
Language(s)
English
Rights
© 2024 Institute of Electrical and Electronics Engineers, All rights reserved.
Publication Date
01 May 2021
Comments
National Science Foundation, Grant 1812968