JetBrains / kotlin-web-site
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 4% | 38% | 27% | 29%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
js0% | 4% | 38% | 25% | 31%
ts0% | 29% | 12% | 34% | 23%
py0% | 0% | 39% | 30% | 29%
tsx0% | 0% | 55% | 23% | 20%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
static0% | 5% | 39% | 23% | 31%
ROOT0% | 16% | 31% | 15% | 37%
src0% | 0% | 39% | 38% | 21%
blocks0% | 0% | 46% | 31% | 22%
scripts0% | 0% | 26% | 42% | 30%
pages0% | 0% | 93% | 0% | 6%
hooks0% | 0% | 100% | 0% | 0%
utils0% | 0% | 0% | 41% | 58%
components0% | 0% | 0% | 44% | 55%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
65 8 0
62 2 0
54 13 0
50 16 2
49 8 2
44 6 1
41 4 0
41 13 2
39 18 2
38 1 5
38 7 1
37 2 0
35 8 1
35 7 3
34 13 0
33 6 1
32 9 0
32 7 2
31 10 2
30 15 1
29 8 3
28 16 1
28 1 2
27 11 0
27 3 1
27 3 1
27 10 4
26 2 2
26 11 2
26 5 0
25 1 0
25 7 1
25 6 0
25 4 1
25 5 1
25 3 2
24 4 2
24 7 3
24 7 2
24 1 3
24 3 2
23 7 0
23 20 1
22 6 3
22 9 1
22 3 2
22 5 0
22 5 2
22 8 1
22 5 0