首页> 外国专利> Generation of code coverage information during testing of a code sequence

Generation of code coverage information during testing of a code sequence

机译:在测试代​​码序列期间的代码覆盖信息

摘要

A method for generating code coverage information during testing of a code sequence comprising decisions (e.g. conditional statements), each having one or more conditions as inputs, includes executing the code sequence on target processing circuitry under the control of test stimuli and maintaining, in memory, a code coverage table 14 for at least one decision. When the decision is evaluated, a bitstring (bit field) 36 is created, each position in the bitstring being associated with one of the conditions, and the value of that bit representing the true/false value of that condition. The bit string acts as an index pointing to the table row associated with that combination of argument values. A confirmation value is recorded in that entry, indicating whether the decision has been evaluated for that set of input values. The code coverage table may be evaluated to determine compliance with at least one MC/DC code coverage criterion.
机译:一种用于在测试包括决策(例如,条件语句)的代码序列的代码序列的方法包括一个或多个条件作为输入,包括在测试刺激的控制下在目标处理电路上执行代码序列,并在存储器中保持目标处理电路上的代码序列,代码覆盖表14用于至少一个决定。当评估决定时,创建位字符串(比特字段)36,位字符串中的每个位置与其中一个条件相关联,以及表示该条件的真/假值的比特的值。位字符串充当指向与参数值组合关联的表行的索引。在该条目中记录确认值,指示是否已为该组输入值进行评估。可以评估代码覆盖表以确定符合至少一个MC / DC码覆盖标准。

著录项

  • 公开/公告号GB2577102B

    专利类型

  • 公开/公告日2021-03-03

    原文格式PDF

  • 申请/专利权人 ARM LIMITED;

    申请/专利号GB20180014963

  • 发明设计人 SANNE WOUDA;ROBERT JAMES CATHERALL;

    申请日2018-09-14

  • 分类号G06F11/36;

  • 国家 GB

  • 入库时间 2022-08-24 17:27:14

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号