Halstead complexity measures: Difference between revisions

Content deleted Content added
WikitanvirBot (talk | contribs)
Dfg13 (talk | contribs)
add length equation
Line 14:
* <math>\,N_2</math> = the total number of operands
 
From these numbers, fiveseveral measures can be calculated:
* Program length: <math>N = N_1 + N_2 \,</math>
* Program vocabulary: <math>\eta = \eta_1 + \eta_2 \,</math>
* Program length: <math>N = N_1 + N_2 \,</math>
* Calculated program length: <math>\hat{N} = \eta_1 \log_2 \eta_1 + \eta_2 \log_2 \eta_2 </math>
* Volume: <math>V = N \times \log_2 \eta </math>
* Difficulty : <math>D = { \eta_1 \over 2 } \times { N_2 \over \eta_2 } </math>