基于度量的软件缺陷严重性预测模型的建立与分析
Towards Developing and Analysing Metric-Based Software Defect Severity Prediction Model
摘要:
在一个关键的软件系统中,由于缺陷的不断出现,测试人员不得不花费大量的时间和精力来维护软件。在这些缺陷中,一些严重的缺陷可能会对软件产生不利影响。为了减少测试人员的时间和精力,文献中已经提出了许多机器学习模型,其使用文档化的缺陷报告来自动预测有缺陷的软件模块的严重性。与传统的方法相比,在这项工作中,我们提出了一个基于度量的软件缺陷严重性预测(SDSP)模型,使用自训练半监督学习的方法来分类的严重性有缺陷的软件模块。该方法是建立在未标记和标记的缺陷严重性数据的混合物。自训练工作的基础上的决策树分类器分配的伪类标签的未标记的实例。预测是有希望的,因为自我训练成功地分配合适的类标签的未标记的实例。另一方面,许多研究已经涵盖了提出预测方法以及缺陷严重性预测模型的方法学方面,从预测模型估计项目属性的差距仍然没有得到解决。为了弥补这一差距,我们提出了五个项目特定的措施,如风险因素(RF),节省预算的百分比(PSB),节省预算的损失(LSB),剩余服务时间(ESTA)和免费服务时间(GST)从预测中捕获项目结果。类似于传统的措施,这些措施也计算从观察到的混淆矩阵。这些度量用于分析预测模型对软件项目的影响。
英文摘要:
In a critical software system, the testers have to spend an enormous amount of time and effort to maintain the software due to the continuous occurrence of defects. Among such defects, some severe defects may adversely affect the software. To reduce the time and effort of a tester, many machine learning models have been proposed in the literature, which use the documented defect reports to automatically predict the severity of the defective software modules. In contrast to the traditional approaches, in this work we propose a metric-based software defect severity prediction (SDSP) model that uses a self-training semi-supervised learning approach to classify the severity of the defective software modules. The approach is constructed on a mixture of unlabelled and labelled defect severity data. The self-training works on the basis of a decision tree classifier to assign the pseudo-class labels to the unlabelled instances. The predictions are promising since the self-training successfully assigns the suitable class labels to the unlabelled instances. On the other hand, numerous research studies have covered proposing prediction approaches as well as the methodological aspects of defect severity prediction models, the gap in estimating project attributes from the prediction model remains unresolved. To bridge the gap, we propose five project specific measures such as the Risk-Factor (RF), the Percent of Saved Budget (PSB), the Loss in the Saved Budget (LSB), the Remaining Service Time (RST) and Gratuitous Service Time (GST) to capture project outcomes from the predictions. Similar to the traditional measures, these measures are also calculated from the observed confusion matrix. These measures are used to analyse the impact that the prediction model has on the software project.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。