Halstead Program Difficulty
Equation and meaning
Leave the value you want to find empty. The verified answer appears automatically.
\[D_{h} = \frac{U_{op}}{2} \cdot \frac{T_{arg}}{U_{arg}}\]
- D_h: Halstead difficulty
- T_arg: Total operand occurrences (whole number)
- U_arg: Distinct operand types (whole number)
- U_op: Distinct operator types (whole number)
Variables in this formula
Dₕ
Halstead difficulty
Targ
Total operand occurrences (whole number)
Uarg
Distinct operand types (whole number)
Uₒₚ
Distinct operator types (whole number)