elastic / opentelemetry-collector-contrib
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 1% | 11% | 17% | 67%
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
go1% | 1% | 11% | 17% | 67%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
receiver2% | 1% | 7% | 12% | 75%
exporter1% | 3% | 14% | 24% | 56%
extension1% | <1% | 11% | 26% | 60%
pkg0% | 1% | 21% | 22% | 54%
processor0% | 1% | 15% | 19% | 63%
connector0% | 4% | 14% | 18% | 62%
internal0% | 1% | 9% | 23% | 64%
cmd0% | 4% | 25% | 27% | 41%
testbed0% | 0% | 2% | 18% | 79%
scraper0% | 0% | 4% | 13% | 81%
confmap0% | 0% | 25% | 53% | 21%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
734 183 1
308 124 1
251 115 1
254 107 1
180 86 1
280 76 3
215 76 1
228 67 3
258 57 1
103 55 1
134 54 1
140 54 5
261 54 0
123 51 1
105 46 1
118 43 1
129 38 6
171 38 1
118 37 1
117 35 1
154 35 1
173 35 3
104 34 1
137 34 3
94 33 1
103 33 1
95 32 1
96 30 5
84 30 3
102 30 1
165 29 1
90 29 1
152 29 1
118 29 1
84 28 3
153 28 1
155 28 4
106 28 1
157 28 3
32 28 1
81 28 1
52 28 1
164 27 1
156 27 1
70 27 1
80 27 3
97 27 1
59 27 1
64 26 1
84 26 1