GoogleCloudPlatform / kubectl-ai
Unit Size

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

Intro
Learn more...
Unit Size Overall
15% | 11% | 31% | 21% | 19%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go15% | 11% | 31% | 21% | 19%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
pkg22% | 0% | 20% | 30% | 26%
k8s-bench28% | 26% | 25% | 12% | 6%
ROOT35% | 15% | 35% | 4% | 9%
kubectl-utils0% | 44% | 26% | 15% | 12%
gollm0% | 3% | 44% | 25% | 25%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
201 37 3
136 29 1
128 22 1
124 30 1
87 18 1
69 9 1
65 13 1
63 13 1
57 4 1
54 8 6
52 5 1
49 10 4
46 8 1
42 5 1
42 9 0
41 6 1
41 11 2
40 10 1
40 13 1
39 9 1
39 11 1
38 11 1
37 2 1
37 8 2
36 8 1
34 3 1
34 7 1
32 10 1
32 8 1
31 2 1
31 9 1
31 7 2
30 5 1
30 6 1
28 6 1
27 6 1
25 3 4
25 5 1
24 4 1
24 7 1
24 5 1
24 5 1
23 6 1
23 3 1
23 6 1
22 5 1
21 4 1
21 6 1
21 6 1
21 4 1