You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
The report in Figure 4 shows that I've achieved 75% line coverage and 100% branch coverage.
在图4的报告中显示我达到了 75% 的行覆盖率和 100% 的分支覆盖率。
This air line operates five main lines and twenty branch lines.
这家航空公司经营五条主干线和二十条支线。
A code coverage tool reports test coverage — either in the form of line or branch coverage — that represents the amount of code that is being touched when a test is run.
代码覆盖工具可报告测试覆盖率——以行覆盖或分支覆盖形式表示——它表示测试运行时所涉及的代码量。
Just like line coverage, if there are two branches in a particular method and both were covered through tests, then you could say the method has 100% branch coverage.
与行覆盖一样,如果在特定方法中有两个分支,并且两个分支在测试中都被覆盖,那么您可以说这个方法有100%的分支覆盖率。
Notice the line and branch coverage percentages by package.
请注意行覆盖和分支覆盖的百分比是以包计算的。
Once every method has at least one test, use a code coverage tool, such as Cobertura, to write one test for every branch until each line of code is tested.
当每个方法都有了至少一个测试,使用一个代码覆盖率工具如cobertura为每个分支编写一个测试,直到每一行代码都能够被测试。
The branch boundary begins in line 220 with the start method.
分支边界在第 220行中以start方法开始。
A customer would register at the site and post errands they needed done; for example, picking up laundry, walking the dog, standing in line at the license branch, and so on.
客户可在这个站点注册,并发送他们需要完成的差使;例如,收拾该洗的衣服,遛狗,排队等待许可证,等等。
The company has its own sidings, connected to a branch line and then to the main line so that coal can be moved farther afield.
电站有自己的专用铁路,连接支线、主线,所以煤炭能更远的运出去。
For the entire line, the number of branch circuit should not be too small, generally should be light to go all the way, air conditioning to take the two road, the outlet to go three to four.
对于整个线路来说,分支回路的数量也不应过少,一般应该是灯走一路、空调走二路、插座走三至四路。
The London train pulled into the branch line station.
这列伦敦火车缓缓驶进了支线车站。
Also all safety relief valve line branch line and tubing line for instrument will be dried and purged.
此外,所有安全卸压阀、支线和仪表管线应进行干燥和吹扫处理。
Course, is a extending line, and the origin is destined to across the line, chained a series of branch lines, those are the different derections.
历程,是一条不断延伸的线,而起点注定是一条必经的线,串连许多不同的分支线,那便是不同的方向。
After injecting current into the head of line, the detector can check whether these branches flow current, the fault branch is that the current has flowed.
然后在线路首端注入电流,通过探测器检验几个分支上是否有电流流过,检测到电流的即为故障点所在的分支。
In tapachula, a furnace of a city in southern Mexico, people line up inside an air-conditioned branch of Banco Azteca to process their remittances.
他伯拉在墨西哥南部一个火炉区域,这里的大部分人阿紫别克银行的一个有空调的房间内排队处理他们的汇款。
Directions: Take bus No. 929 branch line from Pingguoyuan subway station to Shuang Tang Jian.
线路:达成929号公交支线,从苹果园地铁站到双唐建。
At the junction of a branch line and the trunk line, the wires must be spliced together.
在支线和中继线的接合点,电线必须被叠接起来。
The current method to branch wire from the cable trunk is to cut off the trunk line, and crimp two ends of trunk line and the required branch, and pack them, or to bind the branch line to trunk line.
现行的从电缆主干线上取得分支线的方法就是切断主干线,将干线两头和所分的支线一同压接后包裹起来,或是将分支线绑轧在主干线上。
Introduced the technology of network backup and the project of shenyang railway branch network line backup which designed by author, in the end we discuss the importance of network backup in practice.
介绍了目前常用的网络备份技术以及设计实现的沈阳局机关网线路备份方案,讨论了网络备份在实践应用中的重要性。
The load supplying capability (LSC) of urban distribution network is the maximum load which can be supplied by the network without any branch (line and transformer included) exceeding its capacity.
城市电网的最大供电能力是指在城市电网任意支路(线路、变压器)无过负荷条件下所能供应的最大负荷。
The influence of switching off branch on system nodal voltages and line loads is analyzed and the concept of security margin and its calculation formula are given.
分析了支路断开对系统节点电压及线路负荷的影响,给出安全裕度概念和计算公式。
It is a new branch that the artificial transmission line is introduced into optic electronic modulator, realizing phase velocity matched.
把人造传输线的观点引入电光调制器,实现相速度的匹配,是近年来才兴起的一个新的分支。
Major pit construction methods introduction to "direct excavation-shoring construction" used in University City Metro Station project of the fourth branch line of Guangzhou Metro.
介绍广州市轨道交通四号线大学城站采用“明挖顺作法”施工的主要技术措施。
The London train pulled in to the branch line station.
伦敦来的火车进站后停靠在支线站台旁。
Mike:Again, when I interned at the branch, an old lady collapsed while waiting in line.
迈可:同样是我在银行实习的时候,有位老太太排队时昏倒了。
The paper introduces the concept of curve following turnout branch line, the confirmation of head and end, the chord offset calculation of points, the measuring steps in the field.
文章介绍了道岔附带曲线的概念及头尾的确定,各各点支距的计算和现场测设步骤,并确定了拨道整正方法。
English is a language branch belonging to the West Germanic line of the Indo-European family.
英语是西日耳曼语系的一个分支。西日耳曼语系属于印欧语族。
The aim of the paper is to receive nodal impedance matrix by adding - branch line algorithm and admittance matrix algorithm, to analyze the effect of them, and to provide the models.
使用了支路追加法和导纳矩阵求逆法来形成节点阻抗矩阵,给出了两种算法的数学模型,分析了算法各自的特点和优势。
The aim of the paper is to receive nodal impedance matrix by adding - branch line algorithm and admittance matrix algorithm, to analyze the effect of them, and to provide the models.
使用了支路追加法和导纳矩阵求逆法来形成节点阻抗矩阵,给出了两种算法的数学模型,分析了算法各自的特点和优势。
应用推荐