首页> 外文期刊>ACM transactions on software engineering and methodology >The Effect of Program and Model Structure on the Effectiveness of MC/DC Test Adequacy Coverage
【24h】

The Effect of Program and Model Structure on the Effectiveness of MC/DC Test Adequacy Coverage

机译:程序和模型结构对MC / DC测试足够覆盖率有效性的影响

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

摘要

Test adequacy metrics defined over the structure of a program, such as Modified Condition and Decision Coverage (MC/DC), are used to assess testing efforts. However, MC/DC can be "cheated" by restructuring a program to make it easier to achieve the desired coverage. This is concerning, given the importance of MC/DC in assessing the adequacy of test suites for critical systems domains. In this work, we have explored the impact of implementation structure on the efficacy of test suites satisfying the MC/DC criterion using four real-world avionics systems. Our results demonstrate that test suites achieving MC/DC over implementations with structurally complex Boolean expressions are generally larger and more effective than test suites achieving MC/DC over functionally equivalent, but structurally simpler, implementations. Additionally, we found that test suites generated over simpler implementations achieve significantly lower MC/DC and fault-finding effectiveness when applied to complex implementations, whereas test suites generated over the complex implementation still achieve high MC/DC and attain high fault finding over the simpler implementation. By measuring MC/DC over simple implementations, we can significantly reduce the cost of testing, but in doing so, we also reduce the effectiveness of the testing process. Thus, developers have an economic incentive to "cheat" the MC/DC criterion, but this cheating leads to negative consequences. Accordingly, we recommend that organizations require MC/DC over a structurally complex implementation for testing purposes to avoid these consequences.
机译:在程序的结构上定义的测试充足性指标(例如,修改条件和决策覆盖率(MC / DC))用于评估测试工作。但是,可以通过重组程序来“欺骗” MC / DC,以使其更轻松地实现所需的覆盖范围。考虑到MC / DC在评估关键系统领域的测试套件的适当性方面的重要性,这一点令人担忧。在这项工作中,我们使用四个实际的航空电子系统,探讨了实施结构对满足MC / DC标准的测试套件的功效的影响。我们的结果表明,与在功能上等效但在结构上更简单的实现上实现MC / DC的测试套件相比,在具有结构复杂的布尔表达式的实现上实现MC / DC的测试套件通常更大,更有效。此外,我们发现,将简单的实施方案生成的测试套件应用于复杂的实施方案时,其MC / DC和故障查找的效率会大大降低,而通过复杂的实施方案生成的测试套件仍可实现较高的MC / DC,并且在较简单的实施方案中仍可实现较高的故障发现实施。通过在简单的实现上测量MC / DC,我们可以显着降低测试成本,但是这样做还可以降低测试过程的有效性。因此,开发人员有经济动机去“欺骗” MC / DC标准,但是这种作弊导致负面后果。因此,我们建议组织出于测试目的而在结构复杂的实现上要求MC / DC,以避免这些后果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号