elastic / go-ucfg
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 20% | 24% | 55%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 0% | 20% | 24% | 55%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT0% | 0% | 23% | 23% | 52%
parse0% | 0% | 0% | 62% | 37%
flag0% | 0% | 0% | 14% | 85%
diff0% | 0% | 0% | 0% | 100%
cfgutil0% | 0% | 0% | 0% | 100%
json0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
hjson0% | 0% | 0% | 0% | 100%
cfgtest0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
61 19 3
72 18 3
55 18 3
50 18 1
64 17 3
74 15 1
52 15 4
55 14 3
45 14 2
45 14 2
40 14 3
42 12 5
41 12 5
37 12 4
43 11 4
29 11 3
29 10 2
26 10 1
31 10 1
42 10 1
33 9 1
37 9 4
34 9 6
32 9 5
19 9 2
21 8 1
27 8 2
33 8 3
25 8 3
22 8 2
25 8 2
34 8 1
28 8 1
35 8 1
27 7 1
20 7 1
29 7 1
23 7 2
31 7 4
29 7 3
34 7 3
17 7 1
22 7 1
15 6 1
17 6 5
25 6 1
23 6 3
19 6 3
28 6 3
17 6 3