mozilla / addons-server
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 2% | 11% | 19% | 65%
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
js5% | 5% | 6% | 11% | 71%
py<1% | 2% | 12% | 20% | 63%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
static5% | 5% | 5% | 11% | 71%
src<1% | 2% | 12% | 20% | 63%
scripts0% | 0% | 35% | 3% | 60%
locale0% | 0% | 0% | 50% | 50%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
280 56 3
399 54 1
134 49 2
98 38 5
69 31 2
113 31 5
27 30 1
101 30 5
99 30 4
59 27 2
327 26 1
69 26 4
70 24 1
49 24 3
32 23 3
58 22 5
95 21 1
59 21 3
87 20 2
38 20 2
91 19 1
435 19 1
68 18 4
110 18 1
34 18 2
57 17 1
55 17 2
25 17 4
41 17 2
48 16 2
29 16 1
42 16 3
37 16 3
77 15 2
51 15 1
70 15 5
30 15 2
44 15 4
58 15 2
24 15 4
52 15 4
20 15 5
48 14 4
45 14 1
53 14 1
47 14 1
41 14 1
33 14 4
70 14 2
26 14 1