guardian / fibre-census
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 11% | 28% | 36% | 23%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts0% | 71% | 0% | 13% | 14%
scala0% | 8% | 25% | 39% | 26%
pl0% | 0% | 41% | 34% | 23%
tsx0% | 0% | 71% | 28% | 0%
js0% | 0% | 0% | 100% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
frontend0% | 44% | 18% | 27% | 9%
app0% | 8% | 25% | 39% | 26%
client_script0% | 0% | 41% | 34% | 23%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
63 9 1
58 18 2
47 8 0
43 14 1
31 19 0
30 11 2
27 6 1
27 6 1
26 5 0
24 6 3
24 9 1
23 10 1
20 6 1
19 3 0
19 3 1
19 8 1
17 5 1
17 8 2
17 3 2
16 5 2
16 3 1
16 3 0
16 4 1
16 4 1
15 9 0
15 3 1
14 3 0
14 1 0
14 3 2
13 4 1
13 3 4
12 7 0
12 2 2
11 3 0
11 3 1
11 3 2
11 1 1
11 2 0
10 3 0
10 3 2
10 1 1
9 4 0
9 8 1
9 3 1
9 3 1
8 2 0
8 2 0
8 2 2
8 2 1
8 2 1