还有几类覆盖率,比语句覆盖率更直接地指向设计错误(例如分支覆盖率)。
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.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
应用推荐