Unit-3 Software Metrices
Unit-3 Software Metrices
1. Direct Measurement:
In direct measurement the product, process or thing is measured
directly using standard scale.
• productivity
Halstead's Software Metrics
η = η 1 + η2
η : vocabulary of a program
where
η1 : number of unique operators
η2 : number of unique operands
Software Metrics
The length of the program in the terms of the total number of tokens used
is
N = N1+N2
where
N : program length
N1 : total occurrences of operators
N2 : total occurrences of operands
Halstead metrics are: