论文标题
C ++ 11/14突变算子基于常见的故障模式
C++11/14 Mutation Operators Based on Common Fault Patterns
论文作者
论文摘要
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.