alibaba / graphlearn-for-pytorch
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 11% | 28% | 23% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 13% | 25% | 22% | 39%
cc0% | 8% | 48% | 31% | 12%
h0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
graphlearn_torch0% | 12% | 27% | 23% | 37%
benchmarks0% | 0% | 76% | 23% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
98 17 14
94 18 11
94 14 11
92 22 5
88 14 14
70 14 6
55 8 1
50 12 13
49 16 10
48 7 2
48 8 3
47 13 9
46 9 17
44 9 20
44 14 3
42 6 6
41 8 15
41 5 1
40 9 9
37 7 4
36 7 4
34 2 1
34 6 1
34 8 9
33 2 1
32 16 5
31 9 7
30 4 1
30 10 3
30 8 1
29 10 3
29 2 1
28 3 1
28 7 5
27 2 15
26 7 1
26 5 1
26 5 2
24 4 1
24 3 11
24 3 9
24 8 2
23 3 4
23 2 2
22 1 7
22 10 2
22 9 1
22 4 1
22 3 10
22 3 7