Halstead Estimated Program Length
Equation and meaning
Leave the value you want to find empty. The verified answer appears automatically.
\[L_{h} = \frac{U_{op} \cdot \ln\left(U_{op}\right) + U_{arg} \cdot \ln\left(U_{arg}\right)}{\ln\left(2\right)}\]
- L_h: Calculated estimated program length
- U_arg: Distinct operand types; at least 1 (whole number)
- U_op: Distinct operator types; at least 1 (whole number)
Variables in this formula
Lₕ
Calculated estimated program length
Uarg
Distinct operand types; at least 1 (whole number)
Uₒₚ
Distinct operator types; at least 1 (whole number)