elastic / ebpf
Unit Size

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

Intro
Learn more...
Unit Size Overall
19% | 15% | 29% | 16% | 18%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
c27% | 20% | 30% | 13% | 7%
py14% | 13% | 24% | 16% | 30%
cc1% | 4% | 40% | 26% | 26%
h0% | 3% | 14% | 17% | 64%
go0% | 0% | 43% | 40% | 15%
cpp0% | 0% | 60% | 0% | 39%
cs0% | 0% | 19% | 30% | 50%
pas0% | 0% | 57% | 21% | 21%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
contrib21% | 15% | 27% | 16% | 19%
non-GPL0% | 22% | 54% | 12% | 11%
GPL0% | 17% | 41% | 17% | 24%
testing0% | 0% | 43% | 40% | 15%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
637 203 2
341 67 5
331 71 5
260 85 2
259 12 3
257 105 2
248 44 2
236 74 2
229 83 3
223 38 5
194 64 9
180 46 6
178 53 3
174 1 5
172 42 19
169 42 6
165 56 2
164 54 6
163 41 2
158 36 3
155 40 5
155 37 3
149 31 7
141 36 4
140 25 4
135 54 2
133 42 1
133 26 5
130 35 4
130 31 6
129 16 0
120 41 3
120 28 1
119 34 5
118 58 1
117 36 3
116 43 2
115 34 5
114 31 0
114 33 2
114 27 6
112 35 3
111 18 5
111 28 6
111 18 2
111 26 2
110 11 2
109 36 6
107 26 2
106 26 7