作者
Xi Xiao, Yuqing Pan, Bin Zhang, Guangwu Hu, Qing Li, Runiu Lu
发表日期
2021/11/1
期刊
Information and Software Technology
卷号
139
页码范围
106653
出版商
Elsevier
简介
Context
Automatic software fault localization serves as a significant purpose in helping developers solve bugs efficiently. Existing approaches for software fault localization can be categorized into static methods and dynamic ones, which have improved the fault locating ability greatly by analyzing static features from the source code or tracking dynamic behaviors during the runtime respectively. However, the accuracy of fault localization is still unsatisfactory.
Objective
To enhance the capability of detecting software faults with the statement granularity, this paper puts forward ALBFL, a novel neural ranking model that combines the static and dynamic features, which obtains excellent fault localization accuracy. Firstly, ALBFL learns the semantic features of the source code by a transformer encoder. Then, it exploits a self-attention layer to integrate those static features and dynamic features. Finally, those integrated …
引用总数
20212022202320242374
学术搜索中的文章