Halstead Program Length

From Maisqual Wiki

Jump to: navigation, search

Contents


Definition

Halstead considers Observed Length N as the program length observed a posteriori. It takes into account all textual elements present in the code.

N = N1 + N2

where

  • N1 is the total number of operators used in a function.
  • N2 is the total number of operands used in a function.


SQuORE

Program Length mnemonic in SQuORE is HPGL.


See also

Metrics:

Personal tools