CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

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()