scitools.com

← Metric catalog

Halstead Effort (E) is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Halstead Effort (E)

API IDHalsteadEffort
TargetsFiles Functions
LanguagesAny
CategoriesTokens
CostSlow
SuitesHalstead

Halstead Effort (E) measures coding time

Where Time is E/18 seconds. It's calculated from the Halstead Difficult (D) and Halstead Volume (V) as:

See all Halstead metrics.