twitter / typeahead.js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 3% | 7% | 89%
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% | 0% | 3% | 7% | 89%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 3% | 8% | 88%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
26 13 2
39 12 0
25 9 1
16 7 2
13 7 2
22 7 1
12 6 4
9 6 2
13 6 2
28 6 1
12 5 1
10 5 1
9 5 1
19 5 2
21 5 0
8 5 0
10 5 1
20 5 2
16 5 2
14 5 2
12 5 3
11 5 0
265 4 1
12 4 2
10 4 3
10 4 1
6 4 1
7 4 1
12 4 2
3 4 1
18 4 1
8 4 1
17 4 1
15 4 1
9 3 1
7 3 0
12 3 1
11 3 2
15 3 1
7 3 1
3 3 1
6 3 1
11 3 1
5 3 1
7 3 2
13 3 2
17 3 1
9 3 0
9 3 0
8 3 0