首页> 外文期刊>Software Testing, Verification and Reliability >It really does matter how you normalize the branch distance in search-based software testing
【24h】

It really does matter how you normalize the branch distance in search-based software testing

机译:在基于搜索的软件测试中如何标准化分支距离确实很重要

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

摘要

The use of search algorithms for test data generation has seen many successful results. For structural criteria like branch coverage, heuristics have been designed to help the search. The most common heuristic is the use of approach level (usually represented with an integer) to reward test cases whose executions get close (in the control flow graph) to the target branch. To solve the constraints of the predicates in the control flow graph, the branch distance is commonly employed. These two measures are linearly combined. Since the approach level is more important, the branch distance is normalized, often in the range [0,1]. In this paper, different types of normalizing functions are analyzed. The analyses show that the one that is usually employed in the literature has several flaws. The paper presents a different normalizing function that is very simple and does not suffer from these limitations. Empirical and analytical analyses are carried out to compare these two functions. In particular, their effect is studied on commonly used search algorithms, such as Hill Climbing, Simulated Annealing and Genetic Algorithms.
机译:使用搜索算法生成测试数据已获得许多成功的结果。对于诸如分支机构覆盖率之类的结构标准,启发式设计旨在帮助搜索。最常见的启发式方法是使用方法级别(通常用整数表示)来奖励其执行(在控制流程图中)接近目标分支的测试用例。为了解决控制流程图中谓词的约束,通常采用分支距离。这两个量度是线性组合的。由于进近级别更为重要,因此分支距离通常在[0,1]范围内进行归一化。在本文中,分析了不同类型的归一化函数。分析表明,文献中通常采用的方法有几个缺陷。本文提出了一种不同的归一化函数,该函数非常简单且不受这些限制的影响。进行经验和分析分析以比较这两个功能。特别是,在常用的搜索算法(例如,爬山,模拟退火和遗传算法)上研究了它们的影响。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号