arrow
返回

A deep semantics-aware data augmentation method for fault localization

delete2024-04-01
delete0
PRE
AI
J
Jian Hu *
雷晏 (Yan Lei)
DOI:10.1016/j.infsof.2024.107409delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Fault localization (FL) techniques are employed to identify the relationship between program statements and failures by analyzing runtime information. They rely on the statistics of input data to explore the underlying correlation rooted in it. Consequently, the quality of input data is of utmost importance for FL. However, in practice, passing tests significantly outnumber failing tests regarding a fault. This leads to a class imbalance challenge that can adversely affect the effectiveness of FL. Objective: To tackle the issue of imbalanced data in fault localization, we propose PRAM: a deeP semanticawaRe dAta augmentation Method to improve the effectiveness of FL methods. Method: PRAM utilizes program dependencies to enhance the semantic context, thus showing how a failure is caused. Then, PRAM employs mixup method to synthesize new failing test samples by merging two real failing test cases with a random ratio to balance the input data. Finally, PRAM feeds the balanced data consisting of synthesized failing test cases and original test cases to FL techniques. To evaluate the effectiveness of PRAM, we conducted large-scale experiments on 330 versions of nine large-sized real programs for six state -of -the -art FL methods, two data optimization methods and two data augmentation methods. Results: Our experimental results show that PRAM outperforms in most cases for Top-K metrics and reduces the number of checked statements from 40.38% to 80.04% compared with the original FL methods. Furthermore, PRAM reduces the checked statements from 16.92% to 56.98% for data optimization methods and from 12.48% to 26.82% for data augmentation methods. Conclusion: The experimental results show that PRAM is not only more effective than the original FL methods but also more effective than two representative data optimization methods and two data augmentation methods, which indicates that PRAM is a universal effective data augmentation method for various FL methods.
Keyword:
Imbalanced data
Fault localization
Semantics-aware
Data augmentation

期刊

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

机构

C
Chongqing University
学者数:
5.1W
论文数: 4.1W
被引数: 6.0W
引用论文

引用论文

Peer Effects of Corporate Social Responsibility
err2016-01-01
err0
errOAAI
errJie Cao; Hao Liang; Xintong Zhan
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
Fathers' mental health during the ante-and postnatal periods: Knowledge, recommendations and interventions
err2013-05-01
err0
errOAAI
errKim Yiong Wee; Ciaran Pier; Jeannette Milgrom; Ben Richardson; Jane Fisher; Helen Skouteris
err分享
err收藏
Letters to the Editor
err1994-10-01
err0
PREAI
errM. M. Al-Qattan; H. M. Clarke
err分享
err收藏
Effective Software Fault Localization Using an RBF Neural Network使用RBF神经网络进行有效的软件故障定位
err2012-03-01
err145
PREAI
errWong, W. Eric; Debroy, Vidroha; Golden, Richard; Xu, Xiaofeng; Thuraisingham, Bhavani
err分享
err收藏
学者 查看更多内容