qtil
advanced-security/qtil-cpp 0.0.4
Search

Predicate cyclomaticComplexityBranches

Gets the number of branching statements and expressions in a block. This is for computing cyclomatic complexity.

Import path

import semmle.code.cpp.metrics.MetricFunction
int cyclomaticComplexityBranches(BlockStmt b)