Skip to main content
. 2023 Nov 27;9:e1647. doi: 10.7717/peerj-cs.1647

Table 2. Halstead operators with their corresponding decomposed operators.

Base metrics Decomposed metrics Description
Total operators (N1) As Total assignment operators
A Total arithmetic operators
R Total relational operators
Log Total logical operators
O Total operators other than assignment, arithmetic, relational, and logical operators
Unique operators (n1) as Unique assignment operators
a Unique arithmetic operators
r Unique relational operators
log Unique logical operators
o Unique operators other than assignment, arithmetic, relational, and logical operators