The Halstead Complexity calculator computes an estimate of the size of a body of software based the total and unique number of operators and operands.
INSTRUCTIONS: Enter the following:
Halstead Complexity (HC): The calculator returns the volume factor as a real number.
Halstead Complexity calculations were intended to provide software metrics established as an empirical science of software development.
The Volume estimation provides a general estimate of the code size.
`HC = (N_1 + N_2) * (log_2(eta_1 + eta_2)) `
where: The inputs for the Software Volume estimation are: