Uber / base-design-docs
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 9% | 23% | 66%
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% | 46% | 38% | 15%
tsx0% | 0% | 0% | 19% | 80%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lib0% | 0% | 46% | 38% | 15%
components0% | 0% | 0% | 22% | 77%
pages0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 29 most complex units
Unit# linesMcCabe index# params
108 19 0
86 8 0
37 7 1
89 6 0
32 6 1
20 6 2
113 5 2
29 4 3
13 3 0
21 3 1
109 2 0
16 2 2
10 2 1
3 1 0
14 1 1
28 1 1
20 1 1
28 1 1
20 1 1
43 1 1
27 1 1
27 1 1
27 1 1
39 1 0
64 1 0
18 1 2
3 1 2
11 1 0
57 1 1