Halstead Estimated Length
From Maisqual Wiki
Contents |
Definition
According to Halstead, N and differ by 10% and the correlation coefficient is close to 1. The relation between N (observed length) and (estimated length) seems valid. Then Halstead uses this relation to evaluate other metrics.
where
- n_{1} is the number of distinct operators used in a function.
- n_{2} is the number of distinct operands used in a function.
See also
Metrics: