Professional Documents
Culture Documents
Measure may be direct or indirect. Direct measures are line of code produced, no of defects
found, execution speed , memory size etc. Indirect measures may be complexity, efficiency,
reliability, maintainability etc.
Categories of Metrics:
There are three categories of software metrics which are given below:
ii) Process metrics: described the effectiveness and quality of the processes that are
produce the software product such as :
iii) Project metrics : describe the project characteristics and execution such as
Areas of Applications:
• The most established area of software metrics is cost and size estimation
techniques.
Parameter Meaning
n Vocabulary n1 + n2
N Program length N1 + N2
Example: Let code is int f=1, n=7; for (int i=1; i<=n; i+=1) f*=i;
int 2 f 2
= 3 1 3
, 1 n 2
; 4 7 1
for 1 i 4
() 1 -
<= 1 -
+= 1 -
*= 1 -
9 15 5 12