apache / pinot
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 14% | 16% | 63%
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
java1% | 3% | 14% | 16% | 64%
tsx0% | 13% | 46% | 12% | 27%
scala0% | 0% | 24% | 18% | 56%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pinot-core2% | 5% | 20% | 16% | 54%
pinot-common2% | 4% | 13% | 13% | 66%
pinot-segment-local1% | 5% | 11% | 16% | 65%
pinot-broker3% | 1% | 22% | 16% | 55%
pinot-plugins1% | 3% | 16% | 21% | 56%
pinot-controller0% | 5% | 16% | 18% | 59%
pinot-query-planner0% | 2% | 10% | 20% | 66%
pinot-query-runtime0% | 1% | 9% | 25% | 63%
pinot-spi0% | <1% | 7% | 7% | 83%
pinot-segment-spi0% | <1% | 13% | 9% | 76%
pinot-tools0% | 0% | 11% | 16% | 71%
pinot-server0% | 0% | 15% | 19% | 65%
pinot-connectors0% | 0% | 18% | 17% | 64%
pinot-minion0% | 0% | 26% | 11% | 62%
contrib0% | 0% | 55% | 41% | 3%
pinot-perf0% | 0% | 3% | 11% | 85%
pinot-clients0% | 0% | 2% | 8% | 89%
pinot-compatibility-verifier0% | 0% | 9% | 20% | 70%
pinot-timeseries0% | 0% | 0% | 3% | 96%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
403 148 2
274 100 4
259 96 2
103 87 1
244 78 3
245 78 2
219 67 4
265 62 1
129 59 1
71 57 1
304 57 8
240 56 4
231 53 2
185 53 1
172 52 2
192 52 1
201 45 8
154 45 1
211 45 4
204 44 3
353 42 4
189 40 2
130 40 4
204 40 4
127 39 4
164 39 1
156 39 2
136 39 1
127 38 1
127 38 1
80 36 3
75 36 2
84 36 1
129 35 2
109 35 2
84 34 4
181 34 0
138 34 3
113 33 3
120 33 4
169 33 3
107 33 2
86 33 2
186 33 6
103 33 1
114 32 4
120 32 2
68 32 2
113 32 4
176 32 2