elastic / ebpf
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
7% | 12% | 18% | 18% | 43%
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
c10% | 17% | 22% | 20% | 29%
py7% | 0% | 35% | 16% | 40%
cc0% | 2% | 13% | 19% | 64%
h0% | 0% | 2% | 9% | 88%
cs0% | 0% | 7% | 17% | 75%
go0% | 0% | 0% | 33% | 66%
cpp0% | 0% | 0% | 29% | 70%
pas0% | 0% | 0% | 31% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
contrib7% | 13% | 18% | 17% | 42%
non-GPL0% | 2% | 16% | 33% | 48%
GPL0% | 0% | 15% | 22% | 61%
testing0% | 0% | 0% | 33% | 66%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
637 203 2
257 105 2
260 85 2
229 83 3
236 74 2
331 71 5
341 67 5
194 64 9
118 58 1
165 56 2
164 54 6
135 54 2
178 53 3
180 46 6
105 46 1
248 44 2
116 43 2
169 42 6
133 42 1
172 42 19
101 42 3
94 42 5
120 41 3
163 41 2
155 40 5
223 38 5
155 37 3
141 36 4
117 36 3
158 36 3
109 36 6
112 35 3
130 35 4
115 34 5
119 34 5
114 33 2
60 33 4
80 32 2
114 31 0
149 31 7
130 31 6
104 29 4
81 29 4
49 28 3
111 28 6
120 28 1
99 28 5
74 27 2
61 27 3
114 27 6