guardian / giant
Unit Size

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

Intro
Learn more...
Unit Size Overall
1% | 11% | 24% | 31% | 30%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
scala2% | 10% | 25% | 34% | 26%
tsx0% | 27% | 25% | 25% | 21%
ts0% | 8% | 17% | 29% | 45%
js0% | 5% | 25% | 28% | 40%
sbt0% | 0% | 100% | 0% | 0%
java0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
backend2% | 10% | 27% | 36% | 23%
frontend0% | 12% | 23% | 28% | 35%
cli0% | 15% | 12% | 20% | 50%
postgres0% | 100% | 0% | 0% | 0%
common0% | 0% | 8% | 25% | 66%
ROOT0% | 0% | 100% | 0% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
139 8 2
108 36 2
98 5 4
90 15 4
89 14 9
84 5 6
83 14 5
81 17 12
79 8 3
75 8 1
75 1 9
74 2 3
71 23 6
70 11 1
70 7 5
69 6 7
67 6 2
64 14 8
63 3 0
62 4 5
61 2 0
61 5 6
61 1 0
60 8 4
58 6 7
56 8 3
56 7 1
54 3 2
53 4 5
53 12 2
52 11 1
51 2 1
51 4 1
50 5 4
49 8 0
49 3 3
49 2 0
48 3 0
48 7 5
48 6 4
48 2 1
47 4 2
47 9 0
47 3 1
46 3 1
46 3 3
45 9 5
45 3 1
45 6 2
44 3 1