GoogleCloudPlatform / kubectl-ai
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 11% | 12% | 20% | 54%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 11% | 12% | 20% | 54%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pkg0% | 22% | 0% | 9% | 67%
k8s-bench0% | 28% | 14% | 31% | 24%
ROOT0% | 0% | 57% | 0% | 42%
kubectl-utils0% | 0% | 44% | 26% | 28%
gollm0% | 0% | 2% | 29% | 67%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
201 37 3
124 30 1
136 29 1
128 22 1
87 18 1
65 13 1
63 13 1
40 13 1
41 11 2
38 11 1
39 11 1
32 10 1
40 10 1
49 10 4
39 9 1
31 9 1
69 9 1
42 9 0
36 8 1
32 8 1
54 8 6
37 8 2
46 8 1
24 7 1
31 7 2
34 7 1
41 6 1
27 6 1
30 6 1
23 6 1
21 6 1
23 6 1
21 6 1
28 6 1
22 5 1
30 5 1
19 5 4
20 5 1
12 5 2
18 5 1
15 5 1
42 5 1
18 5 1
11 5 0
16 5 1
52 5 1
16 5 1
14 5 1
25 5 1
24 5 1