arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.05710cs.SEcs.LG
收藏

学习方法对软件故障倾向预测的不可估量的影响

The Untold Impact of Learning Approaches on Software Fault-Proneness Predictions

West Virginia University(西弗吉尼亚大学);Iowa State University(爱荷华州立大学);West Virginia University Institute of Technology(西弗吉尼亚大学理工学院)

Mohammad Jamil Ahmad, Katerina Goseva-Popstojanova, Robyn R. Lutz

摘要:

软件故障倾向性预测是一个活跃的研究领域,许多因素影响预测性能进行了广泛的研究。然而,学习方法的影响(即,用于训练的数据和被预测的目标变量的细节)对预测性能的影响还没有被研究,除了一个初始工作。本文探讨了两种学习方法,useAllPredictAll和usePredictPost,对软件故障倾向预测的性能,无论是内部发布和跨发布的影响。实证结果是基于从12个开源项目的64个版本中提取的数据。结果表明,学习方法有一个实质性的,通常是不承认的,对分类性能的影响。具体来说,使用useAllPredictAll比使用usePrePredictPost学习方法带来更好的性能,无论是在发布内还是跨发布。此外,本文揭示了,对于发布内预测,这种分类性能的差异是由于两种学习方法中不同程度的类不平衡。当类不平衡得到解决时,学习方法之间的性能差异被消除。我们的研究结果意味着,学习方法应始终明确确定其对软件故障倾向预测的影响。本文最后讨论了我们的研究结果和实践的潜在后果。

英文摘要:

Software fault-proneness prediction is an active research area, with many factors affecting prediction performance extensively studied. However, the impact of the learning approach (i.e., the specifics of the data used for training and the target variable being predicted) on the prediction performance has not been studied, except for one initial work. This paper explores the effects of two learning approaches, useAllPredictAll and usePrePredictPost, on the performance of software fault-proneness prediction, both within-release and across-releases. The empirical results are based on data extracted from 64 releases of twelve open-source projects. Results show that the learning approach has a substantial, and typically unacknowledged, impact on the classification performance. Specifically, using useAllPredictAll leads to significantly better performance than using usePrePredictPost learning approach, both within-release and across-releases. Furthermore, this paper uncovers that, for within-release predictions, this difference in classification performance is due to different levels of class imbalance in the two learning approaches. When class imbalance is addressed, the performance difference between the learning approaches is eliminated. Our findings imply that the learning approach should always be explicitly identified and its impact on software fault-proneness prediction considered. The paper concludes with a discussion of potential consequences of our results for both research and practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑