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

Member predicate MetricClass::getHalsteadN1Distinct

Gets the Halstead “n1” metric: this is the total number of distinct operators in this class. Operators are defined as in the “N1” metric (getHalsteadN1).

int getHalsteadN1Distinct()