首页> 外文会议>IEEE International Conference on Software Analysis, Evolution, and Reengineering >Improving fault localization for Simulink models using search-based testing and prediction models
【24h】

Improving fault localization for Simulink models using search-based testing and prediction models

机译:使用基于搜索的测试和预测模型改善Simulink模型的故障定位

获取原文

摘要

One promising way to improve the accuracy of fault localization based on statistical debugging is to increase diversity among test cases in the underlying test suite. In many practical situations, adding test cases is not a cost-free option because test oracles are developed manually or running test cases is expensive. Hence, we require to have test suites that are both diverse and small to improve debugging. In this paper, we focus on improving fault localization of Simulink models by generating test cases. We identify three test objectives that aim to increase test suite diversity. We use these objectives in a search-based algorithm to generate diversified but small test suites. To further minimize test suite sizes, we develop a prediction model to stop test generation when adding test cases is unlikely to improve fault localization. We evaluate our approach using three industrial subjects. Our results show (1) the three selected test objectives are able to significantly improve the accuracy of fault localization for small test suite sizes, and (2) our prediction model is able to maintain almost the same fault localization accuracy while reducing the average number of newly generated test cases by more than half.
机译:一种基于统计调试来提高故障定位准确性的有前途的方法是增加基础测试套件中测试用例之间的多样性。在许多实际情况下,添加测试用例并不是免费的选择,因为测试预告片是手动开发的,或者运行测试用例很昂贵。因此,我们需要拥有多样化且规模较小的测试套件,以提高调试效率。在本文中,我们专注于通过生成测试用例来改善Simulink模型的故障定位。我们确定了三个旨在增加测试套件多样性的测试目标。我们在基于搜索的算法中使用这些目标,以生成多样化但规模较小的测试套件。为了进一步最小化测试套件的大小,当添加测试用例不太可能改善故障定位时,我们将开发一个预测模型来停止测试的生成。我们使用三个行业主题来评估我们的方法。我们的结果表明(1)选择的三个测试目标能够显着提高小尺寸测试套件的故障定位精度,(2)我们的预测模型能够保持几乎相同的故障定位精度,同时减少平均故障数量。新生成的测试用例增加了一半以上。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号