mozilla / treeherder
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 4% | 21% | 22% | 52%
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% | 5% | 23% | 20% | 51%
js0% | 0% | 7% | 33% | 58%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
treeherder0% | 5% | 23% | 20% | 51%
ui0% | 0% | 7% | 33% | 58%
misc0% | 0% | 0% | 43% | 56%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
144 41 3
201 35 1
177 33 2
153 24 2
97 24 1
110 24 3
96 24 3
69 23 2
52 23 2
43 22 3
208 21 2
47 19 4
41 18 3
62 18 5
176 16 3
25 16 2
50 15 2
41 14 2
18 13 2
29 13 2
30 13 3
65 13 2
39 13 0
49 12 4
23 12 1
73 12 3
43 12 1
35 12 4
33 12 2
62 12 5
39 12 3
22 12 1
51 12 2
49 11 1
48 11 5
28 11 1
86 11 1
29 11 2
33 11 2
21 11 4
17 11 2
16 11 2
34 11 5
39 11 3
28 11 2
16 11 4
75 11 3
27 11 2
30 10 7
37 10 2