首页> 外文会议>IEEE International Conference on Software Maintenance and Evolution >A Cost-Effective Approach for Hyper-Parameter Tuning in Search-based Test Case Generation
【24h】

A Cost-Effective Approach for Hyper-Parameter Tuning in Search-based Test Case Generation

机译:基于搜索的测试用例生成中的超参数调整的一种经济有效的方法

获取原文

摘要

Search-based test case generation, which is the application of meta-heuristic search for generating test cases, has been studied a lot in the literature, lately. Since, in theory, the performance of meta-heuristic search methods is highly dependent on their hyper-parameters, there is a need to study hyper-parameter tuning in this domain. In this paper, we propose a new metric ("Tuning Gain"), which estimates how cost-effective tuning a particular class is. We then predict "Tuning Gain" using static features of source code classes. Finally, we prioritize classes for tuning, based on the estimated "Tuning Gains" and spend the tuning budget only on the highly-ranked classes. To evaluate our approach, we exhaustively analyze 1,200 hyper-parameter configurations of a well-known search-based test generation tool (EvoSuite) for 250 classes of 19 projects from benchmarks such as SF110 and SBST2018 tool competition. We used a tuning approach called Meta-GA and compared the tuning results with and without the proposed class prioritization. The results show that for a low tuning budget, prioritizing classes outperforms the alternatives in terms of extra covered branches (10 times more than a traditional global tuning). However, as the budget increases class selection will not be as effective, but still tuning in the class-level outperforms global tuning, by far.
机译:基于搜索的测试用例生成是元启发式搜索生成测试用例的应用,最近在文献中进行了很多研究。从理论上讲,由于元启发式搜索方法的性能高度依赖于其超参数,因此有必要在此领域研究超参数调整。在本文中,我们提出了一个新的度量标准(“ Tuning Gain”),该度量标准估计了调整特定类的成本效益如何。然后,我们使用源代码类的静态功能预测“调整增益”。最后,我们根据估算的“ Tuning Gains”来确定要优化的课程的优先级,并只将调整预算用于排名较高的课程。为了评估我们的方法,我们从SF110和SBST2018工具竞争等基准中,针对19个项目的250类,详尽分析了一种著名的基于搜索的测试生成工具(EvoSuite)的1200个超参数配置。我们使用了一种称为Meta-GA的调整方法,并比较了有无建议的类别优先级时的调整结果。结果表明,在较低的调整预算下,在额外覆盖的分支方面,对类进行优先级排序要优于其他方法(比传统的全局调整高10倍)。但是,随着预算的增加,班级选择将不会那么有效,但到目前为止,班级级别的调整仍然胜过全局调整。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号