arrow
返回

BugRadar: Bug localization by knowledge graph link prediction

delete2023-10-01
delete5
PRE
AI
X
Xi Xiao
R
Renjie Xiao
Prof. LI Qing 封面图
Prof. LI Qing (Qing Li) *
J
Jianhui Lv
S
Shunyan Cui
Q
Qixu Liu
DOI:10.1016/j.infsof.2023.107274delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context : Information Retrieval-based Bug Localization (IRBL) aims to design automatic systems that find buggy files according to bug reports, which can reduce the time consumption to fix bugs for programmers. There has been extensive research on IRBL techniques in recent years. However, these methods cannot make full use of the structure information in bug reports and source files.Objective : In this paper, we propose a novel scheme BugRadar. It combines text features and structure features from bug reports and source files for bug localization. Especially, BugRadar leverages a knowledge graph to make use of structure features.Method : We originally propose a knowledge graph named TriGraph based on structure features and apply hyperbolic attention embedding to get the link prediction scores. For text features, we propose Partial Text Similarity which improves traditional Text Similarity and Method Level Text Similarity. We also propose Word Collaborative Filtering Score which leverages historical bug reports with more attention on important terms. Finally, we calculate the final suspicious scores based on the structure features, text features, and fixing time information from bug fixing history with a neural network.Results : We apply our scheme to four projects (Tomcat, SWT, JDT, and Birt) in a popular dataset and get approving results. BugRadar gets better results than other state-of-the-art methods on three projects out of the four. It achieves a relative improvement of 8.8% in SWT and 9.8% in JDT for Mean Average Precision compared to the previous best scheme KGBugLocator and 11.4% in Birt compared to Adaptive Regression.Conclusions : BugRadar can achieve approving performance on large-scale projects with enough historical bug reports. It verifies that knowledge graphs are capable of representing the structure features for bug localization. The novel Partial Text Similarity and Word Collaborative Filtering Score are both effective improvements for using text features.
Keyword:
Bug localization
Knowledge graph
Collaborative filtering

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

T
tsinghua university
学者数:
11.9W
论文数: 10.0W
被引数: 137
P
Peng Cheng Laboratory
学者数:
1.7K
论文数: 1.8K
被引数: 2.0K
C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
学者 查看更多机构
引用论文

引用论文

Overview of Dermatologic Disorders of Neonates in a Central Regional Intensive Care Unit in Hungary
err2014-12-22
err0
errOAAI
errZsanett Csoma; Angéla Meszes; Krisztina Mader; Lajos Kemény; Gyula Tálosi
err分享
err收藏
Fuzzing: A Survey for Roadmap模糊测试: 路线图调查
err2022-09-09
err105
PREAI
errZhu, Xiaogang; Wen, Sheng; Camtepe, Seyit; Xiang, Yang
err分享
err收藏
学者 查看更多内容