Return
A light-weight data augmentation method for fault localization
DOI:10.1016/j.infsof.2023.107148.png)
Abstract
En 中文
Context: Fault localization (FL) is essentially a search over the space of program statements to find suspicious entities that might have caused a program failure. However, the input data is high-dimensional and extremely imbalanced since the real-world programs are large in size and the number of failing test cases is much less than that of passing test cases, which limits the effectiveness and efficiency of existing FL methods. The state-of-the-art FL method (Aeneas) solves the imbalanced and high-dimensional problem but in a complex and time-consuming process.Objective: Due to the limited effectiveness of original FL methods and the low efficiency of Aeneas, this paper proposes Lamont, a Light-weight data augmentation method to improve the effectiveness of original FL methods and the efficiency of Aeneas.Methods: Lamont uses revised linear discriminant analysis (LDA) to reduce the dimensionality of the original coverage matrix and leverage synthetic minority over-sampling (SMOTE) to generate the synthesized failing tests. The balanced coverage matrix with reduced dimensionality is fed into FL methods to obtain the ranked suspicious list of statements. To evaluate the efficiency and effectiveness, we compare Lamont with six representative FL methods and Aeneas on 458 versions of 10 real-life programs.Results: It can be observed that Lamont outperforms in most cases for Top-K metric and reduces the number of statements that need to be checked from 17.45% to 79.81% compared with the original six FL methods. Furthermore, Lamont saves the time over the state-of-the-art data augmentation method Aeneas from 55.33% to 68.39% with comparable effectiveness.Conclusion: This work conducts a large-scale experimental study to investigate the effectiveness and efficiency of Lamont. Two conclusions can be obtained based on the experimental results. First, it shows that Lamont is more effective than the original FL methods. Second, it shows Lamont is more efficient than Aeneas with similar effectiveness in six FL methods.
Keywords:
Imbalanced data
Fault localization
Feature selection
Data augmentation
Journal
IF:
4.3
Papers:
3.7K
Citations:
7.7K

