guardian / support-frontend
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | <1% | 6% | 13% | 79%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
scala0% | <1% | 2% | 14% | 82%
tsx0% | 0% | 10% | 17% | 71%
ts0% | 0% | 7% | 8% | 84%
sbt0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
support-workers0% | 2% | <1% | 25% | 71%
support-models0% | 4% | 2% | 11% | 81%
support-frontend0% | 0% | 6% | 15% | 78%
cdk0% | 0% | 25% | 0% | 74%
support-payment-api0% | 0% | 5% | 6% | 87%
support-internationalisation0% | 0% | 43% | 0% | 56%
supporter-product-data0% | 0% | 0% | 8% | 91%
support-services0% | 0% | 0% | 10% | 89%
stripe-patrons-data0% | 0% | 0% | 4% | 95%
support-modules0% | 0% | 0% | 0% | 100%
support-lambdas0% | 0% | 0% | 0% | 100%
support-config0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
support-e2e0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
44 43 1
52 28 2
119 21 5
43 20 1
109 20 1
105 19 15
360 19 1
24 19 1
25 18 2
71 18 2
30 17 1
101 16 10
408 16 3
72 15 3
20 15 1
33 14 1
56 12 3
134 12 0
18 12 1
61 11 10
99 11 1
12 11 1
10 11 1
35 10 1
36 10 3
14 10 2
34 10 1
10 10 1
13 10 1
15 10 1
115 10 2
20 10 1
21 9 2
66 9 1
57 9 9
279 9 1
89 9 7
94 9 7
13 9 0
12 9 2
9 9 1
28 9 2
66 9 1
20 8 1
23 8 1
35 8 6
49 8 3
81 8 7
28 8 2
12 8 1