Halstead complexity measures: Difference between revisions

Content deleted Content added
No edit summary
Previous version mistakenly took N2
Line 55:
* Calculated Program Length: <math>\hat{N} = 10 \times log_2 10 + 7 \times log_2 7 = 52.9</math>
* Volume: <math>V = 31 \times log_2 17 = 126.7</math>
* Difficulty: <math>D = { 10 \over 2 } \times { 1516 \over 7 } = 1011.74</math>
* Effort: <math>E = 10.7 \times 126.7 = 1,3551448.71</math>
* Time required to program: <math>T = { 1,355.7 \over 18 } = 7580.34</math> seconds
* Number of delivered bugs: <math>B = { 1,355.7 ^ { 2 \over 3 } \over 3000 } = 0.04</math>