首页> 外国专利> System for metamorphic relationship based code testing using mutant generators

System for metamorphic relationship based code testing using mutant generators

机译:基于变质关系的系统使用突变发生器的代码测试

摘要

Embodiments of the invention are directed to metamorphic relationship based code testing using mutant generators. The system is configured for identifying and remediating defects in an original program based on constructing at least one mutated program by distorting the original program, and analyzing expression of mutants in test results. In particular, the system receives a request to perform defect analysis of an original program. In response, the system constructs a first mutated program by embedding one or more mutants in the original program code. Moreover, the system typically maps the one or more mutants to one or more metamorphic relationships of process functions of the original program. The system may then implement tests of the original program and the first mutated program by providing one or more predetermined test cases as input to both, to determine whether the original program comprises at least one defect.
机译:本发明的实施例涉及使用突变发生器的基于代码测试的古代关系。该系统被配置用于基于构建至少一个突变的程序来识别和修复原始程序中的缺陷,通过扭曲原始程序,并分析测试结果中的突变体的表达。特别地,系统接收对执行原始程序的缺陷分析的请求。作为响应,系统通过在原始程序代码中嵌入一个或多个突变体来构造第一突变程序。此外,系统通常将一个或多个突变体映射到原始程序的过程功能的一个或多个变质关系。然后,系统可以通过将一个或多个预定的测试用例作为输入来实现原始程序和第一突变程序的测试,以确定原始程序是否包括至少一个缺陷。

著录项

  • 公开/公告号US10970199B2

    专利类型

  • 公开/公告日2021-04-06

    原文格式PDF

  • 申请/专利权人 BANK OF AMERICA CORPORATION;

    申请/专利号US202016858307

  • 发明设计人 MADHUSUDHANAN KRISHNAMOORTHY;

    申请日2020-04-24

  • 分类号G06F8/40;G06F11/36;G06N20;

  • 国家 US

  • 入库时间 2024-06-14 21:24:34

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号