首页> 外国专利> METHOD FOR PERFORMING CARED-ZONE CODE COVERAGE EVALUATION WITH NO SOURCE CODE MODIFICATION

METHOD FOR PERFORMING CARED-ZONE CODE COVERAGE EVALUATION WITH NO SOURCE CODE MODIFICATION

机译:无源代码修改的区域代码覆盖率评估方法

摘要

A code coverage processing method includes: receiving a source code; executing a program according to the source code, wherein the source code is categorized into basic blocks, and each line included in a same basic block is executed a same number of times; creating a line tracking file having a plurality of line tracking records for a plurality of lines of the source code, respectively, wherein each of the line tracking records indicates how many times a corresponding line in the source code has been executed; receiving a non-cared zone setting which indicates at least one of the basic blocks in the source code is selected as a part of a non-cared zone; computing a code coverage result of the source code according to the line tracking file and the non-cared zone setting; and providing the code coverage result.
机译:一种代码覆盖处理方法,包括:接收源代码;根据所述源代码执行程序,所述源代码被分类为基本块,包含在同一基本块中的每一行执行相同的次数;创建行跟踪文件,该行跟踪文件分别具有针对源代码的多行的多个行跟踪记录,其中,每个行跟踪记录指示源代码中的相应行已执行了多少次;接收表示源代码中的至少一个基本块的非关注区域设置被选择为非关注区域的一部分;根据所述线路跟踪文件和所述非关注区域设置,计算所述源代码的代码覆盖结果;并提供代码覆盖率结果。

著录项

  • 公开/公告号US2018173610A1

    专利类型

  • 公开/公告日2018-06-21

    原文格式PDF

  • 申请/专利权人 MEDIATEK INC.;

    申请/专利号US201615382761

  • 发明设计人 KUO-CHENG LEE;YEN-HWEI HSIEH;

    申请日2016-12-19

  • 分类号G06F11/36;

  • 国家 US

  • 入库时间 2022-08-21 13:00:24

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号