GoogleCloudPlatform / osconfig
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
3% | 8% | 10% | 13% | 63%
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
go3% | 8% | 10% | 13% | 63%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
e2e_tests6% | 8% | 1% | 5% | 78%
config0% | 22% | 23% | 18% | 35%
policies0% | 12% | 36% | 21% | 30%
agentendpoint0% | 6% | 20% | 23% | 49%
agentconfig0% | 26% | 12% | 10% | 50%
packages0% | 0% | 21% | 23% | 54%
ospatch0% | 0% | 33% | 32% | 33%
ROOT0% | 0% | 43% | 34% | 22%
osinfo0% | 0% | 0% | 23% | 76%
retryutil0% | 0% | 0% | 37% | 62%
attributes0% | 0% | 0% | 56% | 43%
clog0% | 0% | 0% | 21% | 78%
util0% | 0% | 0% | 0% | 100%
tasker0% | 0% | 0% | 0% | 100%
inventory0% | 0% | 0% | 0% | 100%
pretty0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
336 72 0
307 72 0
196 45 0
197 42 0
126 39 2
171 36 0
113 30 1
114 29 1
122 28 1
114 27 3
122 27 0
125 27 0
88 23 5
75 21 1
75 21 4
85 20 2
79 18 1
59 18 1
62 17 1
58 17 1
95 16 1
71 16 1
52 15 1
63 15 1
56 15 1
55 15 1
36 15 2
67 14 1
46 14 1
71 14 2
41 14 4
41 14 4
48 14 2
41 14 4
63 13 1
65 13 1
65 13 1
29 12 1
52 12 1
42 12 1
42 12 2
39 12 5
43 12 3
51 12 0
40 11 1
40 10 1
33 10 1
56 10 1
23 10 1
37 10 5