# Halstead Complexity - Effort

Not Reviewed
Equation / Last modified by mike on 2015/07/29 08:32
"Effort" =
Tags:
Rating
ID
MichaelBartmess.Halstead Complexity - Effort
UUID
e6d0c4e9-da27-11e2-8e97-bc764e04d25f

This equation computes the resource effort necessary to create a block of code, algorithm, method, class, etc. This measure of effort can be translated into actual coding time.

The equation has as inputs:

N_1 - total number of operators
N_2 - total number of operands
eta_1 - number of distinct operators
eta_2 - number of distinct operands