id: 1 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 494 end line: 609 size: 101 LOC McCabe index: 24 number of parameters: 1 id: 2 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 153 end line: 253 size: 84 LOC McCabe index: 16 number of parameters: 1 id: 3 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 42 end line: 141 size: 83 LOC McCabe index: 18 number of parameters: 1 id: 4 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 268 end line: 367 size: 83 LOC McCabe index: 18 number of parameters: 1 id: 5 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 626 end line: 718 size: 78 LOC McCabe index: 18 number of parameters: 1 id: 6 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 735 end line: 828 size: 77 LOC McCabe index: 18 number of parameters: 1 id: 7 unit: func() file: pkg/sdk/client/api_carbon_aware.go start line: 384 end line: 474 size: 76 LOC McCabe index: 18 number of parameters: 1 id: 8 unit: func() file: pkg/sdk/client/api_locations.go start line: 30 end line: 106 size: 60 LOC McCabe index: 12 number of parameters: 1 id: 9 unit: func() file: pkg/exporter/exporter.go start line: 48 end line: 118 size: 57 LOC McCabe index: 13 number of parameters: 1 id: 10 unit: func() file: pkg/exporter/exporter.go start line: 120 end line: 175 size: 50 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: func NewExporterCommand() file: cmd/exporter/app/server.go start line: 37 end line: 83 size: 41 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: func getClientConfig() file: cmd/exporter/app/options/options.go start line: 100 end line: 147 size: 38 LOC McCabe index: 9 number of parameters: 3 id: 13 unit: func Run() file: cmd/exporter/app/server.go start line: 85 end line: 132 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: func() file: cmd/exporter/app/options/options.go start line: 64 end line: 97 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: func setBody() file: pkg/sdk/client/client.go start line: 326 end line: 354 size: 26 LOC McCabe index: 10 number of parameters: 2 id: 16 unit: func() file: pkg/exporter/configmap.go start line: 27 end line: 52 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 17 unit: func CacheExpires() file: pkg/sdk/client/client.go start line: 399 end line: 421 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: func() file: pkg/exporter/configmap.go start line: 54 end line: 74 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: func parameterToString() file: pkg/sdk/client/client.go start line: 105 end line: 125 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 20 unit: func() file: pkg/exporter/configmap.go start line: 76 end line: 96 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: func() file: pkg/exporter/exporter.go start line: 177 end line: 194 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: func detectContentType() file: pkg/sdk/client/client.go start line: 357 end line: 375 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: func parseCacheControl() file: pkg/sdk/client/client.go start line: 380 end line: 396 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: func() file: pkg/sdk/client/client.go start line: 293 end line: 306 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: func addFile() file: pkg/sdk/client/client.go start line: 309 end line: 323 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 26 unit: func() file: pkg/exporter/exporter.go start line: 196 end line: 209 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: func startExporter() file: cmd/exporter/app/server.go start line: 134 end line: 148 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: func NewAPIClient() file: pkg/sdk/client/client.go start line: 54 end line: 68 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: func() file: cmd/exporter/app/options/options.go start line: 48 end line: 61 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: func() file: pkg/exporter/configmap.go start line: 98 end line: 108 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func NewExporterOptions() file: cmd/exporter/app/options/options.go start line: 37 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: func selectHeaderContentType() file: pkg/sdk/client/client.go start line: 71 end line: 79 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: func selectHeaderAccept() file: pkg/sdk/client/client.go start line: 82 end line: 92 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: func NewConfiguration() file: pkg/sdk/client/configuration.go start line: 66 end line: 73 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: func contains() file: pkg/sdk/client/client.go start line: 95 end line: 102 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: func getMinMaxForecast() file: pkg/exporter/configmap.go start line: 110 end line: 119 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: func New() file: pkg/exporter/exporter.go start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 38 unit: func mainMethod() file: cmd/exporter/main.go start line: 18 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: func main() file: cmd/exporter/main.go start line: 29 end line: 35 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: func() file: pkg/sdk/client/client.go start line: 138 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: func NewAPIResponse() file: pkg/sdk/client/response.go start line: 30 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: func NewAPIResponseWithError() file: pkg/sdk/client/response.go start line: 36 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: func() file: cmd/exporter/app/config/config.go start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func() file: pkg/sdk/client/configuration.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: func() file: pkg/sdk/client/configuration.go start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func() file: pkg/sdk/client/client.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: func() file: pkg/sdk/client/client.go start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: pkg/sdk/client/client.go start line: 431 end line: 433 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func() file: pkg/sdk/client/client.go start line: 436 end line: 438 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func() file: pkg/sdk/client/client.go start line: 441 end line: 443 size: 3 LOC McCabe index: 1 number of parameters: 1