首页> 外文会议>International MultiConference of Engineers and Computer Scientists >Automated Test Data Generation For Programs Having Array Of Variable Length And Loops With Variable Number Of Iteration
【24h】

Automated Test Data Generation For Programs Having Array Of Variable Length And Loops With Variable Number Of Iteration

机译:自动测试数据生成具有可变长度阵列的程序和具有可变数量的迭代的循环

获取原文

摘要

In this paper, we propose a heuristic called longest path criterion for test data generation of programs having arrays of variable length, loops with variable number of iteration. Our heuristic is computed by a mathematical relation of array size(arr) and number of iteration(k). The relation we found is based on our experiment result at a saturation point after which no more longer path is executed. Our relation computed k can be found directly in stead of trial and error procedure for finding k. Test data with our k achieves better code coverage. We achieved 97% accuracy for predicting the value of k generating the longest path. The time required to generate test data for longest path criterion shows the effectiveness of our heuristic.
机译:在本文中,我们提出了一种称为最长路径标准的启发式,用于测试具有可变长度阵列的程序的数据生成,循环具有可变迭代的循环。我们的启发式是通过数组大小(ARR)和迭代次数(k)的数学关系来计算的。我们找到的关系基于我们的实验结果在饱和点之后,在执行更长的路径之后。我们的关系计算k可以直接在试验和错误过程中直接找到,用于查找k。使用K的测试数据实现了更好的代码覆盖范围。我们实现了97%的准确性,以预测k的值产生最长的路径。为最长路径标准生成测试数据所需的时间显示了我们启发式的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号