Applied Sciences (Mar 2022)

Automatic Bug Triaging via Deep Reinforcement Learning

  • Yong Liu,
  • Xuexin Qi,
  • Jiali Zhang,
  • Hui Li,
  • Xin Ge,
  • Jun Ai

DOI
https://doi.org/10.3390/app12073565
Journal volume & issue
Vol. 12, no. 7
p. 3565

Abstract

Read online

Software maintenance and evolution account for approximately 90% of the software development process (e.g., implementation, testing, and maintenance). Bug triaging refers to an activity where developers diagnose, fix, test, and document bug reports during software development and maintenance to improve the speed of bug repair and project progress. However, the large number of bug reports submitted daily increases the triaging workload, and open-source software has a long maintenance cycle. Meanwhile, the developer activity is not stable and changes significantly during software development. Hence, we propose a novel bug triaging model known as auto bug triaging via deep reinforcement learning (BT-RL), which comprises two models: a deep multi-semantic feature (DMSF) fusion model and an online dynamic matching (ODM) model. In the DMSF model, we extract relevant information from bug reports to obtain high-quality feature representation. In the ODM model, through bug report analysis and developer activities, we use a strategy based on the reinforcement learning framework, through which we perform training while learning and recommend developers for bug reports. Extensive experiments on open-source datasets show that the BT-RL method outperforms state-of-the-art methods in bug triaging.

Keywords