手法を比較
選択した手法を並べて確認できます。異なる行はハイライト表示されます。
| ハルステッド複雑度× | 循環的複雑度× | |
|---|---|---|
| 分野 | 数値解析 | 数値解析 |
| 系統 | Machine learning | Machine learning |
| 提唱年≠ | 1977 | 1976 |
| 提唱者≠ | Maurice Halstead | Thomas McCabe |
| 種類≠ | Static code analysis metric | Control-flow complexity metric |
| 原典≠ | Halstead, M. H. (1977). Elements of Software Science. Elsevier. ISBN: 0444002057 | McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI ↗ |
| 別名 | Halstead metrics, program length, volume metric | CC, cyclomatic number, McCabe complexity |
| 関連 | 1 | 1 |
| 概要≠ | 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. | 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. |
| ScholarGateデータセット ↗ |
|
|