An Emotion Similarity Based Severity Prediction of Software Bugs: A Case Study of Open Source Projects

Geunseok YANG  Tao ZHANG  Byungjeong LEE  

IEICE TRANSACTIONS on Information and Systems   Vol.E101-D   No.8   pp.2015-2026
Publication Date: 2018/08/01
Publicized: 2018/05/02
Online ISSN: 1745-1361
DOI: 10.1587/transinf.2017EDP7406
Type of Manuscript: PAPER
Category: Software Engineering
bug severity prediction,  emotion similarity,  bug report,  software maintenance,  

Full Text: PDF>>
Buy this Article

Many software development teams usually tend to focus on maintenance activities in general. Recently, many studies on bug severity prediction have been proposed to help a bug reporter determine severity. But they do not consider the reporter's expression of emotion appearing in the bug report when they predict the bug severity level. In this paper, we propose a novel approach to severity prediction for reported bugs by using emotion similarity. First, we do not only compute an emotion-word probability vector by using smoothed unigram model (UM), but we also use the new bug report to find similar-emotion bug reports with Kullback-Leibler divergence (KL-divergence). Then, we introduce a new algorithm, Emotion Similarity (ES)-Multinomial, which modifies the original Naïve Bayes Multinomial algorithm. We train the model with emotion bug reports by using ES-Multinomial. Finally, we can predict the bug severity level in the new bug report. To compare the performance in bug severity prediction, we select related studies including Emotion Words-based Dictionary (EWD)-Multinomial, Naïve Bayes Multinomial, and another study as baseline approaches in open source projects (e.g., Eclipse, GNU, JBoss, Mozilla, and WireShark). The results show that our approach outperforms the baselines, and can reflect reporters' emotional expressions during the bug reporting.