JetBrains / guide
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 28% | 30% | 24% | 16%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
tsx0% | 42% | 17% | 19% | 20%
ts0% | 22% | 36% | 25% | 15%
js0% | 0% | 54% | 40% | 5%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
_includes0% | 41% | 27% | 21% | 9%
ROOT0% | 100% | 0% | 0% | 0%
src0% | 23% | 36% | 18% | 21%
tools0% | 0% | 40% | 48% | 10%
public0% | 0% | 61% | 35% | 3%
site0% | 0% | 0% | 16% | 83%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
99 3 1
76 13 2
71 17 3
70 7 11
60 11 1
59 5 2
53 5 2
48 8 1
42 9 4
38 18 1
37 14 2
36 5 2
30 11 2
30 3 1
30 9 2
30 7 2
29 10 1
29 6 3
25 4 1
23 2 1
23 3 2
22 3 0
21 5 3
21 3 2
18 2 0
18 1 1
17 2 0
17 3 0
17 1 0
17 3 2
17 1 2
17 1 2
16 5 1
16 2 3
16 3 2
15 4 1
15 2 1
15 3 4
14 1 1
14 2 3
14 13 2
13 1 0
13 2 1
13 1 2
13 2 1
13 1 0
12 1 0
12 2 2
11 1 2
11 1 6