twitter / the-algorithm-ml
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 8% | 14% | 76%
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
py0% | 0% | 8% | 14% | 76%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
projects0% | 0% | 11% | 19% | 69%
core0% | 0% | 13% | 5% | 80%
machines0% | 0% | 21% | 0% | 78%
reader0% | 0% | 0% | 20% | 79%
optimizers0% | 0% | 0% | 46% | 53%
ml_logging0% | 0% | 0% | 79% | 20%
common0% | 0% | 0% | 10% | 89%
metrics0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
59 20 2
75 15 2
25 14 1
38 13 2
48 10 1
31 10 2
25 9 4
25 7 3
22 7 1
35 7 2
29 7 2
23 7 3
27 7 1
15 6 1
20 6 4
12 6 2
18 6 2
31 5 0
47 5 1
25 5 2
6 5 3
23 5 3
23 5 3
6 5 1
17 5 4
9 4 1
8 4 1
9 4 2
6 4 2
6 4 2
14 4 2
32 4 2
7 4 2
6 4 2
9 4 1
15 4 2
9 4 1
7 4 1
13 4 1
8 4 1
14 4 1
7 4 0
20 3 1
8 3 1
9 3 3
4 3 3
7 3 2
19 3 3
7 3 1
11 3 4