guardian / frontend
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | <1% | 7% | 13% | 77%
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
scala1% | <1% | 5% | 12% | 79%
js0% | 0% | 14% | 18% | 67%
ts0% | 0% | 0% | 4% | 95%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
common3% | 1% | 7% | 13% | 74%
static0% | 0% | 11% | 18% | 69%
admin0% | 0% | 7% | 5% | 87%
onward0% | 0% | 8% | 13% | 78%
facia0% | 0% | 10% | 14% | 75%
applications0% | 0% | 4% | 15% | 80%
sport0% | 0% | 2% | 18% | 78%
identity0% | 0% | 2% | 2% | 94%
article0% | 0% | 3% | 21% | 75%
tools0% | 0% | 20% | 38% | 40%
commercial0% | 0% | 5% | 15% | 78%
archive0% | 0% | 12% | 14% | 72%
facia-press0% | 0% | 0% | 8% | 91%
discussion0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
dev-build0% | 0% | 0% | 0% | 100%
preview0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
rss0% | 0% | 0% | 0% | 100%
dev0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
519 64 11
48 46 1
75 30 1
118 27 2
29 26 2
63 23 1
25 23 1
55 22 0
32 22 1
95 22 2
87 21 0
55 21 0
45 21 3
23 21 1
43 20 1
55 20 1
22 20 1
27 19 4
116 18 0
95 17 0
44 17 0
19 17 1
20 17 1
62 16 1
36 16 1
46 15 2
20 15 2
34 15 4
26 15 1
18 15 1
25 15 1
38 14 1
38 14 2
83 14 1
42 14 3
16 14 1
16 14 1
36 14 1
11 14 1
39 14 1
38 13 3
14 13 1
58 13 3
11 13 2
35 13 1
35 13 2
25 13 3
10 13 1
39 13 1
22 13 2