JetBrains / compose-multiplatform-core
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 1% | 6% | 8% | 82%
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% | 12% | 15% | 67%
py5% | 0% | 19% | 23% | 51%
kt0% | <1% | 2% | 4% | 93%
cc0% | 0% | 38% | 16% | 44%
cpp0% | 0% | 18% | 15% | 66%
ts0% | 0% | 0% | 31% | 68%
groovy0% | 0% | 0% | 21% | 78%
h0% | 0% | 0% | 0% | 100%
kts0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
swift0% | 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
constraintlayout10% | 11% | 18% | 14% | 44%
appcompat2% | 3% | 13% | 17% | 62%
compose<1% | <1% | 2% | 3% | 93%
tvprovider18% | 0% | 1% | 5% | 74%
core<1% | 2% | 10% | 15% | 70%
exifinterface10% | 19% | 23% | 20% | 26%
development4% | 0% | 15% | 24% | 54%
viewpager6% | 8% | 19% | 26% | 38%
webkit3% | 0% | 3% | 4% | 89%
recyclerview0% | 6% | 17% | 19% | 56%
appsearch0% | 4% | 6% | 19% | 69%
leanback0% | 2% | 12% | 14% | 70%
camera0% | 1% | 9% | 14% | 75%
wear0% | 1% | 8% | 11% | 79%
fragment0% | 4% | 14% | 21% | 59%
slice0% | 3% | 17% | 15% | 62%
car0% | 1% | 7% | 10% | 79%
transition0% | 3% | 12% | 21% | 62%
room0% | 1% | 4% | 8% | 86%
customview0% | 13% | 14% | 14% | 58%
slidingpanelayout0% | 15% | 17% | 10% | 56%
paging0% | 2% | 4% | 3% | 89%
security0% | 3% | 10% | 22% | 63%
benchmark0% | 2% | 9% | 15% | 71%
media0% | 1% | 8% | 14% | 75%
vectordrawable0% | 4% | 18% | 19% | 58%
work0% | 1% | 8% | 12% | 77%
graphics0% | 1% | 2% | 9% | 86%
navigation0% | <1% | 2% | 1% | 96%
profileinstaller0% | 8% | 5% | 20% | 66%
drawerlayout0% | 7% | 19% | 18% | 55%
percentlayout0% | 23% | 7% | 30% | 38%
mediarouter0% | <1% | 13% | 18% | 66%
pdf0% | 1% | 3% | 8% | 86%
remotecallback0% | 15% | 13% | 8% | 61%
emoji0% | 4% | 9% | 11% | 75%
preference0% | 1% | 5% | 10% | 82%
heifwriter0% | 5% | 1% | 27% | 65%
glance0% | 1% | 0% | 3% | 95%
versionedparcelable0% | 0% | 29% | 9% | 61%
emoji20% | 0% | 13% | 8% | 78%
tv0% | 0% | 12% | 11% | 75%
coordinatorlayout0% | 0% | 18% | 22% | 58%
credentials0% | 0% | 7% | 9% | 83%
viewpager20% | 0% | 17% | 11% | 71%
collection0% | 0% | 3% | 1% | 94%
lint-checks0% | 0% | 19% | 33% | 46%
navigation30% | 0% | 3% | <1% | 95%
window0% | 0% | 3% | 11% | 84%
autofill0% | 0% | 23% | 21% | 54%
concurrent0% | 0% | 20% | 18% | 60%
swiperefreshlayout0% | 0% | 12% | 2% | 85%
kruth0% | 0% | 2% | 3% | 93%
biometric0% | 0% | 5% | 20% | 74%
health0% | 0% | 2% | 13% | 84%
inspection0% | 0% | 11% | 18% | 69%
gridlayout0% | 0% | 9% | 13% | 77%
lifecycle0% | 0% | 1% | 4% | 93%
privacysandbox0% | 0% | 2% | 8% | 88%
sharetarget0% | 0% | 15% | 37% | 46%
print0% | 0% | 21% | 30% | 48%
buildSrc0% | 0% | 1% | 13% | 84%
ink0% | 0% | <1% | <1% | 98%
stableaidl0% | 0% | 9% | 8% | 82%
input0% | 0% | 6% | 7% | 85%
loader0% | 0% | 3% | 11% | 84%
cursoradapter0% | 0% | 11% | 13% | 74%
arch0% | 0% | 5% | 15% | 79%
datastore0% | 0% | <1% | 2% | 96%
browser0% | 0% | 0% | 9% | 90%
sqlite0% | 0% | 0% | 11% | 88%
activity0% | 0% | 0% | 15% | 84%
palette0% | 0% | 0% | 23% | 76%
javascriptengine0% | 0% | 0% | 8% | 91%
startup0% | 0% | 0% | 40% | 59%
metrics0% | 0% | 0% | 24% | 75%
contentpager0% | 0% | 0% | 23% | 76%
draganddrop0% | 0% | 0% | 30% | 69%
enterprise0% | 0% | 0% | 13% | 86%
cardview0% | 0% | 0% | 8% | 91%
navigationevent0% | 0% | 0% | 1% | 98%
dynamicanimation0% | 0% | 0% | 7% | 92%
annotation0% | 0% | 0% | 47% | 52%
bluetooth0% | 0% | 0% | 4% | 95%
lint0% | 0% | 0% | 29% | 70%
testutils0% | 0% | 0% | 1% | 98%
documentfile0% | 0% | 0% | 5% | 94%
busytown0% | 0% | 0% | 36% | 63%
savedstate0% | 0% | 0% | <1% | 99%
tracing0% | 0% | 0% | 0% | 100%
playground-common0% | 0% | 0% | 0% | 100%
asynclayoutinflater0% | 0% | 0% | 0% | 100%
hilt0% | 0% | 0% | 0% | 100%
mpp0% | 0% | 0% | 0% | 100%
recommendation0% | 0% | 0% | 0% | 100%
performance0% | 0% | 0% | 0% | 100%
binarycompatibilityvalidator0% | 0% | 0% | 0% | 100%
resourceinspection0% | 0% | 0% | 0% | 100%
interpolator0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
456 172 27
366 134 2
395 124 3
373 119 5
343 109 1
338 93 2
288 90 2
345 89 2
309 89 0
298 86 2
319 83 4
165 81 3
295 79 4
243 76 3
244 75 2
181 74 1
242 74 10
268 72 2
138 71 4
221 70 2
137 68 1
242 67 0
248 66 1
207 66 2
181 65 1
132 60 2
236 60 1
233 58 5
189 58 2
238 57 5
155 57 1
121 56 2
120 54 5
192 53 2
219 52 2
91 52 1
168 52 2
130 51 2
182 51 2
155 50 2
119 50 2
202 49 0
206 49 1
160 48 4
209 48 2
151 48 0
144 47 3
48 47 1
163 46 3
89 46 1