Operator | Number of Occurrences |
---|---|
if | 1 |
< | 1 |
+= | 1 |
– | 1 |
int | 1 |
+ | 6 |
* | 2 |
/ | 4 |
% | 1 |
dayray | 1 |
return | 1 |
n1 = 11 | N1 = 20 |
Operand | Number of Occurrences |
---|---|
month | 3 |
3 | 1 |
12 | 1 |
year | 5 |
day | 1 |
1 | 1 |
26 | 1 |
10 | 1 |
4 | 1 |
6 | 1 |
100 | 1 |
400 | 1 |
7 | 1 |
n2 = 13 | N2 = 19 |
Halstead Metrics
- n 1 = 11 , n 2 = 13 , N 1 = 20 , N 2 = 19 n_1 = 11 , n_2= 13, N_1 = 20, N_2 = 19 n1=11,n2=13,N1=20,N2=19
- 程序词汇表长度 Program vocabulary: n = n 1 + n 2 = 24 n = n_1 + n_2 = 24 n=n