gitlab-org / GitLab-Git
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
7% | 9% | 24% | 22% | 35%
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
c7% | 8% | 25% | 22% | 35%
pm11% | 1% | 19% | 27% | 39%
perl3% | 17% | 19% | 24% | 35%
py11% | 7% | 26% | 15% | 38%
h0% | 0% | 12% | 15% | 72%
js0% | 0% | 22% | 21% | 56%
pl0% | 0% | 7% | 18% | 74%
go0% | 0% | 7% | 38% | 53%
t0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT5% | 9% | 25% | 22% | 36%
builtin13% | 11% | 26% | 20% | 27%
perl13% | 1% | 22% | 21% | 40%
sha1dc50% | 0% | 3% | 2% | 44%
compat4% | 3% | 18% | 25% | 46%
t2% | 5% | 25% | 25% | 41%
xdiff6% | 16% | 33% | 23% | 19%
gitweb0% | 14% | 24% | 22% | 38%
refs0% | 7% | 31% | 21% | 39%
reftable0% | 3% | 13% | 34% | 48%
contrib0% | 0% | 10% | 44% | 45%
trace20% | 0% | 13% | 7% | 78%
negotiator0% | 0% | 11% | 22% | 65%
ewah0% | 0% | 0% | 45% | 54%
sha2560% | 0% | 0% | 12% | 87%
block-sha10% | 0% | 0% | 17% | 82%
oss-fuzz0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
691 167 3
381 159 6
778 151 0
263 129 2
409 127 3
364 116 3
363 115 3
113 107 1
182 107 3
435 105 3
317 92 3
290 90 2
284 89 3
282 88 5
319 88 3
275 85 1
290 85 3
303 85 3
231 85 5
242 84 3
234 84 3
261 82 3
208 82 3
229 81 5
408 81 5
199 81 2
278 77 3
102 76 2
301 76 3
230 72 3
289 71 3
224 71 0
225 70 5
213 70 8
242 69 4
290 69 0
188 68 3
197 67 2
200 67 3
162 67 2
145 66 4
187 65 6
173 65 2
259 65 6
132 65 5
202 64 4
236 63 2
231 62 6
179 62 3
123 62 2