Receive weekly Agile & Scrum tips

close menu icon
Glossary

Cyclomatic Complexity

Table of contents

Definition of Cyclomatic Complexity

Cyclomatic Complexity is a metric used to assess the complexity of a piece of software code. This is done by counting the number of decision points in a code segment. Examples of these include loops, conditional statements (if-statements, switch-cases) and logical operators.

A higher complexity usually indicates code that is difficult to understand, which you might better rewrite. The process of rewriting is also known as refactoring. This involves simplifying the code to make it more understandable and maintenance-friendly, among other things.

Cyclomatic Complexity is not a term specifically linked to Scrum but rather a concept within software engineering. And although it is a useful indicator to assess the complexity of code, it is not the only one. There are more Code Metrics to evaluate and improve the quality of the developed software.

Related terms

Want to know more?

Discover concepts from the world of Agile, Scrum, Product Management and Innovation in one useful overview.

Share this explanation with your network
Sluit je aan bij 1.000+ professionals

Ontvang tips, tools en tactieken uit de Agile en Scrum community wekelijks in je inbox

Join 1,000+ professionals

Receive free tips, tools and tactics from the Agile and Scrum community in your inbox.