ScholarGate
助手

方法对比

并排查看您选择的方法;存在差异的行会高亮显示。

圈复杂度 (Cyclomatic Complexity, CC)×Halstead Complexity×
领域数值方法数值方法
方法族Machine learningMachine learning
起源年份19761977
提出者Thomas McCabeMaurice Halstead
类型Control-flow complexity metricStatic code analysis metric
开创性文献McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI ↗Halstead, M. H. (1977). Elements of Software Science. Elsevier. ISBN: 0444002057
别名CC, cyclomatic number, McCabe complexityHalstead metrics, program length, volume metric
相关11
摘要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.Halstead Complexity Metrics are a set of static code analysis measures developed by Maurice Halstead in 1977 that quantify software quality using operator and operand counts. Metrics like program volume, difficulty, and effort estimate code complexity, maintainability, and defect likelihood from source code structure alone.
ScholarGate数据集
  1. v1
  2. 3 来源
  3. PUBLISHED
  1. v1
  2. 3 来源
  3. PUBLISHED

前往搜索 下载幻灯片

ScholarGate方法对比: Cyclomatic Complexity · Halstead Complexity. 于 2026-06-15 检索自 https://scholargate.app/zh/compare