Automatic Bug Priority Prediction using LSTM and ANN Approaches during Software Development
View/ Open
Date
2024-07Author
Dissanayake, DNA
Rupasingha, RAHM
Kumara, BTGS
Metadata
Show full item recordAbstract
The process of manually assign a priority value to a bug report takes time. There is a high chance that a
developer may allocate the wrong value, and this can affect several important software development processes. To address
this problem, the objective of this research incorporates three unique feature extraction approaches to create a model for
automatically predicting the priority of bugs using the Long Short-Term Memory (LSTM) deep learning algorithm and
Artificial Neural Network (ANN) algorithm. First, we collected approximately 20,500 bug reports from the Bugzilla; bug
tracking system. Followed preprocessing, created models using two classifiers and feature vectors including Global Vectors
for Word Representation (GloVe), Term Frequency-Inverse Document Frequency (TF-IDF), and Word2Vec used
individually. The final classification results were determined by comparing the all results of the different models, which
were integrated into an ensemble model. For evaluating the models, accuracy, recall, precision, and f-measure were used.
The ensemble model produced the highest accuracy of 92% than other models as ANN model’s accuracy was 80.28%,
LSTM GloVe model's accuracy was 89.58%, LSTM TF-IDF model's accuracy was 88.94%, LSTM W2V model's accuracy
was 84.84%. And also, higher recall, precision, and f-measure results were found in the ensemble model. Using the
proposed model by LSTM-based ensemble approach we could automatically find the bug priority level of bug reports
efficiently and effectively. In the future studies, intend to gather data from sources other than Bugzilla, such as JIRA or a
GitHub repository. Additionally, try to apply other deep algorithms to improve the accuracy.