mozilla / glean.js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 5% | 20% | 74%
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
ts0% | 0% | 5% | 20% | 74%
js0% | 0% | 0% | 26% | 73%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
glean0% | 0% | 5% | 20% | 74%
automation0% | 0% | 0% | 26% | 73%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
88 14 3
16 13 1
45 12 2
58 10 2
47 10 2
39 9 1
48 9 2
18 8 0
18 8 2
23 8 1
17 8 1
31 8 0
43 7 1
32 7 0
27 7 2
49 7 2
16 6 2
25 6 1
20 6 1
20 6 0
17 6 2
24 6 1
36 5 3
18 5 0
27 5 1
21 5 1
12 5 2
30 5 1
20 5 1
28 5 1
23 5 0
7 5 1
24 5 1
23 4 3
14 4 2
10 4 1
28 4 1
18 4 2
18 4 1
12 4 1
17 4 2
22 4 3
18 4 2
9 4 1
17 4 1
11 4 1
9 4 0
12 4 0
27 4 1
21 4 1