A Deep-Learning-Based Bug Priority Prediction Using RNN-LSTM Neural

Hani Bani-Salameh, Mohammed Sallam, B. Al-Shboul
{"title":"A Deep-Learning-Based Bug Priority Prediction Using RNN-LSTM Neural","authors":"Hani Bani-Salameh, Mohammed Sallam, B. Al-Shboul","doi":"10.37190/e-inf210102","DOIUrl":null,"url":null,"abstract":"Context: Predicting the priority of bug reports is an important activity in software maintenance. Bug priority refers to the order in which a bug or defect should be resolved. A huge number of bug reports are submitted every day. Manual filtering of bug reports and assigning priority to each report is a heavy process, which requires time, resources, and expertise. In many cases mistakes happen when priority is assigned manually, which prevents the developers from finishing their tasks, fixing bugs, and improve the quality. Objective: Bugs are widespread and there is a noticeable increase in the number of bug reports that are submitted by the users and teams’ members with the presence of limited resources, which raises the fact that there is a need for a model that focuses on detecting the priority of bug reports, and allows developers to find the highest priority bug reports. This paper presents a model that focuses on predicting and assigning a priority level (high or low) for each bug report. Method: This model considers a set of factors (indicators) such as component name, summary, assignee, and reporter that possibly affect the priority level of a bug report. The factors are extracted as features from a dataset built using bug reports that are taken from closed-source projects stored in the JIRA bug tracking system, which are used then to train and test the framework. Also, this work presents a tool that helps developers to assign a priority level for the bug report automatically and based on the LSTM’s model prediction. Results: Our experiments consisted of applying a 5-layer deep learning RNN-LSTM neural network and comparing the results with Support Vector Machine (SVM) and K -nearest neighbors (KNN) to predict the priority of bug reports. The performance of the proposed RNN-LSTM model has been analyzed over the JIRA dataset with more than 2000 bug reports. The proposed model has been found 90% accurate in comparison with KNN (74%) and SVM (87%). On average, RNN-LSTM improves the F -measure by 3% compared to SVM and 15.2% compared to KNN. Conclusion: It concluded that LSTM predicts and assigns the priority of the bug more accurately and effectively than the other ML algorithms (KNN and SVM). LSTM significantly improves the average F -measure in comparison to the other classifiers. The study showed that LSTM reported the best performance results based on all performance measures (Accuracy = 0.908, AUC = 0.95, F -measure = 0.892).","PeriodicalId":11452,"journal":{"name":"e Informatica Softw. Eng. J.","volume":"3 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"e Informatica Softw. Eng. J.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.37190/e-inf210102","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

Context: Predicting the priority of bug reports is an important activity in software maintenance. Bug priority refers to the order in which a bug or defect should be resolved. A huge number of bug reports are submitted every day. Manual filtering of bug reports and assigning priority to each report is a heavy process, which requires time, resources, and expertise. In many cases mistakes happen when priority is assigned manually, which prevents the developers from finishing their tasks, fixing bugs, and improve the quality. Objective: Bugs are widespread and there is a noticeable increase in the number of bug reports that are submitted by the users and teams’ members with the presence of limited resources, which raises the fact that there is a need for a model that focuses on detecting the priority of bug reports, and allows developers to find the highest priority bug reports. This paper presents a model that focuses on predicting and assigning a priority level (high or low) for each bug report. Method: This model considers a set of factors (indicators) such as component name, summary, assignee, and reporter that possibly affect the priority level of a bug report. The factors are extracted as features from a dataset built using bug reports that are taken from closed-source projects stored in the JIRA bug tracking system, which are used then to train and test the framework. Also, this work presents a tool that helps developers to assign a priority level for the bug report automatically and based on the LSTM’s model prediction. Results: Our experiments consisted of applying a 5-layer deep learning RNN-LSTM neural network and comparing the results with Support Vector Machine (SVM) and K -nearest neighbors (KNN) to predict the priority of bug reports. The performance of the proposed RNN-LSTM model has been analyzed over the JIRA dataset with more than 2000 bug reports. The proposed model has been found 90% accurate in comparison with KNN (74%) and SVM (87%). On average, RNN-LSTM improves the F -measure by 3% compared to SVM and 15.2% compared to KNN. Conclusion: It concluded that LSTM predicts and assigns the priority of the bug more accurately and effectively than the other ML algorithms (KNN and SVM). LSTM significantly improves the average F -measure in comparison to the other classifiers. The study showed that LSTM reported the best performance results based on all performance measures (Accuracy = 0.908, AUC = 0.95, F -measure = 0.892).
基于RNN-LSTM神经网络的深度学习Bug优先级预测
背景:预测bug报告的优先级是软件维护中的一项重要活动。Bug优先级指的是解决Bug或缺陷的顺序。每天都会提交大量的bug报告。手动过滤bug报告并为每个报告分配优先级是一个繁重的过程,它需要时间、资源和专业知识。在许多情况下,当手动分配优先级时会发生错误,这会阻止开发人员完成他们的任务,修复错误,并提高质量。目标:bug很普遍,用户和团队成员在有限的资源下提交的bug报告数量明显增加,这就提出了一个事实,即需要一个专注于检测bug报告优先级的模型,并允许开发人员找到最高优先级的bug报告。本文提出了一个模型,该模型着重于预测和分配每个bug报告的优先级级别(高或低)。方法:该模型考虑一组因素(指示器),例如组件名称、摘要、分配人员和报告人员,这些因素可能会影响bug报告的优先级。这些因素作为特征从使用bug报告构建的数据集中提取出来,这些bug报告来自存储在JIRA bug跟踪系统中的闭源项目,然后用于训练和测试框架。此外,这项工作还提供了一个工具,可以帮助开发人员根据LSTM的模型预测,自动为bug报告分配优先级。结果:我们的实验包括应用5层深度学习RNN-LSTM神经网络,并将结果与支持向量机(SVM)和K近邻(KNN)进行比较,以预测bug报告的优先级。在JIRA数据集上分析了该RNN-LSTM模型的性能,该数据集包含2000多个错误报告。与KNN(74%)和SVM(87%)相比,该模型的准确率为90%。平均而言,RNN-LSTM比SVM提高了3%,比KNN提高了15.2%。结论:LSTM比其他ML算法(KNN和SVM)更准确有效地预测和分配bug的优先级。与其他分类器相比,LSTM显著提高了平均F -测度。研究表明,LSTM在所有性能指标上的表现最佳(准确率= 0.908,AUC = 0.95, F -measure = 0.892)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信