netflix / spectator-js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 13% | 6% | 80%
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% | 13% | 6% | 80%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 13% | 6% | 80%
Most Complex Units
Top 35 most complex units
Unit# linesMcCabe index# params
36 17 2
16 6 1
22 5 1
13 4 3
9 4 1
14 3 3
22 3 2
5 3 1
9 2 2
10 2 1
8 2 1
12 2 4
6 1 1
5 1 3
1 1 1
6 1 0
5 1 3
3 1 0
3 1 2
3 1 2
3 1 2
3 1 2
3 1 2
3 1 1
3 1 2
3 1 2
3 1 2
3 1 2
5 1 2
3 1 1
5 1 1
4 1 1
4 1 1
3 1 1
4 1 1