CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Member predicate MetricCallable::getHalsteadLength

The Halstead length of a callable is estimated as the sum of the number of statements and expressions within the callable, plus one for the callable itself.

int getHalsteadLength()