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

Member predicate MetricFunction::getHalsteadVocabulary

Gets the Halstead vocabulary size of this function. This is the sum of the n1 and n2 Halstead metrics.

int getHalsteadVocabulary()