Member predicate Metrics::ProgramDefinitionMetrics::getCyclomaticComplexity

Get the approximate Cyclomatic Complexity for this program. This is calculated for a single unit as E - N + 2 (where E and N are the number of edges and nodes in the control-flow graph respectively) and is closely approximated by PI + 1, where PI is the number of branch statements.

int getCyclomaticComplexity()