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.
让我们看一下怎样书写一个简单的报表脚本,该脚本在一个项目中为一个特定的函数记下行覆盖率百分比。
Most of the code in the makePieSeries function is for creating a label that will show the name of the browser, how many hits, and the percentage of total hits.
在 makePieSeries 函数中的大多数代码都用于创建标签,此标签将显示浏览器的名称、有多少次点击以及总点击率。
Use the Create menu to create Processing, which allows you to choose the Get Random Sample function to set a percentage of the data you want to analyze.
使用 Create 菜单创建 Processing,它允许您选择 Get Random Sample 功能设置您想分析的数据的百分比。
应用推荐