【24h】

Scaling Testing of Refactoring Engines

机译:重构引擎的缩放测试

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Researchers have proposed a number of automated techniques for testing refactoring engines. However, they may have limitations related to the program generator, time consumption, kinds of bugs, and debugging. We propose a technique to scale testing of refactoring engines. We improve expressiveness of a program generator, use a technique to skip some test inputs to improve performance, and propose new oracles to detect behavioral changes using change impact analysis, overly strong conditions using mutation testing, and transformation issues related to the refactoring definitions. We evaluate our technique in 24 refactoring implementations of Java (Eclipse and JRRT) and C (Eclipse) and found 119 bugs. The technique reduces the time in 96% using skips while misses only 7% of the bugs. Using the new oracle to identify overly strong conditions, it detects 37% of new bugs while misses 16% of the bugs comparing with a previous technique. Furthermore, the proposed oracle facilitates debugging by indicating the overly strong conditions.
机译:研究人员提出了许多用于测试重构引擎的自动化技术。但是,它们可能具有与程序生成器,时间消耗,错误类型和调试有关的限制。我们提出了一种对重构引擎进行规模测试的技术。我们提高了程序生成器的表达能力,使用了一种跳过某些测试输入以提高性能的技术,并提出了使用变化影响分析来检测行为变化,使用突变测试过强的条件以及与重构定义相关的转换问题的新预言。我们在Java(Eclipse和JRRT)和C(Eclipse)的24种重构实现中评估了我们的技术,发现了119个错误。该技术使用跳过功能将时间减少了96%,而仅丢失了7%的错误。与以前的技术相比,它使用新的预兆来识别过强的条件,它可以检测到37%的新错误,而错过了16%的错误。此外,提出的预言机通过指示过强的条件来促进调试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号