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

Member predicate MetricFile::getHalsteadN1Distinct

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

int getHalsteadN1Distinct()