Cyclomatic Complexity - CI/CD Glossary Definition
Cyclomatic complexity is a metric, defined by Thomas McCabe, that counts the number of linearly independent paths through a piece of code, so more branches and loops raise the number.
Why it matters
Higher complexity means more paths to test and more places for bugs. CI quality gates often fail a build when a function exceeds a complexity threshold, nudging it to be split up.
Related guides
Code Smell - CI/CD Glossary DefinitionCode Smell: A code smell is a surface symptom in code (long methods, duplicated logic, large classes) that hi…
Continuous Testing - CI/CD Glossary DefinitionContinuous Testing: Continuous testing is running automated tests at every stage of the pipeline, so quality…
Technical Debt - CI/CD Glossary DefinitionTechnical Debt: Technical debt is the implied future cost of choosing an easy or quick solution now over a be…