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

Member predicate MetricClass::getNestingLevel

Gets the nesting level of this class. A class that is not nested directly inside another class has nesting level 0.

int getNestingLevel()