guardian / facia-tool
Unit Size

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

Intro
Learn more...
Unit Size Overall
10% | 10% | 33% | 23% | 22%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
tsx48% | 15% | 14% | 6% | 14%
scala3% | 10% | 45% | 26% | 14%
js1% | 8% | 27% | 28% | 33%
sbt100% | 0% | 0% | 0% | 0%
ts0% | 9% | 38% | 25% | 26%
py0% | 35% | 20% | 29% | 14%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
fronts-client25% | 12% | 25% | 15% | 20%
app3% | 10% | 45% | 26% | 14%
public1% | 9% | 26% | 28% | 34%
ROOT81% | 0% | 15% | 0% | 3%
scripts0% | 35% | 20% | 29% | 14%
grunt-configs0% | 0% | 68% | 27% | 4%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
516 41 0
244 22 0
174 30 0
174 16 0
133 14 0
128 5 0
121 11 0
111 6 1
110 19 2
109 2 0
107 1 1
100 10 0
98 19 1
87 24 0
84 4 4
79 7 2
79 2 13
78 6 5
77 17 1
76 5 1
76 14 1
72 7 1
71 4 0
67 7 1
67 8 2
66 8 0
61 24 8
61 5 2
60 2 1
60 2 0
58 8 1
58 2 0
56 3 5
56 3 5
56 8 1
56 8 0
55 7 3
54 11 3
53 4 0
51 12 4
51 7 3
50 7 1
50 10 1
49 5 0
48 6 1
48 2 2
46 6 2
45 12 1
45 7 1
45 6 1