id: 1 unit: func New() file: app/app.go start line: 56 end line: 187 size: 107 LOC McCabe index: 26 number of parameters: 2 id: 2 unit: func() file: apmproxy/apmserver.go start line: 132 end line: 223 size: 75 LOC McCabe index: 18 number of parameters: 1 id: 3 unit: func() file: app/run.go start line: 30 end line: 142 size: 74 LOC McCabe index: 16 number of parameters: 1 id: 4 unit: func() file: app/run.go start line: 144 end line: 249 size: 71 LOC McCabe index: 11 number of parameters: 1 id: 5 unit: func() file: logsapi/event.go start line: 105 end line: 176 size: 68 LOC McCabe index: 18 number of parameters: 1 id: 6 unit: func() file: apmproxy/apmserver.go start line: 263 end line: 314 size: 46 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: func() file: accumulator/batch.go start line: 177 end line: 224 size: 44 LOC McCabe index: 15 number of parameters: 1 id: 8 unit: func Unzip() file: e2e-testing/e2e_util.go start line: 86 end line: 137 size: 43 LOC McCabe index: 9 number of parameters: 3 id: 9 unit: func() file: apmproxy/receiver.go start line: 126 end line: 179 size: 40 LOC McCabe index: 7 number of parameters: 1 id: 10 unit: func() file: logsapi/subscribe.go start line: 85 end line: 126 size: 37 LOC McCabe index: 6 number of parameters: 1 id: 11 unit: func mainWithError() file: main.go start line: 40 end line: 88 size: 37 LOC McCabe index: 8 number of parameters: 0 id: 12 unit: func() file: logsapi/model/model_json.go start line: 98 end line: 133 size: 36 LOC McCabe index: 11 number of parameters: 1 id: 13 unit: func NewClient() file: apmproxy/client.go start line: 74 end line: 116 size: 36 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: func() file: accumulator/batch.go start line: 132 end line: 170 size: 35 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: func() file: apmproxy/apmserver.go start line: 84 end line: 125 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 16 unit: func() file: extension/client.go start line: 95 end line: 127 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func GetUncompressedBytes() file: accumulator/metadata.go start line: 40 end line: 69 size: 30 LOC McCabe index: 7 number of parameters: 2 id: 18 unit: func() file: apmproxy/apmserver.go start line: 50 end line: 81 size: 30 LOC McCabe index: 10 number of parameters: 1 id: 19 unit: func() file: logsapi/client.go start line: 104 end line: 136 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 20 unit: func() file: apmproxy/receiver.go start line: 77 end line: 123 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: func() file: apmproxy/receiver.go start line: 182 end line: 209 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func() file: logsapi/model/model_json.go start line: 58 end line: 83 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: func loadAWSOptions() file: app/aws.go start line: 32 end line: 60 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 24 unit: func() file: logsapi/event.go start line: 79 end line: 103 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: func ProcessPlatformReport() file: logsapi/metrics.go start line: 39 end line: 78 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 26 unit: func handleLogEventsRequest() file: logsapi/route_handlers.go start line: 28 end line: 52 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: func() file: extension/client.go start line: 159 end line: 184 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func() file: extension/client.go start line: 189 end line: 214 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: func() file: apmproxy/receiver.go start line: 38 end line: 66 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: func() file: extension/client.go start line: 130 end line: 154 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: func() file: logsapi/route_handlers.go start line: 54 end line: 77 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 32 unit: func RunCommandInDir() file: e2e-testing/e2e_util.go start line: 48 end line: 69 size: 22 LOC McCabe index: 5 number of parameters: 4 id: 33 unit: func findEventType() file: accumulator/batch.go start line: 366 end line: 387 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 34 unit: func ProcessFunctionLog() file: logsapi/functionlogs.go start line: 28 end line: 51 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 35 unit: func NewClient() file: logsapi/client.go start line: 74 end line: 101 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: func() file: accumulator/invocation.go start line: 66 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 37 unit: func logBodyErrors() file: apmproxy/apmserver.go start line: 225 end line: 247 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 38 unit: func() file: logsapi/event.go start line: 59 end line: 77 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: func ParseLogLevel() file: logger/logger.go start line: 46 end line: 66 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 40 unit: public APIGatewayProxyResponseEvent handleRequest() file: e2e-testing/sam-java/sam-testing-java/src/main/java/samtestingjava/App.java start line: 41 end line: 62 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: func() file: accumulator/batch.go start line: 345 end line: 364 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: func() file: logsapi/model/model_json.go start line: 39 end line: 56 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 43 unit: func loadSecret() file: app/aws.go start line: 62 end line: 83 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 44 unit: func parseDurationTimeout() file: app/app.go start line: 189 end line: 211 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 45 unit: func() file: accumulator/batch.go start line: 106 end line: 124 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func() file: accumulator/batch.go start line: 328 end line: 343 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: func() file: logsapi/model/model_json.go start line: 135 end line: 149 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func() file: logsapi/subscribe.go start line: 66 end line: 83 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: func() file: logsapi/subscribe.go start line: 128 end line: 144 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: func buildLogger() file: app/app.go start line: 224 end line: 238 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: func Handle() file: testing/functions/go1.x/main.go start line: 18 end line: 30 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: func() file: logsapi/model/model_json.go start line: 26 end line: 37 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 53 unit: func() file: logsapi/model/model_json.go start line: 85 end line: 96 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 54 unit: func GetFreePort() file: e2e-testing/e2e_util.go start line: 160 end line: 172 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 55 unit: func() file: accumulator/batch.go start line: 264 end line: 279 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: def handler() file: testing/functions/python3.9/main.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: def handler() file: testing/smoketest/function/main.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: func New() file: logger/logger.go start line: 30 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: func loadAcmCertificate() file: app/aws.go start line: 85 end line: 96 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: func() file: accumulator/batch.go start line: 249 end line: 258 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func WithRootCerts() file: apmproxy/option.go start line: 101 end line: 110 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: function generateColdstartAwareMetrics() file: testing/tf-modules/artillery_deployment/files/coldstart-metrics.js start line: 3 end line: 12 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 63 unit: func parseStrategy() file: app/app.go start line: 213 end line: 222 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: func() file: apmproxy/apmserver.go start line: 317 end line: 328 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func() file: apmproxy/apmserver.go start line: 352 end line: 360 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: func() file: apmproxy/apmserver.go start line: 362 end line: 370 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func NewClient() file: extension/client.go start line: 85 end line: 92 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: func IsStringInSlice() file: e2e-testing/e2e_util.go start line: 140 end line: 147 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: def lambda_handler() file: e2e-testing/sam-python/sam-testing-python/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: func() file: accumulator/batch.go start line: 283 end line: 290 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func ProcessMetadata() file: accumulator/metadata.go start line: 30 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func EnsureTlSConfig() file: apmproxy/option.go start line: 127 end line: 134 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func() file: logsapi/model/model_json.go start line: 151 end line: 157 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func PrettyPrint() file: extension/util.go start line: 25 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func GetEnvVarValueOrSetDefault() file: e2e-testing/e2e_util.go start line: 38 end line: 44 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 76 unit: func GetDecompressedBytesFromRequest() file: e2e-testing/e2e_util.go start line: 151 end line: 157 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: func NewBatch() file: accumulator/batch.go start line: 89 end line: 95 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: func() file: accumulator/batch.go start line: 320 end line: 326 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func WithVerifyCerts() file: apmproxy/option.go start line: 112 end line: 118 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func DefaultCertPool() file: apmproxy/option.go start line: 120 end line: 126 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 81 unit: func() file: apmproxy/apmserver.go start line: 372 end line: 378 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: func() file: logsapi/model/model.go start line: 68 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: private String getPageContents() file: e2e-testing/sam-java/sam-testing-java/src/main/java/samtestingjava/App.java start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: accumulator/batch.go start line: 304 end line: 309 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 85 unit: func() file: accumulator/batch.go start line: 312 end line: 317 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func WithReceiverTimeout() file: apmproxy/option.go start line: 57 end line: 62 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func WithListenerAddress() file: logsapi/option.go start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func WithLogsAPIBaseURL() file: logsapi/option.go start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func WithLogBuffer() file: logsapi/option.go start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func WithLogger() file: logsapi/option.go start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func WithSubscriptionTypes() file: logsapi/option.go start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func WithInvocationLifecycler() file: logsapi/option.go start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: logsapi/client.go start line: 139 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func main() file: main.go start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 95 unit: func WithLevel() file: logger/option.go start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func WithEncoderConfig() file: logger/option.go start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func WithOutputPaths() file: logger/option.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func WithLambdaRuntimeAPI() file: app/config.go start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func WithExtensionName() file: app/config.go start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func WithoutLogsAPI() file: app/config.go start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: func WithFunctionLogSubscription() file: app/config.go start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: func WithLogLevel() file: app/config.go start line: 70 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func WithLogsapiAddress() file: app/config.go start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func WithAWSConfig() file: app/config.go start line: 85 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func ProcessError() file: e2e-testing/e2e_util.go start line: 79 end line: 83 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 106 unit: func() file: accumulator/batch.go start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: accumulator/batch.go start line: 229 end line: 233 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: accumulator/batch.go start line: 293 end line: 297 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func WithAPIKey() file: apmproxy/option.go start line: 32 end line: 36 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: func WithSecretToken() file: apmproxy/option.go start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: func WithURL() file: apmproxy/option.go start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: func WithDataForwarderTimeout() file: apmproxy/option.go start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: func WithReceiverAddress() file: apmproxy/option.go start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func WithSendStrategy() file: apmproxy/option.go start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: func WithAgentDataBufferSize() file: apmproxy/option.go start line: 79 end line: 83 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: func WithLogger() file: apmproxy/option.go start line: 87 end line: 91 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: func WithBatch() file: apmproxy/option.go start line: 95 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func() file: apmproxy/apmserver.go start line: 250 end line: 254 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func() file: apmproxy/apmserver.go start line: 338 end line: 342 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: func() file: apmproxy/apmserver.go start line: 346 end line: 350 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: func() file: apmproxy/receiver.go start line: 69 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: func() file: logsapi/model/model.go start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: func FolderExists() file: e2e-testing/e2e_util.go start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func() file: logsapi/model/model.go start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: func ptrFromString() file: app/aws.go start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: func() file: accumulator/invocation.go start line: 56 end line: 58 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 127 unit: func() file: accumulator/batch.go start line: 235 end line: 237 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: func() file: accumulator/batch.go start line: 239 end line: 241 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: func() file: apmproxy/apmserver.go start line: 331 end line: 333 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: func main() file: testing/functions/go1.x/main.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0