方法证据记录
Cyclomatic Complexity
Cyclomatic Complexity (CC), introduced by Thomas McCabe in 1976, is a quantitative metric measuring the number of linearly independent paths through a function's control-flow graph. A function with high cyclomatic complexity is harder to understand, test, and maintain; McCabe advocated a threshold of 10 as the complexity limit for maintainability.
源记录
引文逐字复制自方法源记录。这些引文不代表任何层级的验证。
Cyclomatic Complexity Metric
分类方法记录 · ml-model / numerical-methods
- McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. · DOI 10.1109/TSE.1976.233837
- Campbell, G. H. (1986). Defining a good metric, a software testing perspective. ASQ Software Quality Conference. · URL
- Nagy, C., & Kriebel, K. (2001). Achieving optimal complexity and reliability. SAMS Publishing. · ISBN 0672322285
精选声明
声明已持久化到证据分类账中,每个声明都有自己的评估。
尚无精选声明
当分类账中没有声明时,此视图不会自行创建声明评估。
相关方法
从方法图中生成,显示为机器建议的关系 — 不推断任何证据声明。