uber / gqlgen
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 2% | 19% | 32% | 44%
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
go<1% | 2% | 19% | 32% | 44%
js0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugin9% | 0% | 24% | 11% | 54%
_examples0% | 1% | 20% | 35% | 42%
codegen0% | 3% | 19% | 25% | 51%
integration0% | 5% | 19% | 29% | 45%
graphql0% | 3% | 12% | 23% | 60%
internal0% | 18% | 15% | 36% | 30%
api0% | 69% | 0% | 0% | 30%
client0% | 0% | 47% | 20% | 31%
handler0% | 0% | 37% | 0% | 62%
complexity0% | 0% | 0% | 42% | 57%
ROOT0% | 0% | 0% | 26% | 73%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
190 51 1
122 46 2
142 46 1
309 46 1
147 43 1
112 37 2
103 37 1
99 36 1
90 33 1
124 30 1
108 29 1
79 28 1
76 28 1
116 27 1
74 26 1
148 26 1
169 26 1
91 24 1
68 23 1
56 22 2
101 22 2
62 22 1
88 22 1
112 22 1
48 21 1
101 20 1
59 20 1
118 19 1
52 19 1
63 19 4
79 19 1
117 19 1
73 18 1
51 18 1
79 18 1
63 18 1
91 18 1
53 17 1
112 17 1
53 17 1
112 17 1
93 17 1
50 17 1
72 16 1
50 16 1
50 16 1
74 16 1
50 16 1
50 16 1
73 16 1