qtil
advanced-security/qtil-cpp 0.0.4
Search

Member predicate MetricFunction::getHalsteadN1

Gets the Halstead “N1” metric: this is the total number of operators in this function. Operators are taken to be all operators in expressions (+, *, &, ->, =, …) as well as most statements.

int getHalsteadN1()