arrow
返回

RLocator: Reinforcement Learning for Bug Localization

delete2024-10-01
delete1
PRE
AI
P
Partha Chakraborty *
M
Mahmoud Alfadel
M
Meiyappan Nagappan
DOI:10.1109/TSE.2024.3452595delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Software developers spend a significant portion of time fixing bugs in their projects. To streamline this process, bug localization approaches have been proposed to identify the source code files that are likely responsible for a particular bug. Prior work proposed several similarity-based machine-learning techniques for bug localization. Despite significant advances in these techniques, they do not directly optimize the evaluation measures. We argue that directly optimizing evaluation measures can positively contribute to the performance of bug localization approaches. Therefore, in this paper, we utilize Reinforcement Learning (RL) techniques to directly optimize the ranking metrics. We propose RLocator, a Reinforcement Learning-based bug localization approach. We formulate RLocator using a Markov Decision Process (MDP) to optimize the evaluation measures directly. We present the technique and experimentally evaluate it based on a benchmark dataset of 8,316 bug reports from six highly popular Apache projects. The results of our evaluation reveal that RLocator achieves a Mean Reciprocal Rank (MRR) of 0.62, a Mean Average Precision (MAP) of 0.59, and a Top 1 score of 0.46. We compare RLocator with three state-of-the-art bug localization tools, FLIM, BugLocator, and BL-GAN. Our evaluation reveals that RLocator outperforms both approaches by a substantial margin, with improvements of 38.3% in MAP, 36.73% in MRR, and 23.68% in the Top K metric. These findings highlight that directly optimizing evaluation measures considerably contributes to performance improvement of the bug localization problem.
Keyword:
Computer bugs
Source coding
Location awareness
Measurement
Feature extraction
Reinforcement learning
Software
bug localization
deep learning

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

U
University of Calgary
学者数:
3.8W
论文数: 3.3W
被引数: 52
U
University of Waterloo
学者数:
2.2W
论文数: 2.3W
被引数: 3.3W
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Late Stalinist Russia
err
IF0
err2006-09-27
err0
PREAI
errJuliane Fürst
err分享
err收藏
err分享
err收藏
err分享
err收藏
Vertical fluxes and micrometeorology during aerosol particle formation events
err2001-09-01
err0
PREAI
errG. BUZORIUS; U RANNIK; D. NILSSON; M. KULMALA
err分享
err收藏
Hemodynamic Exercise Response in Calves with an Implantable Biventricular Centrifugal Blood Pump
err2002-01-11
err0
errOAAI
errJörg Linneweber; Kenji Nonaka; Tamaki Takano; Shinji Kawahito; Sebastian Schulte‐Eistrup; Tadashi Motomura; Seiji Ichikawa; Minoru Mikami; Shelly Stevens; Heinrich Schima; Ernst Wolner; Yukihiko Nosé
err分享
err收藏
Letters to the Editor
err1994-10-01
err0
PREAI
errM. M. Al-Qattan; H. M. Clarke
err分享
err收藏
YAC transgene-mediated olfactory receptor gene choiceYAC转基因介导的嗅觉受体基因选择
err2000-02-01
err0
errOAAI
errFarah A.W. Ebrahimi; James Edmondson; Rodney Rothstein; Andrew Chess
err分享
err收藏
err分享
err收藏
学者 查看更多内容