The cyclomatic complexity number ckjm reports represents the sum of the complexity of all the methods in the class. ckjm报告的圈复杂度数(CCN)字表示这个类中所有方法的复杂度之和。
Complexity indicators are mainly the cyclomatic complexity number V ( g ) and the number of statements in the code. 复杂度指示器主要是圈复杂数V和代码中的声明语句数。
JavaNCSS is a free tool that provides various code measurements such as the number of non-commenting source statements ( or lines of code ) and the cyclomatic complexity number of all analyzed methods. JavaNCSS是一个免费工具,提供了不同的代码测量,例如非注释性源代码语句(或代码行)的数量、所有分析过的方法的圈复杂度量值(cyclomaticcomplexitynumber)。
Component complexity metrics ( attributes, methods, statements, nesting level, and V ( g ), the cyclomatic complexity number ) measure the complexity of the control flow of the source code. 组件复杂性度量(属性、方法、声明、嵌套层、V(g)、循环复杂度计数)衡量源代码控制流的复杂度。
With a tool such as JavaNCSS ( see Resources ) that reports this metric as the sum of all the methods, the cyclomatic complexity is a high number for the entire class. JavaNCSS(见参考资料)等工具报告所有方法的总复杂度,因此整个类的圈复杂度很高。