arrow
返回

HetFL: Heterogeneous Graph-Based Software Fault Localization

delete2024-11-01
delete0
PRE
AI
陈欣 封面图
陈欣 (Xin Chen)
T
Tian Sun
D
Dongling Zhuang
D
Dongjin Yu *
H
He Jiang
Z
Zhide Zhou
S
Sicheng Li
DOI:10.1109/TSE.2024.3454605delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Automated software fault localization has become one of the hot spots on which researchers have focused in recent years. Existing studies have shown that learning-based techniques can effectively localize faults leveraging various information. However, there exist two problems in these techniques. The first is that they simply represent various information without caring the contribution of different information. The second is that the data imbalance problem is not considered in these techniques. Thus, their effectiveness is limited in practice. In this paper, we propose HetFL, a novel heterogeneous graph-based software fault localization technique to aggregate different information into a heterogeneous graph in which program entities and test cases are regarded as nodes, and coverage, change histories, and call relationships are viewed as edges. HetFL first extracts textual and structure information from source code as attributes of nodes and integrates them to form an attribute vector. Then, for a given node, HetFL finds its neighbor nodes based on the types of edges and aggregates corresponding neighbor nodes to form type vectors. After that, the attribute vector and all the type vectors of each node are aggregated to generate the final vector representation by an attention mechanism. Finally, we leverage a convolution neural network (CNN) to obtain the suspicious score of each method. To validate the effectiveness of HetFL, experiments are conducted on the widely used dataset Defects4J (v1.2.0). The experimental results show that HetFL can localize 217 faults within Top-1 that is 25 higher than the state-of-the-art technique DeepFL, and achieve 6.37 and 5.58 in terms of MAR and MFR which improve DeepFL by 9.0% and 5.6%, respectively. In addition, we also perform experiments on the latest version of Defects4J (v2.0.0). The experimental results show that HetFL has better performance than the baseline methods.
Keyword:
Location awareness
Software
History
Vectors
Computer science
Codes
Aggregates
Heterogeneous graph
change history
call relationship
fault localization
attention mechanism

期刊

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

机构

H
Hangzhou Dianzi University
学者数:
1.3W
论文数: 9.6K
被引数: 7.5K
D
Dalian University of Technology
学者数:
6.0W
论文数: 4.4W
被引数: 5.5W
引用论文

引用论文

Demand Analysis of Indonesia’s Coconut Crude Oil in Germany
err2021-01-01
err0
errOAAI
errImanuel Ximenes; Rita Nurmalina; Amzul Rifin
err分享
err收藏
A Model for Spectra-Based Software Diagnosis
err2011-08-26
err432
PREAI
errNaish, Lee; Lee, Hua Jie; Ramamohanarao, Kotagiri
err分享
err收藏
It Can’t Happen to Me: Travel Risk Perceptions
err2014-10-07
err0
PREAI
errBrent W. Ritchie; P. Monica Chien; Bernadette M. Watson
err分享
err收藏
Heart Transplantation in Patients With Amyloidosis
err2010-04-01
err0
PREAI
errJ.-M. Luo; N.-K. Chou; N.-H. Chi; Y.-S. Chen; H.-Y. Yu; C.-H. Wang; W.-J. Ko; C.-I. Tsao; C.-D. Sun; S.-S. Wang
err分享
err收藏
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收藏
Heat Transfer in Pebble Beds for Fusion Blankets
err2017-05-09
err0
PREAI
errMario Dalle Donne; Giancarlo Sordon
err分享
err收藏
学者 查看更多内容