JetBrains / bun
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
5% | 7% | 15% | 16% | 55%
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
cpp7% | 7% | 16% | 16% | 51%
ts3% | 8% | 15% | 17% | 54%
js5% | 6% | 17% | 19% | 51%
c4% | 1% | 17% | 13% | 62%
h0% | 4% | 11% | 13% | 70%
rb0% | 0% | 0% | 11% | 88%
pl0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
rs0% | 0% | 0% | 0% | 100%
cjs0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src5% | 7% | 15% | 16% | 54%
packages3% | 3% | 15% | 17% | 59%
misctools0% | 0% | 26% | 56% | 16%
bench0% | 0% | 12% | 8% | 78%
scripts0% | 0% | 0% | 63% | 36%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
475 168 8
1463 148 3
208 103 1
185 103 1
321 87 0
176 73 4
206 68 5
167 66 3
177 65 3
164 65 3
130 61 4
297 61 2
240 58 2
235 57 3
159 56 3
54 54 1
240 51 1
156 51 3
321 48 1
139 48 7
122 47 2
134 45 3
147 44 5
184 42 1
90 40 1
214 40 2
108 40 5
159 40 10
80 39 7
123 38 3
329 38 1
139 37 3
120 37 8
90 36 6
77 36 5
172 36 2
122 35 1
184 35 0
118 35 3
141 35 2
174 35 0
86 34 1
73 34 3
98 34 1
128 33 1
56 31 4
123 31 2
69 31 7
69 31 7
156 31 1