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