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