alibaba / MNN
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
7% | 10% | 24% | 19% | 38%
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% | 12% | 26% | 19% | 33%
inl100% | 0% | 0% | 0% | 0%
h10% | 9% | 21% | 15% | 44%
py2% | 1% | 18% | 21% | 54%
mm5% | 9% | 22% | 14% | 48%
hpp0% | 5% | 15% | 27% | 51%
cc0% | 31% | 33% | 12% | 23%
kt0% | 0% | 6% | 11% | 82%
swift0% | 0% | 2% | 19% | 77%
c0% | 0% | 0% | 67% | 32%
js0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
frag0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
source9% | 10% | 24% | 20% | 35%
tools7% | 13% | 30% | 16% | 32%
codegen26% | 26% | 21% | 2% | 22%
pymnn3% | 2% | 9% | 12% | 71%
transformers<1% | 3% | 22% | 22% | 51%
backupcode0% | 13% | 19% | 23% | 43%
express0% | 8% | 19% | 25% | 46%
apps0% | 0% | 5% | 14% | 80%
benchmark0% | 0% | 14% | 18% | 67%
project0% | 0% | 0% | 89% | 10%
include0% | 0% | 0% | <1% | 99%
doc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1129 196 4
1367 157 8
1368 157 8
1198 139 8
1199 139 8
623 132 3
200 131 6
222 121 3
521 112 2
235 92 6
196 88 1
540 81 8
209 80 6
364 79 2
346 78 1
96 75 2
457 73 8
326 72 5
272 71 8
273 70 2
185 68 6
210 67 2
259 66 1
233 66 5
250 65 1
291 65 5
230 63 2
236 62 0
228 62 6
723 62 7
305 60 2
292 58 2
216 58 2
233 56 6
149 55 1
238 54 3
279 54 2
321 52 2
459 51 2
364 51 2
358 50 3
608 50 9
769 50 9
190 50 6
567 48 9
146 47 3
199 47 2
281 47 2
208 47 2
192 47 11