Halstead Estimated Programming Time
Equation and meaning
Leave the value you want to find empty. The verified answer appears automatically. Equation units are selected by default.
\[t = \frac{\frac{U_{op}}{2} \cdot \frac{T_{arg}}{U_{arg}} \cdot \left(T_{op} + T_{arg}\right) \cdot \ln\left(U_{op} + U_{arg}\right)}{18 \cdot \ln\left(2\right)}\]
- t: Empirical time estimate; effort divided by 18 per second
- T_arg: Total operand occurrences (whole number)
- T_op: Total operator occurrences (whole number)
- U_arg: Distinct operand types (whole number)
- U_op: Distinct operator types (whole number)
Variables in this formula
t
Empirical time estimate; effort divided by 18 per second Equation unit: s
Targ
Total operand occurrences (whole number)
Tₒₚ
Total operator occurrences (whole number)
Uarg
Distinct operand types (whole number)
Uₒₚ
Distinct operator types (whole number)