방법 비교
선택한 방법을 나란히 검토하세요. 서로 다른 행은 강조 표시됩니다.
| 사이클로매틱 복잡도× | Halstead Complexity× | |
|---|---|---|
| 분야 | 수치해석 | 수치해석 |
| 계열 | Machine learning | Machine learning |
| 기원 연도≠ | 1976 | 1977 |
| 창시자≠ | Thomas McCabe | Maurice Halstead |
| 유형≠ | Control-flow complexity metric | Static 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 complexity | Halstead metrics, program length, volume metric |
| 관련 | 1 | 1 |
| 요약≠ | 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데이터셋 ↗ |
|
|