Recommending frequently encountered bugs

Yun Zhang, David Lo, Xin Xia, Jing Jiang, Jianling Sun

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

3 Citations (Scopus)

Abstract

Developers introduce bugs during software development which reduce software reliability. Many of these bugs are commonly occurring and have been experienced by many other developers. Informing developers, especially novice ones, about commonly occurring bugs in a domain of interest (e.g., Java), can help developers comprehend program and avoid similar bugs in the future. Unfortunately, information about commonly occurring bugs are not readily available. To address this need, we propose a novel approach named RFEB which recommends frequently encountered bugs (FEBugs) that may affect many other developers. RFEB analyzes Stack Overflow which is the largest software engineering-specific Q&A communities. Among the plenty of questions posted in Stack Overflow, many of them provide the descriptions and solutions of different kinds of bugs. Unfortunately, the search engine that comes with Stack Overflow is not able to identify FEBugs well. To address the limitation of the search engine of Stack Overflow, we propose RFEB which is an integrated and iterative approach that considers both relevance and popularity of Stack Overflow questions to identify FEBugs. To evaluate the performance of RFEB, we perform experiments on a dataset from Stack Overflow which contains more than ten million posts. We compared our model with Stack Overflow's search engine on 10 domains, and the experiment results show that RFEB achieves the average NDCG10 score of 0.96, which improves Stack Overflow's search engine by 20%.

Original languageEnglish
Title of host publicationProceedings - 2018 ACM/IEEE 26th International Conference on Program Comprehension, ICPC 2018
Subtitle of host publicationGothenburg, Sweden 27-28 May 2018
EditorsChanchal K. Roy, Janet Siegmund
Place of PublicationNew York NY USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages120-131
Number of pages12
ISBN (Electronic)9781450357142
DOIs
Publication statusPublished - 2018
EventInternational Conference on Program Comprehension 2018 - Gothenburg, Sweden
Duration: 27 May 201828 May 2018
Conference number: 26th
https://conf.researchr.org/home/icpc-2018

Conference

ConferenceInternational Conference on Program Comprehension 2018
Abbreviated titleICPC 2018
Country/TerritorySweden
CityGothenburg
Period27/05/1828/05/18
Internet address

Cite this