Since the report code itself cannot determine in which context it is used, we added a Boolean parameter named ForPrint to the report.
由于报表的代码本身不能确定是在什么环境中被使用,我们就在报表中增加了一个名为ForPrint的布尔型参数。
Summary table with a list, by protocol, of assay methods used. The protocol number, protocol title, assay type, assay method identification code, and bioanalytic report code should be provided.
方案中使用的分析方法列表的汇总表。应提供方案编号,方案名称,分析类型,缝隙方法识别号和生物解析报告识别号。
You can create an agent with code similar to the code in listing 5, which creates the desired report.
您可以使用类似于清单5的代码创建一个代理,这将创建理想的报告。
If an object method needs to report an error, then a return code should be used.
假如一个对象的方法需要报告一个错误,这时一个返回码需要用到。
Adding validation code could assist you in catching accessibility errors more quickly, without having to examine an entire report.
添加验证代码可以帮助您更迅速地捕获可访问性错误,而不必检查整个报告。
Before making changes to the internal billing package, you could analyze a code coverage report to determine if any tests actually tested the package.
在对内部记帐包作出变更前,您可以分析代码覆盖率报告,以确定是否有任何测试真正测试了这个包。
This example creates a new rule template that allows the user to define new rules to report and code that extends a given class.
这个例子创建了一个允许用户来定义新的规则来报告以及为特定的类编码扩展的模板。
Add the following code to the initialize handler for the overall report definition.
将以下代码添加到初始化处理程序中,获得完整的报告定义。
When you examine a coverage report, seek out the low values and understand why that particular code hasn't been tested fully.
当您检查覆盖报告时,找出较低的值,并了解为什么特定的代码没有经过充分的测试。
You'll import the dashboard code in the header so that the code is imported only once in the report.
您可以导入头部信息的操作板代码,这样报告中只会将代码导入一次。
The clipping level is used to limit the amount of data that appears in the report for code that received few ticks.
省略级别用来限制对应于获得很少节拍的代码的报告中出现的数据总数。
A difference report can help you decide whether a given set of code changes is covered well enough by existing tests or requires that new tests be written.
差异报告通过已存在的测试,或者要求书写新的测试,来决定是否给出一系列的代码变更集合。
You can simply search the code in Listing 1 for the string and report that associated number.
可以在清单1的代码中查找字符串并报告相关的数量。
The trick to test coverage measurement is to use the coverage report to expose code that hasn't been tested, on a micro level and on a macro level.
测试覆盖度量的窍门是使用覆盖报告找出未经测试的代码,分别在微观和宏观两个级别。
The script generates the annotated differences report, a source code differences report that includes coverage information.
脚本会生成一个自动差异报告,一个包含了覆盖率信息的自动差异报告。
I have found that being able to report these exceptions with a specific error code (instead of a generic exception or, even worse, no reported error) has saved me hours tracking bugs.
我发现,在跟踪错误时,用特定的错误码(而不是一般的异常或—甚至更糟—不报告错误)来报告这些异常节省了我数小时的时间。
Its clever succinctness lets you code in five minutes the report generators, network probes, text filters, and process monitors that demand day-long efforts with other languages.
它很简洁,而且这种简洁是巧妙的,这使您能在五分钟内编写报告生成器、网络探测、文本过滤器和进程监视器,如果使用其他语言的话需一天的时间才能完成。
The entire report for Jikes is available by clicking on the Code icon at the top or bottom of this article, or from the Download section.
Jikes的整个报告可以通过单击本文顶部或底部的代码图标得到,也可从下载小节得到。
Note that if you manually fix a result item, you must re-run Code Review to verify that it doesn't report a problem any more.
请注意如果你手工处理一个结果项,那么必须重新运行CodeReview以证实它不再报告问题。
Now look at the code to create your Lock Report.
现在看一看用来创建Lock Report的代码。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
Time to defect: the elapsed time between a bug being injected into the product code and a defect report being assigned to the developer who can make the fix.
发现缺陷的时间(Time to defect):将缺陷引入到产品代码中和将缺陷报告分配给进行确定的开发人员期间经过的时间。
Slightly more sophisticated is to catch wider spans of code, but to use a language's introspection capabilities to report traceback information
稍微复杂一点的解决方案是让捕获代码的范围更宽一些,但要使用语言的内省能力来报告追溯信息
During interactive development, Purify can report on memory errors before new code is committed to the project.
在交互开发过程中,Purify能够在新代码加入工程前报告内存错误。
An alternative to the report framework would be to add validation code to the AccessibleUtils.output methods.
报告框架的另一种方案是将验证代码添加到AccessibleUtils .out put方法。
CrystalReportViewer.jsp: this file contains the viewer code that is used to render to the report in the Web page.
jsp:这个文件包含阅读器代码,它用来将报告交付到web页面。
Next, I run a code coverage tool, such as Cobertura, and get the report shown in Figure 1.
接下来,我将运行一个代码覆盖率工具,比如Cobertura,并将获得如图1中所示的报告。
Listing 5. XQuery code that produces the entire most-linked-pages report.
清单5.生成链接次数最多的页面的完整报告的XQuery代码。
Listing 6 shows the code that you can use to create a report in the Lotus Symphony spreadsheet.
清单6显示在LotusSymphony电子表格中创建一个报告的代码。
Listing 6 shows the code that you can use to create a report in the Lotus Symphony spreadsheet.
清单6显示在LotusSymphony电子表格中创建一个报告的代码。
应用推荐