ABFL: an Autoencoder Based Practical Approach for Software Fault Localization.
Zhendong Peng,Xi Xiao,Guangwu Hu,Arun Kumar Sangaiah,Mohammed Atiquzzaman,Shutao Xia
DOI: https://doi.org/10.1016/j.ins.2019.08.077
IF: 8.1
2019-01-01
Information Sciences
Abstract:Fault localization is essential to software debugging. Despite existing techniques, such as mutation analysis, development history and bug reports, have made great contributions to fault localization, the challenge of infeasibility still exits in practice due to expense of mutation analysis, lacking of development history and bug reports. To improve accuracy and feasibility in fault code locating, in this paper, we propose ABFL, an Autoencoder Based practical approach for Fault Localization. ABFL first introduces an autoencoder to extract 32 features from software static source code. Then it employs Spectrum Based Fault Localization (SBFL) techniques to calculate 14 types of scores, which are taken as another group of features in software running time. Finally, relying on the constructed ranking model, ABFL integrates two groups of features together and precisely locates faulty statements in code. The executed extensive experiments on the Defects4J repository show that our approach is superior to the state-of-the-art SBFL techniques, ranking the faulty statement at the 1st, 3rd, and 5th positions with 49, 94, and 123 faults, respectively. (C) 2019 Published by Elsevier Inc.