ScholarGate
Assistent
Machine learningSoftware Metrics

Zyklomatische Komplexität

Die zyklomatische Komplexität (CC), eingeführt von Thomas McCabe im Jahr 1976, ist eine quantitative Metrik, die die Anzahl der linear unabhängigen Pfade durch den Kontrollflussgraphen einer Funktion misst. Eine Funktion mit hoher zyklomatischer Komplexität ist schwerer zu verstehen, zu testen und zu warten; McCabe befürwortete einen Schwellenwert von 10 als Komplexitätsgrenze für die Wartbarkeit.

In MethodMind öffnenDemnächstVideoDemnächstDownload slides

Die vollständige Methode lesen

Nur für Mitglieder

Melden Sie sich mit einem kostenlosen Konto an, um diesen Abschnitt zu lesen.

Anmelden

Method map

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

Zyklomatische Komplexität
Halstead-KomplexitätCK-Metriken

Quellen

  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

So zitieren Sie diese Seite

ScholarGate. (2026, June 3). Cyclomatic Complexity Metric. ScholarGate. https://scholargate.app/de/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

Referenziert von

ScholarGateCyclomatic Complexity (Cyclomatic Complexity Metric). Abgerufen am 2026-06-15 von https://scholargate.app/de/numerical-methods/cyclomatic-complexity · Datensatz: https://doi.org/10.5281/zenodo.20539026