cyclomatic

cyclomatic

 英

  • 网络圈;环形量度之和

例句

I've explained in previous articles in this series that cyclomatic complexity tends to be one of the harbingers of sticky code.

系列前面文章已经解释复杂性令人讨厌代码一种先兆

The bottom of the figure indicates the CheckStyle cyclomatic-complexity violation for a method.

下面部分指示一个方法CheckStyle复杂度违规

What's more, this tool also gathers the cyclomatic complexity of every method in a code base.

此外工具收集代码每个方法复杂度

Testing methods with high cyclomatic complexity values is almost always like stepping into a maze -- no easy exit in sight.

具有复杂测试方法几乎总是事情弄得一团糟无法轻易收场

Measuring cyclomatic complexity is, therefore, particularly valuable in situations where you're working with a legacy code base.

所以使用遗留代码情况下测量复杂度特别价值

Programs with lower cyclomatic complexity are easier to understand and less risky to modify.

循环复杂性程序容易理解编辑起来风险

Cyclomatic complexity isn't the only complexity measurement for spotting high risk code, however.

不过复杂性并不是确定风险代码惟一复杂性度量

A good rule of thumb is to create a number of test cases equal to the cyclomatic complexity value of the code being tested.

一个经验法则创建数量测试代码复杂度相等测试用例

This installment of the series covers the cyclomatic-complexity metric in a discussion about testing.

系列讨论测试介绍复杂度度量

The total number of noncommenting lines of code and the cyclomatic complexity per each method in the code base.

代码每个方法注释代码总数复杂度

Cyclomatic complexity, pioneered during those studies I previously mentioned, precisely measures path complexity.

复杂前面提到那些研究期间开创可以精确地测量路径复杂

CheckStyle is another open source project with a similar cyclomatic complexity rule.

CheckStyle另一个具有类似复杂度规则开放源码项目

Cyclomatic complexity is a measurement to determine the stability and level of confidence in a COBOL program.

Cyclomatic复杂性决定COBOL程序稳定性实效程度评价手段

The maintainability index is a synthesis of three metrics: cyclomatic complexity, lines of code, and computational complexity.

维护性指数三个度量合成复杂代码计算复杂性

To determine the conditional-complexity code smell, you determine a method's cyclomatic complexity.

确定条件复杂代码味道需要确定方法复杂

A few open source tools available to Java developers can report on cyclomatic complexity.

Java开发人员使用一些开放源码工具报告复杂度

What's interesting here is that we were able to spot this defect using cyclomatic complexity rather than code coverage.

这里有趣我们可以使用复杂度不是使用代码覆盖率找出这个缺陷

The approximate size of a covering set as a lower limit (n+1, equivalent to cyclomatic complexity of a graph).

覆盖近似大小作为下限(n+1,等价某个复杂性)。

At the code level, Maurice Halstead's software metrics and Tom McCabe's cyclomatic complexity model were widely accepted.

代码层次MauriceHalstead软件规格TomMcCabe复杂度模型广泛接受

Complexity indicators are mainly the cyclomatic complexity number V(g) and the number of statements in the code.

复杂指示器主要复杂V代码声明语句

The cyclomatic complexity formula, first developed by Thomas McCabe, is based on the number of branches in a function.

复杂性公式cyclomaticcomplexityformula),ThomasMcCabe首先提出基于一个函数分支数量确定复杂

PMD, another open source project that analyzes Java source files, has a series of rules, one of which reports cyclomatic complexity.

PMD另一个分析Java文件开源项目一系列规则其中之一就是报告复杂度

Cyclomatic complexity is purely a measure of the relative complexity of one method versus another.

复杂衡量一个方法相对另一个方法相对复杂指标

Cyclomatic complexity is a measure of the relative complexity of one method versus another.

复杂度量方法相对复杂

Cyclomatic complexity is a measure of the structural complexity of the type or method.

复杂用于衡量类型方法结构复杂

A nice open source tool that measures cyclomatic complexity for the Java language is the open source JavaNCSS tool (see Resources).

一种可以度量Java语言复杂度非常不错开源工具就是JavaNCSS工具参考资料)。

This graph shows three key metrics over time: code coverage, cyclomatic complexity, and cyclomatic complexity per method.

显示过去3关键度量代码覆盖复杂度每个方法复杂

The two metrics I focus on in this article are cyclomatic complexity and afferent coupling.

本文主要讨论两个指标复杂度cyclomaticcomplexity传入耦合afferentcoupling)。

The cyclomatic complexity number ckjm reports represents the sum of the complexity of all the methods in the class.

ckjm报告复杂数字表示这个所有方法复杂

I covered cyclomatic complexity in " Test-driven design, Part 2, " but it has some nuances I didn't discuss there.

测试驱动设计,第2部分讨论复杂但是有一些细节没有讨论

Thus, it makes sense only when compared to other cyclomatic-complexity measures.

因此指标只有其他复杂度指标比较才有

JavaNCSS: JavaNCSS is an open source metrics tool that provides method-level values for cyclomatic complexity.

JavaNCSS:JavaNCSS一个开源度量工具提供复杂度方法

More technical definitions come from such measures as cyclomatic complexity developed by McCabe 4 and others.

学术定义来自McCabe4其他开发出度量复杂度方法

The most effective way to reduce cyclomatic complexity is to pull out portions of code and place them into new methods.

减少复杂度有效方式隔离代码部分它们放入方法

CheckStyle, JavaNCSS, and PMD are open source tools that measure cyclomatic complexity.

以及PMD度量复杂度开源工具

Cyclomatic complexity is a measure that dates back to 1975 as defined by Thomas McCabe.

复杂度一种度量方法ThomasMcCabe1975年定义

The maintainability index is calculated by using the following metrics: lines of code, program volume, and cyclomatic complexity.

可维护性索引计算依据代码程序复杂度

Cyclomatic complexity is a way to measure how tangled the paths are in the state space.

复杂度量状态空间路径紊乱方式

The original method had a cyclomatic complexity of 43.

原始方法复杂度43。

Each of the former if blocks took 3 lines of code (and contributed 1 cyclomatic complexity point).

之前每个if占用3代码贡献1个复杂度)。