Machine learningSoftware Metrics
사이클로매틱 복잡도
사이클로매틱 복잡도(Cyclomatic Complexity, CC)는 1976년 Thomas McCabe가 소개한 정량적 지표로, 함수의 제어 흐름 그래프(control-flow graph)를 통과하는 선형적으로 독립적인 경로의 수를 측정합니다. CC가 높은 함수는 이해, 테스트, 유지보수가 더 어렵습니다. McCabe는 유지보수 한계점으로 10을 복잡도 임계값으로 권장했습니다.
방법 전문 읽기
회원 전용
로그인무료 계정으로 로그인하면 이 섹션을 읽을 수 있습니다.
Method map
The neighbourhood of related methods — select a node to explore.
출처
- 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. link ↗
- Nagy, C., & Kriebel, K. (2001). Achieving optimal complexity and reliability. SAMS Publishing. ISBN: 0672322285
이 페이지 인용 방법
ScholarGate. (2026, June 3). Cyclomatic Complexity Metric. ScholarGate. https://scholargate.app/ko/numerical-methods/cyclomatic-complexity
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
Compare side by side →