spotify / confidence-sdk-js
Conditional Complexity

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

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