guardian / dotcom-rendering
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 0% | 2% | 10% | 85%
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
ts3% | 0% | 3% | 10% | 82%
tsx0% | 0% | <1% | 11% | 87%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
apps-rendering6% | 0% | 3% | 8% | 81%
dotcom-rendering0% | 0% | 1% | 11% | 86%
scripts0% | 0% | 0% | 32% | 67%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
244 53 3
87 17 1
34 15 1
41 13 1
50 13 0
43 12 1
55 10 3
31 10 0
63 10 0
35 10 1
118 9 1
28 9 2
32 9 2
29 9 1
30 8 0
10 8 1
38 8 2
114 8 1
53 8 1
26 8 1
20 8 1
15 7 0
16 7 3
27 7 2
42 7 3
32 7 1
43 7 0
37 6 6
36 6 4
39 6 4
24 6 1
19 6 1
29 6 3
22 6 2
19 6 1
29 6 1
48 6 0
15 6 1
25 6 0
14 6 2
23 6 0
28 6 0
15 6 1
41 5 1
21 5 1
20 5 1
17 5 1
16 5 1
15 5 1
11 5 1