首页> 外国专利> CODE COVERAGE ANALYSIS METHOD AND APPLICATION SERVER

CODE COVERAGE ANALYSIS METHOD AND APPLICATION SERVER

机译:代码覆盖率分析方法及应用服务器

摘要

A code coverage analysis method, an application server and a computer-readable storage medium, the method comprising: analyzing the structure of a program source code when receiving said source code which is sent by a terminal device (S301); generating function logic branches of the source code according to the structure of the source code (S302); comparing the function logic branches of the source code to test project logic branches that are pre-stored in the application server (S303); generating a function logic branch coverage report of the source code according to a comparison result (S304); and feeding the function logic branch coverage report back to the terminal device (S305). With the described code coverage analysis method, whether a source code already covers all function logic branches may be determined, so that the function integrity of a test project is guaranteed.
机译:一种代码覆盖率分析方法,应用服务器和计算机可读存储介质,该方法包括:当接收到由终端设备发送的所述源代码时,分析程序源代码的结构(S301);根据所述源代码的结构生成所述源代码的功能逻辑分支(S302);比较源代码的功能逻辑分支以测试预存储在应用服务器中的项目逻辑分支(S303);根据比较结果生成源代码的功能逻辑分支覆盖报告(S304);将功能逻辑分支覆盖率报告反馈给终端设备(S305)。利用所描述的代码覆盖率分析方法,可以确定源代码是否已经覆盖所有功能逻辑分支,从而确保测试项目的功能完整性。

著录项

  • 公开/公告号WO2019071891A1

    专利类型

  • 公开/公告日2019-04-18

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2018CN76141

  • 发明设计人 XIONG XING;

    申请日2018-02-10

  • 分类号G06F11/36;

  • 国家 WO

  • 入库时间 2022-08-21 11:55:14

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号