qtil
advanced-security/qtil-cpp 0.0.4
Search

Member predicate MetricFunction::getNestingDepth

Gets the maximum nesting level of complex statements such as if, while in the function. A nesting depth of 2 would mean that there is, for example, an if statement nested in another if statement.

int getNestingDepth()