CodeQL library for Java
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()