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

用于软件质量保证的机器学习技术综述

Machine Learning Techniques for Software Quality Assurance: A Survey

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院)

Safa Omri, Carsten Sinz

摘要:

近年来,机器学习技术已经被应用到越来越多的应用领域,包括软件工程,特别是软件质量保证。重要的应用领域有,例如,软件缺陷预测或测试用例选择和优先级排序。预测大型软件系统中哪些组件在下一个版本中最有可能包含最多的错误的能力有助于更好地管理项目,包括早期估计可能的发布延迟,并提供指导纠正措施以提高软件质量。然而,发展强大的故障预测模型是一项具有挑战性的任务,许多技术已经在文献中提出。与评估软件系统中容易出现缺陷的部分密切相关的是如何选择测试用例并确定其优先级的问题,实际上,测试用例优先级已被广泛研究,以减少发现软件中回归所需的时间。在本调查中,我们讨论了故障预测和测试用例优先级排序的各种方法,并解释了在最近的研究中,用于故障预测的深度学习算法如何帮助弥合程序语义和故障预测特征之间的差距。我们还回顾了最近提出的测试用例优先级(TCP)的机器学习方法,以及它们降低回归测试成本而不会对故障检测能力产生负面影响的能力。

英文摘要:

Over the last years, machine learning techniques have been applied to more and more application domains, including software engineering and, especially, software quality assurance. Important application domains have been, e.g., software defect prediction or test case selection and prioritization. The ability to predict which components in a large software system are most likely to contain the largest numbers of faults in the next release helps to better manage projects, including early estimation of possible release delays, and affordably guide corrective actions to improve the quality of the software. However, developing robust fault prediction models is a challenging task and many techniques have been proposed in the literature. Closely related to estimating defect-prone parts of a software system is the question of how to select and prioritize test cases, and indeed test case prioritization has been extensively researched as a means for reducing the time taken to discover regressions in software. In this survey, we discuss various approaches in both fault prediction and test case prioritization, also explaining how in recent studies deep learning algorithms for fault prediction help to bridge the gap between programs' semantics and fault prediction features. We also review recently proposed machine learning methods for test case prioritization (TCP), and their ability to reduce the cost of regression testing without negatively affecting fault detection capabilities.

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

↑