CodeQL library for C/C++
codeql/cpp-all 0.12.10 (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()