---
title: "cyclomatic complexity"
description: " The maximum number of linear, independent paths through a program. Cyclomatic complexity may be computed as L = N + 2P, where L = the number of edges/links in a graph,  N = the number of nodes in a graph, P = the number of disconnected parts of the graph (e.g., a called graph or subroutine)."
type: term
term_id: 122
language: English
language_code: gb
canonical: "https://glossary.istqb.org/en/term/cyclomatic-complexity-3"
slug: "cyclomatic-complexity"
url: "https://istqb-glossary.page/cyclomatic-complexity/"
---

# cyclomatic complexity

 The maximum number of linear, independent paths through a program. Cyclomatic complexity may be computed as L = N + 2P, where L = the number of edges/links in a graph,  N = the number of nodes in a graph, P = the number of disconnected parts of the graph (e.g., a called graph or subroutine).

## Synonyms

cyclomatic complexity

## Present in syllabi


- Advanced Technical Test Analyst 2012
- Advanced Security Tester 2016

## Translations


- [English](https://istqb-glossary.page/cyclomatic-number/) — cyclomatic number
- [Deutsch](https://istqb-glossary.page/de/zyklomatische-komplexitat/) — zyklomatische Komplexität
- [Deutsch](https://istqb-glossary.page/de/zyklomatische-zahl/) — zyklomatische Zahl
- [Português (Brasil)](https://istqb-glossary.page/br/complexidade-ciclomatica/) — complexidade ciclomática
- [Português (Brasil)](https://istqb-glossary.page/br/numero-ciclomatico/) — número ciclomático
- [Polski](https://istqb-glossary.page/pl/liczba-cyklomatyczna/) — liczba cyklomatyczna
- [Polski](https://istqb-glossary.page/pl/z%C5%82ozonosc-cyklomatyczna/) — złożoność cyklomatyczna
- [Português](https://istqb-glossary.page/pt/complexidade-ciclomatica/) — complexidade ciclomática
- [Čeština](https://istqb-glossary.page/cz/cyklomaticka-hodnota/) — cyklomatická hodnota
- [Čeština](https://istqb-glossary.page/cz/cyklomaticka-slozitost/) — cyklomatická složitost
- [Nederlands](https://istqb-glossary.page/nl/cyclomatisch-complexiteit/) — cyclomatisch complexiteit
- [Nederlands](https://istqb-glossary.page/nl/cyclomatische-complexiteit/) — cyclomatische complexiteit
- [Magyar](https://istqb-glossary.page/hu/ciklomatikus-komplexitas/) — ciklomatikus komplexitás
- [Magyar](https://istqb-glossary.page/hu/ciklomatikus-szam/) — ciklomatikus szám
- [Norsk](https://istqb-glossary.page/no/syklomatisk-kompleksitet/) — syklomatisk kompleksitet
- [Norsk](https://istqb-glossary.page/no/syklomatisk-tall/) — syklomatisk tall

Read this term online: https://istqb-glossary.page/cyclomatic-complexity/

Markdown variant of the HTML page at https://istqb-glossary.page/cyclomatic-complexity/ — part of the
ISTQB Glossary (https://istqb-glossary.page), a linkable, machine-readable
republication of the ISTQB glossary under fair use. No affiliation with ISTQB.
