google-gemini / deprecated-generative-ai-js
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 15% | 41% | 28% | 14%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts0% | 15% | 41% | 28% | 14%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src0% | 18% | 39% | 30% | 11%
scripts0% | 0% | 78% | 10% | 10%
test-utils0% | 0% | 0% | 23% | 76%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
81 16 1
67 17 1
53 13 1
49 6 0
40 6 1
38 6 1
36 4 2
36 2 2
33 7 1
32 3 2
32 7 1
31 8 1
29 7 1
29 4 0
27 2 1
26 9 1
24 3 2
22 3 0
21 11 1
21 1 4
20 1 4
20 4 2
19 1 6
19 3 4
17 5 1
17 6 1
17 4 1
17 3 1
16 1 4
16 1 4
16 1 4
16 3 3
16 5 1
16 3 1
15 4 1
14 5 1
13 3 1
12 1 1
12 3 1
12 3 1
12 2 1
12 3 1
11 1 1
10 2 1
10 1 1
10 1 1
10 1 2
9 2 1
9 3 1
9 1 2