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

C++11/14基于常见错误模式的变异算子

C++11/14 Mutation Operators Based on Common Fault Patterns

Ali Parsai, Serge Demeyer, Seph De Busser

摘要:

C++11/14标准提供了丰富的功能,旨在帮助程序员编写更好的代码。不幸的是,其中一些特性可能会导致细微的编程错误,在代码审查期间可能会被忽视。在本文中,我们提出了四个新的变异操作的C++11/14的基础上常见的故障模式,允许验证是否有一个单元测试套件是能够测试对这样的故障。我们通过对七个现实生活中的软件系统进行案例研究,验证了所提出的变异算子的相关性。

英文摘要:

The C++11/14 standard offers a wealth of features aimed at helping programmers write better code. Unfortunately, some of these features may cause subtle programming faults, likely to go unnoticed during code reviews. In this paper we propose four new mutation operators for C++11/14 based on common fault patterns, which allow to verify whether a unit test suite is capable of testing against such faults. We validate the relevance of the proposed mutation operators by performing a case study on seven real-life software systems.

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

↑