JetBrains / skia
Unit Size

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

Intro
Learn more...
Unit Size Overall
13% | 16% | 28% | 18% | 22%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp15% | 18% | 30% | 18% | 17%
go24% | 16% | 22% | 14% | 22%
mm10% | 22% | 28% | 20% | 18%
py6% | 12% | 30% | 17% | 32%
cc19% | 23% | 35% | 12% | 9%
ts22% | 30% | 25% | 16% | 4%
h<1% | 4% | 11% | 13% | 70%
js1% | 10% | 21% | 20% | 46%
inc0% | 11% | 47% | 22% | 18%
java0% | 5% | 19% | 22% | 52%
rs0% | 19% | 21% | 32% | 27%
c0% | 0% | 100% | 0% | 0%
m0% | 0% | 0% | 0% | 100%
frag0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src13% | 17% | 29% | 18% | 21%
tools14% | 16% | 30% | 16% | 22%
bench39% | 3% | 16% | 16% | 23%
infra27% | 18% | 28% | 13% | 12%
modules6% | 15% | 25% | 21% | 31%
gm6% | 21% | 36% | 19% | 16%
fuzz38% | 10% | 24% | 14% | 12%
dm20% | 14% | 38% | 10% | 15%
bazel12% | 2% | 13% | 20% | 51%
experimental0% | 20% | 21% | 32% | 25%
example0% | 50% | 43% | 0% | 6%
gn0% | 25% | 42% | 10% | 20%
platform_tools0% | 5% | 19% | 22% | 52%
include0% | 2% | 8% | 7% | 80%
ROOT0% | 9% | 32% | 38% | 18%
client_utils0% | 29% | 11% | 35% | 22%
toolchain0% | 0% | 100% | 0% | 0%
resources0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
5152 1 0
1637 298 3
1183 295 1
870 169 0
793 622 2
670 505 0
582 240 3
580 121 4
563 109 5
506 29 6
495 90 3
479 203 5
474 26 3
419 79 2
409 72 2
406 85 2
395 63 3
374 23 1
342 47 8
341 90 5
338 81 0
332 53 3
332 57 5
325 80 5
320 23 3
316 68 3
315 15 2
313 101 1
308 18 0
304 79 3
293 40 8
288 88 3
284 72 1
282 63 2
279 50 7
277 6 1
276 55 1
275 49 10
268 69 2
261 1 1
257 56 2
254 64 1
252 90 9
248 42 1
247 60 1
241 48 11
238 32 2
232 73 2
232 191 3
225 64 4