图12:您为您所指定的函数得到覆盖率信息。
Figure 12: you get coverage information for the function you specify.
在您运行脚本时,您为您所指定的函数得到覆盖率信息,如图12所示。
When you run the script, you get coverage information for the function you specify, as shown in Figure 12.
这个工具分析内核代码的覆盖率,并报告哪些行、函数和分支被覆盖以及它们被访问了多少次。
This tool analyzes the coverage of the kernel, and reports what lines, functions, and branches are covered and how many times they were hit.
运行时,这些函数调用把应用代码覆盖率的相关信息发送给一个单独的工具。
At runtime, these function calls send information on the application's code coverage to a separate tool.
让我们看一下怎样书写一个简单的报表脚本,该脚本在一个项目中为一个特定的函数记下行覆盖率百分比。
Let's see an example of how to write a simple report script that prints the line coverage percentage for a specific function within a program. The script syntax is.
当运行pc _ select时,它会搜索所有的覆盖率文件,并识别执行每一个更改函数的覆盖率文件。
When pc_select runs, it searches all the coverage files, and identifies each coverage file that exercises any function that was modified.
函数名加上函数的覆盖率信息
The name of the function plus the coverage information for the function
该平台的一个特点是,根据指定的关键信号使用数据流分析产生关键路径集合,并采用基于该集合的路径覆盖率作为适应度函数引导模拟矢量的生成。
Given the critical signals, it USES techniques of data flow analysis to acquire the critical path set and choose the critical path coverage to be the fitness function used in the GA.
该平台的一个特点是,根据指定的关键信号使用数据流分析产生关键路径集合,并采用基于该集合的路径覆盖率作为适应度函数引导模拟矢量的生成。
Given the critical signals, it USES techniques of data flow analysis to acquire the critical path set and choose the critical path coverage to be the fitness function used in the GA.
应用推荐