A Data Augmentation Method for Fault Localization with Fault Propagation Context and VAE

Zhuo Zhang,Donghui Li,Lei Xia,Xiankai Meng
DOI: https://doi.org/10.1587/transinf.2023edl8052
2024-01-01
IEICE Transactions on Information and Systems
Abstract:With the growing complexity and scale of software, detecting and repairing errant behaviors at an early stage are critical to reduce the cost of software development. In the practice of fault localization, a typical process usually includes three steps: execution of input domain test cases, construction of model domain test vectors and suspiciousness evaluation. The effectiveness of model domain test vectors is significant for locating the faulty code. However, test vectors with failing labels usually account for a small portion, which inevitably degrades the effectiveness of fault localization. In this paper, we propose a data augmentation method PVaug by using fault propagation context and variational autoencoder (VAE). Our empirical results on 14 programs illustrate that PVaug has promoted the effectiveness of fault localization.
What problem does this paper attempt to address?