arrow
返回

DreamLoc: A Deep Relevance Matching-Based Framework for bug Localization

delete2022-03-01
delete15
PRE
AI
B
Binhang Qi
H
Hailong Sun *
袁玮 封面图
袁玮 (Yuan Wei)
张
张宏玉 (Hongyu Zhang)
X
Xiangxin Meng
DOI:10.1109/TR.2021.3104728delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
To improve the software debugging efficiency, bug localization techniques have been developed to automatically locate buggy files based on bug reports. Traditional information retrieval-based bug localization cannot deal with the lexical mismatch, thus its performance is limited. In recent years, some deep learning models have been proposed to learn the semantics of bug reports and source files to bridge the lexical gap. However, their accuracy is still limited as building accurate semantic representations of bug reports and source files is very challenging. Recently, relevance matching was proposed to identify whether a document is relevant to a given query by considering both local matching and global matching. In this work, we propose a novel framework DreamLoc, which utilizes a relevance matching model to locate buggy files. Specifically, DreamLoc conducts the local matching by employing an attention-based mechanism to calculate the matching scores between bug report terms and code snippets. It also conducts the global matching by employing a gating mechanism to aggregate results of local matching and obtain the final matching score between a bug report and a source file. Since the local matching considers the relevance between each word and the global matching differentiates the importance of words, DreamLoc can effectively model the characteristics of bug reports and source files. Experimental results on five benchmark datasets show that DreamLoc outperforms five state-of-the-art models. For example, compared with DeepLoc, a recently proposed approach, the evaluation measures Accuracy@10, MAP, and MRR are improved by 6.4%, 7.4%, and 7.2%, respectively.
Keyword:
Computer bugs
Semantics
Location awareness
Codes
Natural languages
Deep learning
Debugging
Bug localization
debugging
deep learning
relevance matching
software maintenance

期刊

IEEE Transactions on Reliability 封面图
IEEE Transactions on Reliability
IF:
5.7
论文数:
2.8K
被引数:
8.5K

机构

B
Beihang University
学者数:
5.2W
论文数: 4.1W
被引数: 37
引用论文

引用论文

err分享
err收藏
Exposure of Pancreatic β-Cells to Excess Glucose Results in Bimodal Activation of mTORC1 and mTOR-Dependent Metabolic Acceleration
err2020-02-01
err0
errOAAI
errCourtney Zasha Rumala; Juan Liu; Jason Wei Locasale; Barbara Ellen Corkey; Jude Thaddeus Deeney; Lucia Egydio Rameh
err分享
err收藏
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收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
学者 查看更多内容