Back to Search
Start Over
ABFL: An autoencoder based practical approach for software fault localization.
- Source :
-
Information Sciences . Feb2020, Vol. 510, p108-121. 14p. - Publication Year :
- 2020
-
Abstract
- • We introduce a novel way to extract features from source code automatically. To the best of our knowledge, we are the first to apply the autoencoder in fault localization. • We present a fault localization approach, ABFL that combines SBFL techniques with the latent representation of source code to improve the accuracy of fault localization. • We evaluate ABFL on 357 bugs from 5 different software projects in the Defects4J benchmark. ABFL substantially outperforms 14 SBFL techniques, ranking 14%, 26%, and 34% faults at the top 1, 3, and 5 of the ranked list, respectively. 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. [ABSTRACT FROM AUTHOR]
- Subjects :
- *DEBUGGING
*FEATURE extraction
*SOURCE code
*COMPUTER software
*ACCURACY
Subjects
Details
- Language :
- English
- ISSN :
- 00200255
- Volume :
- 510
- Database :
- Academic Search Index
- Journal :
- Information Sciences
- Publication Type :
- Periodical
- Accession number :
- 139191933
- Full Text :
- https://doi.org/10.1016/j.ins.2019.08.077