elastic / go-structform
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 5% | 13% | 19% | 61%
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% | 5% | 13% | 19% | 61%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
cborl0% | 12% | 7% | 18% | 62%
json0% | 12% | 24% | 11% | 52%
gotype0% | 6% | 12% | 19% | 62%
ubjson0% | 0% | 18% | 38% | 42%
sftest0% | 0% | 17% | 8% | 74%
ROOT0% | 0% | 0% | 0% | 100%
visitors0% | 0% | 0% | 0% | 100%
bench0% | 0% | 0% | 0% | 100%
internal0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
95 46 1
124 39 1
118 31 1
60 24 1
56 21 1
45 20 1
74 20 1
67 17 1
38 17 1
29 15 1
40 15 1
65 14 1
40 13 1
39 12 2
47 12 2
39 12 1
37 12 1
43 12 1
31 12 1
16 11 2
48 11 1
26 11 1
35 10 3
26 10 1
26 10 1
31 9 1
44 9 1
31 9 1
14 9 1
27 9 1
19 8 2
17 8 1
22 8 1
27 8 1
31 8 1
33 8 1
32 8 1
33 8 1
32 8 1
23 7 1
22 7 1
22 7 1
17 7 1
33 7 1
24 7 1
21 7 1
21 7 1
21 7 1
21 7 1
28 7 1