Halstead Mental Effort

From Maisqual Wiki

Jump to: navigation, search

Contents


Definition

The mental effort E required to both develop and understand a program is expressed by Halstead in basic reasoning units. It increases with Program Volume V and decreases with Program Level L.

Halstead showed that a program written in PL/1 requires three times less comprehension effort than a program written in assembly language. He proposed mental effort E as a measurement of program text complexity.

E = V / L

where


See also

Metrics:

Personal tools