存在不同类型的覆盖度量,但是绝大多数的工具会关注行覆盖,也叫做语句覆盖。
There are different types of coverage measurements, but most tools focus on line coverage, also known as statement coverage.
还有几类覆盖率,比语句覆盖率更直接地指向设计错误(例如分支覆盖率)。
There are types of coverage that point more directly to design mistakes than statement coverage does (branch coverage, for example).
单元测试阶段结构覆盖测试往往要求语句覆盖率和分支覆盖率均达到100%。
In the unit test stage, it is often required that sentence coverage rate and branch coverage rate all up to 100% in the structure coverage test.
用户可以使用CREATETYPEMAPPING语句覆盖过程参数的默认类型映射。
The user can use the CREATE TYPE MAPPING statement to override the default type mapping for procedure parameters.
本文就语句覆盖和判定覆盖测试标准之间的差别进行了分析证明和比较,旨在对不同的测试标准之间的差别分析后拟提出一个定量的度量算法。
This paper infers a compare analysis between the statement coverge and the design coverge criteria, On analysis is then presented an algorithm for this metric.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
SQLPL过程包含的sql语句具有一些执行属性,例如隔离级别或优化级别,这些属性只能通过DB2_SQLROUTINE _ PREOPTS注册表变量来覆盖。
SQL PL procedures contain SQL statements that have execution attributes, such as the isolation level or the optimization level that can only be overridden by DB2_SQLROUTINE_PREOPTS registry variable.
我们希望把记录语句输出到专门的日志文件中(如果可能的话,多个不同文件),也许可以每天覆盖日志。
We wanted logging statements to go to a dedicated log file (or possibly multiple different files), perhaps with those log files rolled on a daily basis.
SETexplain语句现在支持一个可选的参数,用于覆盖输出文件的默认名称和位置。
The SET EXPLAIN statement now supports an optional parameter to override the default name and location of the output file.
或者语句子句是否会覆盖连接属性?
Will the RS be stronger, or can the statement clause overwrite the connection property?
编译器自动地检查这些switch语句,如果没有覆盖某个实例,会产生错误。
The compiler automatically checks these switch statements and generates an error if an instance is not covered.
Ceylon还确认(在编译时)switch语句包含详尽的实例测试列表,至少包含else子句,从而提供完整的覆盖范围。
Ceylon also ensures (at compile time) that the switch statement contains an exhaustive list of instance tests or, at a minimum, an else clause to provide complete coverage.
但是,如果应用程序配置文件中有重定向语句,则发行者策略覆盖该版本,而不是覆盖清单中指定的版本。
However, if there is a redirecting statement in the application configuration file, publisher policy overrides that version rather than the one specified in the manifest.
但是,如果应用程序配置文件中有重定向语句,则发行者策略覆盖该版本,而不是覆盖清单中指定的版本。
However, if there is a redirecting statement in the application configuration file, publisher policy overrides that version rather than the one specified in the manifest.
应用推荐