arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.01132cs.SE
收藏

海报:识别低故障风险的方法

Poster: Identification of Methods with Low Fault Risk

Rainer Niedermayr, Tobias Röhm, Stefan Wagner

摘要:

测试资源通常是有限的,因此通常不可能在发布之前完全测试应用程序。因此,测试人员需要将他们的活动集中在相关的代码区域。在本文中,我们介绍了一种逆缺陷预测方法,以确定几乎没有任何故障的方法。我们将我们的方法应用于六个Java开源项目,并表明平均31.6%的项目方法具有较低的故障风险;它们包含的总平均只有5.8%的所有故障。此外,结果表明,与缺陷预测不同,我们的方法也可以应用于跨项目预测场景。因此,反向缺陷预测可以帮助确定未测试代码区域的优先级,并指导测试人员提高故障检测概率。

英文摘要:

Test resources are usually limited and therefore it is often not possible to completely test an application before a release. Therefore, testers need to focus their activities on the relevant code regions. In this paper, we introduce an inverse defect prediction approach to identify methods that contain hardly any faults. We applied our approach to six Java open-source projects and show that on average 31.6% of the methods of a project have a low fault risk; they contain in total, on average, only 5.8% of all faults. Furthermore, the results suggest that, unlike defect prediction, our approach can also be applied in cross-project prediction scenarios. Therefore, inverse defect prediction can help prioritize untested code areas and guide testers to increase the fault detection probability.

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

↑