Module MetricFunction

Import path

semmle.code.cpp.metrics.MetricFunction

Imports

cpp

Provides classes and predicates for working with C/C++ code.

Predicates

cyclomaticComplexityBranches

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

Classes

MetricFunction

A wrapper that provides metrics for a C/C++ function.