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.
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.