JetBrains / compose-multiplatform-core
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
5% | 10% | 31% | 22% | 29%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
kt5% | 10% | 37% | 24% | 21%
java6% | 9% | 22% | 20% | 41%
cc38% | 5% | 35% | 8% | 11%
cpp13% | 8% | 28% | 26% | 22%
py5% | 12% | 28% | 23% | 29%
ts0% | 14% | 30% | 32% | 22%
kts0% | 40% | 22% | 13% | 23%
js0% | 0% | 57% | 14% | 28%
m0% | 0% | 94% | 0% | 5%
h0% | 0% | 5% | 0% | 94%
groovy0% | 0% | 0% | 77% | 22%
swift0% | 0% | 0% | 28% | 71%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
compose5% | 11% | 40% | 24% | 18%
constraintlayout22% | 16% | 27% | 13% | 21%
wear7% | 11% | 20% | 16% | 44%
camera4% | 9% | 23% | 21% | 40%
appcompat6% | 10% | 19% | 19% | 43%
core2% | 7% | 21% | 21% | 46%
exifinterface33% | 15% | 25% | 12% | 12%
room5% | 13% | 25% | 26% | 29%
car4% | 7% | 21% | 21% | 44%
appsearch4% | 11% | 27% | 18% | 37%
ink6% | 5% | 25% | 30% | 31%
recyclerview5% | 12% | 29% | 21% | 30%
leanback2% | 9% | 21% | 20% | 46%
navigation2% | 6% | 24% | 41% | 24%
paging6% | 6% | 29% | 24% | 32%
fragment4% | 13% | 25% | 25% | 31%
tvprovider18% | 0% | 9% | 16% | 55%
viewpager14% | 21% | 28% | 13% | 22%
benchmark6% | 15% | 24% | 25% | 27%
transition5% | 7% | 28% | 19% | 38%
development4% | 15% | 28% | 25% | 26%
buildSrc5% | 11% | 37% | 22% | 22%
graphics3% | 6% | 24% | 26% | 39%
work2% | 7% | 28% | 25% | 36%
savedstate4% | 6% | 14% | 13% | 61%
navigation33% | 19% | 64% | 8% | 4%
slidingpanelayout15% | 12% | 21% | 14% | 35%
security3% | 10% | 35% | 20% | 29%
versionedparcelable7% | 7% | 25% | 22% | 37%
media1% | 2% | 23% | 25% | 46%
customview7% | 10% | 21% | 36% | 23%
vectordrawable4% | 16% | 23% | 14% | 41%
inspection11% | 13% | 34% | 11% | 29%
slice1% | 12% | 23% | 20% | 43%
stableaidl15% | 9% | 43% | 13% | 17%
window2% | 2% | 14% | 18% | 61%
profileinstaller8% | 9% | 39% | 18% | 23%
mediarouter<1% | 13% | 20% | 26% | 37%
drawerlayout7% | 12% | 27% | 17% | 34%
credentials0% | 18% | 27% | 22% | 31%
pdf0% | 5% | 13% | 26% | 54%
tv0% | 12% | 26% | 35% | 25%
lint-checks0% | 27% | 40% | 20% | 11%
coordinatorlayout0% | 13% | 30% | 23% | 32%
viewpager20% | 15% | 16% | 23% | 44%
privacysandbox0% | 5% | 25% | 22% | 46%
collection0% | 2% | 18% | 29% | 49%
preference0% | 3% | 22% | 23% | 49%
kruth0% | 2% | 9% | 15% | 72%
print0% | 42% | 9% | 28% | 19%
emoji20% | 4% | 23% | 22% | 48%
remotecallback0% | 23% | 13% | 29% | 32%
health0% | 2% | 12% | 32% | 52%
biometric0% | 5% | 18% | 24% | 52%
activity0% | 8% | 20% | 22% | 48%
percentlayout0% | 23% | 37% | 5% | 33%
emoji0% | 4% | 20% | 18% | 55%
webkit0% | 3% | 6% | 24% | 65%
playground-common0% | 42% | 38% | 10% | 9%
concurrent0% | 10% | 32% | 23% | 33%
heifwriter0% | 5% | 37% | 25% | 31%
swiperefreshlayout0% | 5% | 27% | 19% | 48%
sharetarget0% | 9% | 48% | 28% | 14%
lifecycle0% | <1% | 24% | 33% | 40%
hilt0% | 50% | 20% | 9% | 19%
browser0% | 1% | 9% | 23% | 64%
sqlite0% | 2% | 20% | 28% | 48%
gridlayout0% | 4% | 17% | 30% | 47%
bluetooth0% | 6% | 29% | 20% | 43%
autofill0% | 7% | 37% | 4% | 50%
glance0% | 0% | 31% | 34% | 33%
navigationevent0% | 0% | 29% | 48% | 21%
datastore0% | 0% | 24% | 32% | 43%
testutils0% | 0% | 19% | 22% | 58%
javascriptengine0% | 0% | 25% | 23% | 51%
input0% | 0% | 29% | 27% | 42%
cardview0% | 0% | 25% | 11% | 63%
palette0% | 0% | 21% | 21% | 57%
loader0% | 0% | 14% | 37% | 47%
metrics0% | 0% | 27% | 23% | 49%
tracing0% | 0% | 48% | 14% | 37%
draganddrop0% | 0% | 40% | 39% | 20%
contentpager0% | 0% | 28% | 25% | 46%
startup0% | 0% | 31% | 26% | 41%
arch0% | 0% | 16% | 28% | 55%
enterprise0% | 0% | 14% | 39% | 45%
cursoradapter0% | 0% | 20% | 25% | 53%
mpp0% | 0% | 57% | 14% | 28%
lint0% | 0% | 61% | 38% | 0%
annotation0% | 0% | 47% | 43% | 9%
documentfile0% | 0% | 10% | 26% | 63%
performance0% | 0% | 53% | 0% | 46%
dynamicanimation0% | 0% | 4% | 30% | 64%
asynclayoutinflater0% | 0% | 18% | 35% | 46%
binarycompatibilityvalidator0% | 0% | 41% | 44% | 14%
resourceinspection0% | 0% | 72% | 0% | 27%
busytown0% | 0% | 0% | 85% | 14%
recommendation0% | 0% | 0% | 15% | 84%
interpolator0% | 0% | 0% | 50% | 50%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
5366 2 0
1027 2 0
456 172 27
395 124 3
373 119 5
366 134 2
345 89 2
343 109 1
338 93 2
319 83 4
317 16 2
312 42 0
309 89 0
298 86 2
295 79 4
288 90 2
282 1 0
268 72 2
260 3 0
248 66 1
244 75 2
243 76 3
242 67 0
242 74 10
242 13 2
238 57 5
236 38 14
236 60 1
235 20 6
233 58 5
226 11 1
221 70 2
220 31 3
219 52 2
213 21 0
209 1 0
209 48 2
207 66 2
206 49 1
202 49 0
202 1 1
200 13 6
199 24 2
199 44 8
197 5 0
197 5 0
195 5 0
193 4 0
193 40 5
192 53 2