uber / gqlgen
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
3% | 6% | 63% | 12% | 13%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go3% | 6% | 63% | 12% | 13%
js0% | 0% | 45% | 18% | 36%
ts0% | 0% | 0% | 75% | 25%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
_examples1% | 6% | 70% | 12% | 9%
codegen6% | 5% | 50% | 11% | 26%
integration8% | 2% | 65% | 13% | 10%
plugin15% | 14% | 18% | 22% | 29%
graphql6% | 13% | 27% | 20% | 32%
internal18% | 8% | 37% | 17% | 18%
api69% | 0% | 0% | 21% | 9%
client0% | 47% | 20% | 9% | 22%
handler0% | 37% | 0% | 0% | 62%
complexity0% | 0% | 42% | 37% | 20%
ROOT0% | 0% | 42% | 26% | 31%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
309 46 1
190 51 1
169 26 1
148 26 1
147 43 1
142 46 1
128 1 0
124 30 1
122 46 2
118 19 1
117 19 1
116 27 1
112 17 1
112 17 1
112 37 2
112 22 1
108 29 1
103 37 1
102 14 0
101 22 2
101 20 1
99 36 1
96 15 1
96 15 1
96 15 1
93 14 1
93 17 1
91 14 1
91 24 1
91 18 1
90 33 1
90 13 1
88 22 1
80 13 1
79 28 1
79 18 1
79 19 1
78 8 0
77 12 1
76 28 1
74 16 1
74 26 1
73 18 1
73 16 1
73 16 1
72 16 1
72 11 1
72 9 1
70 15 1
70 15 1