Halstead Estimated Length
From Maisqual Wiki
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.
- n1 is the number of distinct operators used in a function.
- n2 is the number of distinct operands used in a function.