Improving Bug Localization with an Enhanced Convolutional Neural Network
- 1 December 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 338-347
Abstract
Background: Localizing buggy files automatically speeds up the process of bug fixing so as to improve the efficiency and productivity of software quality teams. There are other useful semantic information available in bug reports and source code, but are mostly underutilized by existing bug localization approaches. Aims: We propose DeepLocator, a novel deep learning based model to improve the performance of bug localization by making full use of semantic information. Method: DeepLocator is composed of an enhanced CNN (Convolutional Neural Network) proposed in this study considering bug-fixing experience, together with a new rTF-IDuF method and pretrained word2vec technique. DeepLocator is then evaluated on over 18,500 bug reports extracted from AspectJ, Eclipse, JDT, SWT and Tomcat projects. Results: The experimental results show that DeepLocator achieves 9.77% to 26.65% higher Fmeasure than the conventional CNN and 3.8% higher MAP than a state-of-the-art method HyLoc using less computation time. Conclusion: DeepLocator is capable of automatically connecting bug reports to the corresponding buggy files and successfully achieves better performance based on a deep understanding of semantics in bug reports and source code.Keywords
This publication has 28 references indexed in Scilit:
- Graph-Based Statistical Language Model for Code2015
- Toward Deep Learning Software Repositories2015
- Political Ideology Detection Using Recursive Neural Networks2014
- Convolutional Neural Networks for Sentence Classification2014
- A practical evaluation of spectrum-based fault localizationJournal of Systems and Software, 2009
- Graph-based mining of multiple object usage patterns2009
- Scoring, term weighting, and the vector space model2008
- Face Detection Using Convolutional Neural Networks and Gabor Filters2005
- Neocognitron: A Self-Organizing Neural Network Model for a Mechanism of Visual Pattern Recognition1982
- Receptive fields, binocular interaction and functional architecture in the cat's visual cortexThe Journal of Physiology, 1962