Extracting features related to bug fixing time of bug reports by deep learning and gradient-based visualization

Yuki Noyori, Hironori Washizaki, Yoshiaki Fukazawa, Keishi Ooshima, Hideyuki Kanuka, Shuhei Nojiri, Ryosuke Tsuchiya

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

A bug report is a document indicating when a bug occurs. Developers discuss and resolve the bug through comments in the report. The time required to fix a bug can depend on the bug report. Although many studies have researched bug reports, few have examined bug report comments. Herein we adopt a convolutional neural network (CNN), which is a class of deep neural networks, to classify bug reports into those with short and long fixing times based on the data collected from a bug tracking system. Then we extract the features related to the bug fixing time by visualizing the decision basis that the CNN model uses in the prediction process. We employ a gradient-based visualization technique called Grad-cam to visualize the word sequence that the CNN model uses in the prediction. We use the top ten word sequences as the decision basis to extract the features of the bug report. An experiment confirmed that our method classified more than 36, 000 actual bug reports taken from Bugzilla by short and long fixing times with 75-80% accuracy. Further visualization using Grad-cam shows the difference in the stack trace and the degree of abstraction of the words used. Bug reports with a short bug fixing time are specific and informative with regard to stack trace descriptions. In contrast, those with a long bug fixing time are abstract.

Original languageEnglish
Title of host publication2021 IEEE International Conference on Artificial Intelligence and Computer Applications, ICAICA 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages402-407
Number of pages6
ISBN (Electronic)9781665418676
DOIs
Publication statusPublished - 2021 Jun 28
Event2021 IEEE International Conference on Artificial Intelligence and Computer Applications, ICAICA 2021 - Dalian, China
Duration: 2021 Jun 282021 Jun 30

Publication series

Name2021 IEEE International Conference on Artificial Intelligence and Computer Applications, ICAICA 2021

Conference

Conference2021 IEEE International Conference on Artificial Intelligence and Computer Applications, ICAICA 2021
Country/TerritoryChina
CityDalian
Period21/6/2821/6/30

Keywords

  • Deep learning
  • Grad-cam
  • OSS
  • bug report

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Science Applications
  • Software
  • Information Systems and Management
  • Control and Optimization

Fingerprint

Dive into the research topics of 'Extracting features related to bug fixing time of bug reports by deep learning and gradient-based visualization'. Together they form a unique fingerprint.

Cite this