Convolutional Neural Networks-Based Locating Relevant Buggy Code Files for Bug Reports Affected by Data Imbalance
Authors:
Open Access
- 10 September 2019
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 7, 131304-131316
Abstract
Software bug localization is very important in software engineering, but it is also complicated and time consuming. To improve the efficiency of developers, researchers have developed various traditional bug localization and machine learning bug localization methods. In this paper, we propose a novel method that improves bug localization performance. First, surface lexical correlation matching between bug reports and source code files is used to obtain features by deep neural network. Second, to solve the lexical gap between bug reports and source code files, semantic correlation matching between them is used to obtain features based on word embedding and sentence embedding by deep neural network. Then, the joint features obtained by the surface lexical and semantic correlation matching are fused into a unified feature representation for bug reports and source code files. In addition, since our experimental datasets are imbalanced data, we use a focal loss function to solve the impact of data imbalance. Finally, our method obtains the relatively high bug localization performance compared to other classic methods.Keywords
Funding Information
- National Basic Research Program of China (2018YFC0604404, 2016YFC0801804)
- National Natural Science Foundation of China (61806067)
- Fundamental Research Funds for the Central Universities (PA2019GDPK0079)
This publication has 26 references indexed in Scilit:
- Software defect prediction using cost-sensitive neural networkApplied Soft Computing, 2015
- Learning to rank relevant files for bug reports using domain knowledge2014
- Cost-sensitive learning for defect escalationKnowledge-Based Systems, 2014
- Don't count, predict! A systematic comparison of context-counting vs. context-predicting semantic vectors2014
- Glove: Global Vectors for Word Representation2014
- Improving IR‐based traceability recovery via noun‐based indexing of software artifactsJournal of Software: Evolution and Process, 2012
- Bug localization using latent Dirichlet allocationInformation and Software Technology, 2010
- Neural Probabilistic Language Models2006
- Neocognitron: A self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in positionBiological Cybernetics, 1980
- Receptive fields, binocular interaction and functional architecture in the cat's visual cortexThe Journal of Physiology, 1962