spotify / confidence-sdk-js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 10% | 8% | 81%
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% | 6% | 9% | 84%
cjs0% | 0% | 70% | 0% | 29%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages0% | 0% | 6% | 8% | 85%
ROOT0% | 0% | 67% | 0% | 32%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
84 14 1
31 13 1
55 11 3
22 8 1
20 8 1
14 7 1
16 7 1
34 7 3
18 6 3
14 5 1
12 5 2
24 5 0
66 5 1
21 5 5
55 5 2
17 5 1
9 5 1
9 5 1
13 4 1
8 4 2
8 4 2
14 4 2
14 4 1
9 4 2
3 4 1
12 4 0
12 4 0
15 4 0
13 4 2
30 4 0
33 4 2
12 4 1
14 4 2
12 4 1
15 3 2
7 3 0
10 3 2
13 3 2
9 3 0
4 3 1
10 3 1
10 3 2
7 3 2
18 3 2
11 3 0
8 3 0
25 3 3
20 3 3
12 3 0
8 3 1