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