首页> 外国专利> GENERATING COVERAGE METRICS FOR BLACK-BOX TESTING

GENERATING COVERAGE METRICS FOR BLACK-BOX TESTING

机译:生成用于黑盒测试的覆盖率度量

摘要

Generating coverage metrics for black-box testing includes performing static analysis of a program code to be tested. The static analysis includes identifying variables whose value depends on inputs of the program code. Code blocks are inserted into the program code to be tested. The code blocks insert vulnerabilities into the code at locations where the variables are modified. The code blocks violate one or more properties to be tested. A testing scan is applied to the program code and vulnerabilities are located by the test. A coverage metric is output based on the ratio of the located vulnerabilities to the total number of inserted vulnerabilities in the program code.
机译:生成用于黑盒测试的覆盖率指标包括对要测试的程序代码执行静态分析。静态分析包括识别变量,这些变量的值取决于程序代码的输入。代码块被插入到要测试的程序代码中。代码块在变量被修改的位置将漏洞插入代码中。代码块违反了要测试的一个或多个属性。将测试扫描应用于程序代码,并且通过测试定位漏洞。根据定位的漏洞与程序代码中已插入漏洞的总数之比,​​输出coverage度量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号