twitter / the-algorithm-ml
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
0% | 8% | 23% | 20% | 47%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 8% | 23% | 20% | 47%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
projects0% | 12% | 30% | 23% | 32%
core0% | 13% | 11% | 20% | 55%
metrics0% | 0% | 35% | 0% | 64%
reader0% | 0% | 18% | 38% | 43%
optimizers0% | 0% | 46% | 0% | 53%
ml_logging0% | 0% | 79% | 0% | 20%
machines0% | 0% | 21% | 0% | 78%
common0% | 0% | 10% | 22% | 67%
ROOT0% | 0% | 0% | 45% | 54%
tools0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
75 15 2
59 20 2
53 3 2
48 10 1
47 5 1
38 13 2
35 7 2
32 4 2
31 5 0
31 10 2
29 7 2
27 7 1
26 2 2
25 5 2
25 7 3
25 9 4
25 14 1
23 5 3
23 5 3
23 7 3
22 7 1
20 6 4
20 3 1
19 1 0
19 3 3
19 1 2
18 6 2
18 2 1
17 3 2
17 5 4
15 6 1
15 1 1
15 4 2
14 4 2
14 4 1
13 1 0
13 1 2
13 2 3
13 4 1
13 1 0
12 6 2
12 1 2
12 1 2
11 2 1
11 1 2
11 1 0
11 3 4
11 3 4
11 2 4
11 1 1