CodeQL library for Java/Kotlin
codeql/java-all 0.8.10-dev (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()