...
首页> 外文期刊>Fortschritte der Physik >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.
机译:对于软件质量保证,许多安全关键行业吸引了使用动态测试和结构覆盖标准。但是,有理由怀疑这种做法的充分性。突变测试已被提出作为替代或补充方法,但其成本传统上阻碍了行业的采用,并且有限的研究将其应用于真正的安全关键代码。本文评估了从U.K.核工业内部的最先进的突变测试对安全关键代码的有效性。在已经满足相关安全标准推荐的结构覆盖标准的测试套件中泄露缺陷。它还评估了在真实环境中实施这种突变测试的实际可行性。我们将传统的选择性突变方法应用于核工业伴侣提供的C码基,并测量了现有的测试套件实现的突变分数。我们使用琐碎的编译器等价(TCE)重复了实验,以评估它可能提供的益处。使用常规方法,首先似乎现有的测试套件仅杀死了82%的突变体,但申请TCE显示它造成92%。差异是由于TCE消除的等同物或重复突变体。然后,我们添加了新测试以杀死所有存活的突变体,在过程中将测试套件尺寸增加18%。总之,与结构覆盖引导检测相比,突变测试可能会提高故障检测,并且可以在核工业背景中负担得起。业界对我们的结果的反馈是积极的,尽管需要进一步证据突变测试对具有已知实际故障的软件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号