guardian / support-frontend
Unit Size

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

Intro
Learn more...
Unit Size Overall
9% | 12% | 31% | 25% | 21%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
tsx15% | 21% | 36% | 15% | 10%
ts14% | 3% | 19% | 31% | 31%
scala1% | 9% | 35% | 30% | 23%
sbt0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
support-frontend8% | 13% | 31% | 25% | 21%
cdk66% | 4% | 5% | 20% | 3%
support-workers4% | 16% | 43% | 20% | 14%
support-models0% | 20% | 26% | 24% | 29%
support-payment-api0% | 7% | 37% | 29% | 26%
support-modules0% | 0% | 51% | 34% | 14%
supporter-product-data0% | 0% | 46% | 21% | 31%
support-services0% | 0% | 33% | 22% | 43%
stripe-patrons-data0% | 0% | 19% | 51% | 28%
support-internationalisation0% | 0% | 43% | 0% | 56%
support-lambdas0% | 0% | 16% | 44% | 38%
support-config0% | 0% | 0% | 19% | 80%
project0% | 0% | 0% | 0% | 100%
support-e2e0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
532 1 3
408 16 3
360 19 1
319 6 1
279 9 1
135 5 6
134 12 0
119 21 5
115 10 2
113 6 6
109 20 1
107 3 3
105 19 15
101 16 10
99 11 1
99 1 0
98 3 1
95 1 4
94 9 7
93 5 0
89 9 7
84 6 8
84 2 3
82 4 1
82 1 0
81 8 7
76 1 3
73 2 1
72 15 3
72 3 4
71 7 1
71 4 3
71 18 2
70 3 3
67 6 3
67 4 4
66 9 1
66 7 2
66 9 1
64 4 6
64 2 14
63 4 9
63 2 1
63 8 4
62 2 5
61 11 10
61 4 3
61 8 0
61 5 3
60 4 4