ScholarGate
어시스턴트
Machine learningSoftware Metrics

사이클로매틱 복잡도

사이클로매틱 복잡도(Cyclomatic Complexity, CC)는 1976년 Thomas McCabe가 소개한 정량적 지표로, 함수의 제어 흐름 그래프(control-flow graph)를 통과하는 선형적으로 독립적인 경로의 수를 측정합니다. CC가 높은 함수는 이해, 테스트, 유지보수가 더 어렵습니다. McCabe는 유지보수 한계점으로 10을 복잡도 임계값으로 권장했습니다.

MethodMind에서 열기곧 제공동영상곧 제공Download slides

방법 전문 읽기

회원 전용

무료 계정으로 로그인하면 이 섹션을 읽을 수 있습니다.

로그인

Method map

The neighbourhood of related methods — select a node to explore.

사이클로매틱 복잡도
Halstead ComplexityCK 메트릭

출처

  1. McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI: 10.1109/TSE.1976.233837
  2. Campbell, G. H. (1986). Defining a good metric, a software testing perspective. ASQ Software Quality Conference. link
  3. 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

이 방법을 참조하는 항목

ScholarGateCyclomatic Complexity (Cyclomatic Complexity Metric). 2026-06-15에 다음에서 검색함: https://scholargate.app/ko/numerical-methods/cyclomatic-complexity · 데이터셋: https://doi.org/10.5281/zenodo.20539026