mozilla / addons-frontend
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 3% | 15% | 18% | 63%
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
js0% | 3% | 15% | 18% | 63%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 3% | 15% | 18% | 62%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
167 30 2
80 26 2
77 22 1
108 22 10
71 20 0
108 19 0
47 19 1
52 17 7
82 16 4
66 14 0
63 14 1
59 13 0
42 13 1
45 12 1
151 12 2
141 12 1
35 11 1
54 11 3
46 11 0
32 10 1
30 10 1
41 10 4
29 9 1
32 9 3
87 9 4
21 8 2
91 8 0
29 8 1
24 8 1
31 8 1
32 8 2
79 8 1
39 7 1
101 7 0
55 7 0
24 7 2
24 7 2
15 7 4
45 7 1
24 7 1
22 7 1
70 7 2
35 7 2
20 6 0
22 6 1
14 6 1
11 6 1
13 6 3
24 6 1
57 6 0