id: 1 unit: func main() file: main.go start line: 110 end line: 194 size: 72 LOC McCabe index: 12 number of parameters: 0 id: 2 unit: func() file: controllers/cloudstackmachine_controller.go start line: 218 end line: 298 size: 63 LOC McCabe index: 6 number of parameters: 1 id: 3 unit: func() file: controllers/cloudstackmachine_controller.go start line: 67 end line: 139 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 4 unit: func() file: controllers/cloudstackmachine_controller.go start line: 142 end line: 202 size: 51 LOC McCabe index: 13 number of parameters: 1 id: 5 unit: func() file: pkg/cloud/instance.go start line: 126 end line: 188 size: 48 LOC McCabe index: 12 number of parameters: 1 id: 6 unit: func setFlags() file: main.go start line: 65 end line: 108 size: 44 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: func() file: controllers/cloudstackcluster_controller.go start line: 146 end line: 189 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: func() file: controllers/cloudstackcluster_controller.go start line: 66 end line: 112 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 9 unit: func() file: pkg/cloud/cluster.go start line: 51 end line: 88 size: 31 LOC McCabe index: 10 number of parameters: 1 id: 10 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 199 end line: 228 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: func() file: pkg/cloud/network.go start line: 60 end line: 89 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 12 unit: func() file: pkg/cloud/instance.go start line: 45 end line: 72 size: 25 LOC McCabe index: 11 number of parameters: 1 id: 13 unit: func() file: api/v1beta1/cloudstackcluster_webhook.go start line: 77 end line: 107 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 14 unit: func() file: pkg/cloud/cluster.go start line: 25 end line: 49 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 15 unit: func() file: pkg/cloud/network.go start line: 36 end line: 58 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: func() file: pkg/cloud/network.go start line: 164 end line: 187 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 17 unit: func() file: pkg/cloud/instance.go start line: 74 end line: 97 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func() file: pkg/cloud/instance.go start line: 99 end line: 122 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 19 unit: func() file: api/v1beta1/cloudstackmachine_webhook.go start line: 75 end line: 99 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 20 unit: func() file: api/v1beta1/cloudstackmachinetemplate_webhook.go start line: 74 end line: 98 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: func() file: pkg/cloud/network.go start line: 110 end line: 134 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func() file: pkg/cloud/network.go start line: 91 end line: 107 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: func() file: pkg/cloud/network.go start line: 145 end line: 161 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: func() file: pkg/cloud/network.go start line: 194 end line: 213 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: func NewClient() file: pkg/cloud/client.go start line: 49 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 26 unit: func() file: api/v1beta1/cloudstackmachine_webhook.go start line: 55 end line: 72 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: func() file: api/v1beta1/cloudstackcluster_webhook.go start line: 55 end line: 74 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func() file: api/v1beta1/cloudstackmachinetemplate_webhook.go start line: 54 end line: 71 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func EnsureStringStringMapFieldsAreEqual() file: pkg/webhook_utilities/webhook_validators.go start line: 40 end line: 51 size: 12 LOC McCabe index: 6 number of parameters: 4 id: 30 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 57 end line: 68 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 167 end line: 178 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 287 end line: 298 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: func readAPIConfig() file: pkg/cloud/client.go start line: 66 end line: 76 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: func() file: controllers/cloudstackcluster_controller.go start line: 115 end line: 129 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func AggregateObjErrors() file: pkg/webhook_utilities/webhook_validators.go start line: 53 end line: 63 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 36 unit: func CompressAndEncodeString() file: pkg/cloud/helpers.go start line: 33 end line: 42 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: func() file: controllers/cloudstackmachine_controller.go start line: 205 end line: 215 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func() file: pkg/cloud/instance.go start line: 191 end line: 201 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 89 end line: 97 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: func() file: pkg/cloud/network.go start line: 136 end line: 143 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 39 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 100 end line: 107 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 115 end line: 122 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 130 end line: 137 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 149 end line: 156 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 181 end line: 188 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 231 end line: 238 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 241 end line: 248 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 251 end line: 258 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 269 end line: 276 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 301 end line: 308 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 326 end line: 333 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 342 end line: 349 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func() file: pkg/mocks/mock_client.go start line: 166 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 30 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 140 end line: 146 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func() file: controllers/cloudstackcluster_controller.go start line: 132 end line: 143 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func EnsureFieldExists() file: pkg/webhook_utilities/webhook_validators.go start line: 26 end line: 31 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: func EnsureStringFieldsAreEqual() file: pkg/webhook_utilities/webhook_validators.go start line: 33 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 61 unit: func setMachineDataFromVMMetrics() file: pkg/cloud/instance.go start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: func() file: pkg/mocks/mock_client.go start line: 40 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func() file: pkg/mocks/mock_client.go start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: pkg/mocks/mock_client.go start line: 68 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: pkg/mocks/mock_client.go start line: 82 end line: 87 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func() file: pkg/mocks/mock_client.go start line: 96 end line: 101 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func() file: pkg/mocks/mock_client.go start line: 110 end line: 115 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func() file: pkg/mocks/mock_client.go start line: 124 end line: 129 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: func() file: pkg/mocks/mock_client.go start line: 138 end line: 143 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: pkg/mocks/mock_client.go start line: 152 end line: 157 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: pkg/mocks/mock_client.go start line: 181 end line: 186 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 49 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 81 end line: 86 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 159 end line: 164 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 191 end line: 196 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 261 end line: 266 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 279 end line: 284 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 311 end line: 316 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: func setIfNotEmpty() file: pkg/cloud/helpers.go start line: 27 end line: 31 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 80 unit: func NewMockClient() file: pkg/mocks/mock_client.go start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: api/v1beta1/cloudstackmachine_webhook.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: api/v1beta1/cloudstackcluster_webhook.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 319 end line: 323 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: api/v1beta1/cloudstackmachinetemplate_webhook.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func init() file: main.go start line: 48 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: func NewClientFromCSAPIClient() file: pkg/cloud/client.go start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: pkg/cloud/network.go start line: 189 end line: 192 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: pkg/mocks/mock_client.go start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: pkg/mocks/mock_client.go start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: pkg/mocks/mock_client.go start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func() file: pkg/mocks/mock_client.go start line: 90 end line: 93 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func() file: pkg/mocks/mock_client.go start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: pkg/mocks/mock_client.go start line: 118 end line: 121 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: pkg/mocks/mock_client.go start line: 132 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: pkg/mocks/mock_client.go start line: 146 end line: 149 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: pkg/mocks/mock_client.go start line: 160 end line: 163 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: pkg/mocks/mock_client.go start line: 175 end line: 178 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: pkg/mocks/mock_client.go start line: 189 end line: 192 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func() file: api/v1beta1/cloudstackmachine_webhook.go start line: 102 end line: 106 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func() file: api/v1beta1/cloudstackcluster_webhook.go start line: 110 end line: 114 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 336 end line: 339 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: api/v1beta1/cloudstackmachinetemplate_webhook.go start line: 101 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: pkg/mocks/mock_client.go start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func() file: api/v1beta1/cloudstackmachine_webhook.go start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func() file: api/v1beta1/cloudstackcluster_webhook.go start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func init() file: api/v1beta1/cloudstackcluster_types.go start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: api/v1beta1/zz_generated.deepcopy.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func init() file: api/v1beta1/cloudstackmachinetemplate_types.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: func() file: api/v1beta1/cloudstackmachinetemplate_webhook.go start line: 44 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: func init() file: api/v1beta1/cloudstackmachine_types.go start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: func() file: api/v1beta1/conversion.go start line: 20 end line: 20 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: func() file: api/v1beta1/conversion.go start line: 23 end line: 23 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func() file: api/v1beta1/conversion.go start line: 26 end line: 26 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: func() file: api/v1beta1/conversion.go start line: 29 end line: 29 size: 1 LOC McCabe index: 1 number of parameters: 1