...
首页> 外文期刊>IEEE Transactions on Reliability >Evaluation of Mutation Testing in a Nuclear Industry Case Study
【24h】

Evaluation of Mutation Testing in a Nuclear Industry Case Study

机译:核工业案例研究中的变异测试评估

获取原文
获取原文并翻译 | 示例
           

摘要

For software quality assurance, many safety-critical industries appeal to the use of dynamic testing and structural coverage criteria. However, there are reasons to doubt the adequacy of such practices. Mutation testing has been suggested as an alternative or complementary approach but its cost has traditionally hindered its adoption by industry, and there are limited studies applying it to real safety-critical code. This paper evaluates the effectiveness of state-of-the-art mutation testing on safety-critical code from within the U.K. nuclear industry, in terms of revealing flaws in test suites that already meet the structural coverage criteria recommended by relevant safety standards. It also assesses the practical feasibility of implementing such mutation testing in a real setting. We applied a conventional selective mutation approach to a C codebase supplied by a nuclear industry partner and measured the mutation score achieved by the existing test suite. We repeated the experiment using trivial compiler equivalence (TCE) to assess the benefit that it might provide. Using a conventional approach, it first appeared that the existing test suite only killed 82% of the mutants, but applying TCE revealed that it killed 92%. The difference was due to equivalent or duplicate mutants that TCE eliminated. We then added new tests to kill all the surviving mutants, increasing the test suite size by 18% in the process. In conclusion, mutation testing can potentially improve fault detection compared to structural-coverage-guided testing, and may be affordable in a nuclear industry context. The industry feedback on our results was positive, although further evidence is needed from application of mutation testing to software with known real faults.
机译:为了保证软件质量,许多对安全至关重要的行业都呼吁使用动态测试和结构覆盖标准。但是,有理由怀疑这种做法是否足够。有人建议将变异测试作为一种替代方法或补充方法,但传统上它的成本阻碍了其在业界的应用,并且仅有有限的研究将其应用于实际的安全关键代码。本文通过揭示已经满足相关安全标准建议的结构覆盖标准的测试套件中的缺陷,评估了英国核工业内部针对安全关键代码的最新突变测试的有效性。它还评估了在实际环境中实施此类突变测试的实际可行性。我们对核工业合作伙伴提供的C代码库应用了常规的选择性突变方法,并测量了现有测试套件获得的突变得分。我们使用平凡的编译器等效项(TCE)重复了该实验,以评估它可能带来的好处。使用常规方法,首先似乎是现有的测试套件仅杀死了82%的突变体,但应用TCE却发现它杀死了92%的突变体。差异是由于TCE消除的等效或重复突变体造成的。然后,我们添加了新的测试以杀死所有幸存的突变体,在此过程中,测试套件的大小增加了18%。总之,与结构覆盖指导测试相比,突变测试可以潜在地改善故障检测,并且在核工业环境中可以承受。尽管我们需要将突变测试应用于具有已知实际故障的软件,但仍需要进一步的证据,行业对我们的结果的反馈是积极的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号