Cyklomatická zložitosť
Cyklomatická zložitosť (CC), zavedená Thomasom McCabom v roku 1976, je kvantitatívna metrika merajúca počet lineárne nezávislých ciest cez graf riadiaceho toku funkcie. Funkcia s vysokou cyklomatickou zložitosťou sa ťažšie chápe, testuje a udržiava; McCabe obhajoval prahovú hodnotu 10 ako limit zložitosti pre udržiavateľnosť.
Prečítať celú metódu
Ak si chcete prečítať túto sekciu, prihláste sa s bezplatným účtom.
Method map
The neighbourhood of related methods — select a node to explore.
Zdroje
- 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
Ako citovať túto stránku
ScholarGate. (2026, June 3). Cyclomatic Complexity Metric. ScholarGate. https://scholargate.app/sk/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.
- Halsteadova zložitosťNumerické metódy↔ compare
Odkazujú sem
Našli ste na tejto stránke chybu? Nahláste ju alebo navrhnite opravu →