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

Member predicate MetricClass::getHalsteadVocabulary

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

int getHalsteadVocabulary()