google-gemini / api-examples
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 13% | 51% | 28% | 6%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go0% | 24% | 70% | 4% | <1%
java0% | 28% | 45% | 26% | 0%
js0% | 0% | 38% | 48% | 13%
py0% | 0% | 28% | 57% | 13%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
go0% | 24% | 70% | 4% | <1%
java0% | 28% | 45% | 26% | 0%
javascript0% | 0% | 38% | 48% | 13%
python0% | 0% | 28% | 57% | 13%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
91 4 0
79 11 0
78 10 0
59 10 0
58 4 0
58 4 0
56 7 0
56 6 0
55 6 0
52 5 0
51 9 0
50 6 0
48 8 0
48 8 0
44 7 0
44 5 0
44 5 0
44 5 0
44 4 0
43 4 0
42 6 0
42 6 0
42 5 0
42 7 0
39 1 0
39 6 0
39 5 0
39 5 0
39 5 0
39 3 0
38 1 0
38 5 0
36 1 0
36 4 0
36 4 0
36 5 0
36 8 0
35 1 1
35 1 0
35 4 0
35 5 0
34 4 0
34 7 0
34 3 0
33 9 0
33 4 0
33 4 0
33 4 0
32 1 1
32 4 1