CodeQL library for C/C++
codeql/cpp-all 1.1.2-dev (changelog, source)

Member predicate MetricFunction::getBranchingComplexity

Gets the branching complexity of this function. This is a measure derived from cyclomatic complexity, but it reflects only the branches that make the code difficult to read (as opposed to cyclomatic complexity, which attempts to evaluate how difficult the code is to test).

int getBranchingComplexity()