mozilla / code-coverage
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 19% | 22% | 58%
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
py0% | 0% | 23% | 21% | 55%
js0% | 0% | 8% | 26% | 65%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
bot0% | 0% | 29% | 18% | 51%
report0% | 0% | 40% | 20% | 38%
frontend0% | 0% | 9% | 32% | 58%
backend0% | 0% | 0% | 28% | 71%
tools0% | 0% | 0% | 40% | 59%
events0% | 0% | 0% | 18% | 81%
addon0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
91 20 3
68 16 2
38 16 1
42 15 4
47 14 1
64 13 0
39 13 2
118 13 0
35 13 4
24 12 1
20 11 1
13 11 4
33 11 3
29 10 3
51 9 0
21 9 1
19 9 1
36 9 5
26 9 4
19 9 1
19 9 1
19 9 1
45 8 1
28 8 3
19 7 1
18 7 3
27 7 2
16 7 1
49 7 0
29 7 1
39 7 2
27 7 3
24 7 2
33 7 2
22 7 3
7 6 1
8 6 3
15 6 3
8 6 1
9 6 1
45 6 1
26 6 1
24 6 4
23 5 2
12 5 2
20 5 4
11 5 1
16 5 2
17 5 2
19 5 1