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.
Die vollständige Methode lesen
Melden Sie sich mit einem kostenlosen Konto an, um diesen Abschnitt zu lesen.
Method map
The neighbourhood of related methods — select a node to explore.
Quellen
- 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
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.
- Halstead-KomplexitätNumerische Methoden↔ compare
Referenziert von
Einen Fehler auf dieser Seite entdeckt? Melden oder Korrektur vorschlagen →