JetBrains / kotlin
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | <1% | 5% | 8% | 85%
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
kt<1% | <1% | 5% | 8% | 84%
cc59% | 14% | 11% | 4% | 9%
java<1% | <1% | 4% | 5% | 88%
ts5% | 7% | 2% | 0% | 84%
cpp0% | 1% | 8% | 6% | 83%
swift0% | 0% | 12% | 7% | 79%
js0% | 0% | 4% | 8% | 87%
hpp0% | 0% | 3% | 7% | 88%
py0% | 0% | 7% | 23% | 69%
c0% | 0% | 1% | 0% | 98%
mm0% | 0% | 5% | 24% | 69%
h0% | 0% | 3% | 17% | 79%
kts0% | 0% | 0% | 0% | 100%
inc0% | 0% | 0% | 0% | 100%
groovy0% | 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
compiler<1% | 1% | 5% | 9% | 83%
kotlin-native1% | <1% | 5% | 7% | 85%
build-common15% | 2% | 11% | 5% | 65%
js<1% | <1% | 6% | 9% | 82%
plugins0% | 1% | 4% | 6% | 87%
core0% | 1% | 7% | 9% | 81%
analysis0% | <1% | <1% | 2% | 97%
libraries0% | 0% | 3% | 9% | 87%
wasm0% | 0% | 26% | 19% | 54%
generators0% | 0% | 6% | 9% | 83%
native0% | 0% | 1% | 9% | 88%
repo0% | 0% | 7% | 0% | 92%
jps0% | 0% | 0% | 2% | 97%
test-instrumenter0% | 0% | 0% | 25% | 74%
idea0% | 0% | 0% | 0% | 100%
benchmarks0% | 0% | 0% | 0% | 100%
gradle0% | 0% | 0% | 0% | 100%
prepare0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
290 193 0
614 172 7
122 121 0
122 121 0
122 121 0
122 121 0
122 121 0
122 121 0
110 108 0
110 108 0
110 108 0
110 108 0
188 107 2
209 103 0
126 101 0
102 101 1
102 101 1
102 100 0
102 100 0
96 94 0
96 94 0
96 94 0
95 93 0
88 86 0
88 86 0
54 79 0
54 79 0
113 71 3
72 71 1
72 71 1
72 71 1
72 71 1
68 66 0
68 66 0
68 66 0
68 66 0
68 66 0
68 66 0
43 63 0
95 62 2
96 62 2
74 61 0
62 61 0
62 61 0
93 59 2
40 59 0
77 57 3
94 55 0
38 55 0
38 55 0