id: 1 unit: func convertCloudEventToBackgroundRequest() file: funcframework/events.go start line: 408 end line: 546 size: 106 LOC McCabe index: 17 number of parameters: 1 id: 2 unit: func convertBackgroundToCloudEventRequest() file: funcframework/events.go start line: 288 end line: 398 size: 92 LOC McCabe index: 23 number of parameters: 1 id: 3 unit: func getBackgroundEvent() file: funcframework/events.go start line: 108 end line: 156 size: 32 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: func wrapFunction() file: funcframework/framework.go start line: 160 end line: 192 size: 31 LOC McCabe index: 10 number of parameters: 1 id: 5 unit: func initServer() file: funcframework/framework.go start line: 122 end line: 158 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 6 unit: func wrapTypedFunction() file: funcframework/framework.go start line: 235 end line: 260 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 7 unit: func() file: internal/events/pubsub/pubsub.go start line: 67 end line: 89 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: func() file: funcframework/logging.go start line: 146 end line: 171 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 9 unit: func wrapEventFunction() file: funcframework/framework.go start line: 210 end line: 233 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: func() file: internal/registry/registry.go start line: 81 end line: 101 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: func convertBackgroundFirebaseAuthMetadata() file: funcframework/events.go start line: 251 end line: 272 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 12 unit: func wrapCloudEventFunction() file: funcframework/framework.go start line: 294 end line: 316 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 13 unit: func addLoggingIDsToRequest() file: funcframework/logging.go start line: 36 end line: 56 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: func() file: funcframework/logging.go start line: 126 end line: 144 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: func validateEventFunction() file: funcframework/events.go start line: 168 end line: 184 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: func runUserFunctionWithContext() file: funcframework/framework.go start line: 355 end line: 371 size: 16 LOC McCabe index: 3 number of parameters: 5 id: 17 unit: func convertBackgroundToCloudEvent() file: funcframework/events.go start line: 186 end line: 201 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: func handleTypedReturn() file: funcframework/framework.go start line: 262 end line: 277 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 19 unit: func handleEventFunction() file: funcframework/framework.go start line: 318 end line: 336 size: 15 LOC McCabe index: 5 number of parameters: 3 id: 20 unit: func splitResource() file: funcframework/events.go start line: 231 end line: 247 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 21 unit: func wrapHTTPFunction() file: funcframework/framework.go start line: 194 end line: 208 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 22 unit: func validateTypedFunction() file: funcframework/framework.go start line: 279 end line: 292 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: func writeHTTPErrorResponse() file: funcframework/framework.go start line: 382 end line: 399 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 24 unit: func setContextTimeoutIfRequested() file: funcframework/framework.go start line: 408 end line: 420 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: func recoverPanic() file: funcframework/framework.go start line: 52 end line: 63 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 26 unit: func RegisterHTTPFunction() file: funcframework/framework.go start line: 67 end line: 79 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: func ExtractTopicFromRequestPath() file: internal/events/pubsub/pubsub.go start line: 50 end line: 63 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: func deconstructXCloudTraceContext() file: funcframework/logging.go start line: 94 end line: 107 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func LogWriter() file: funcframework/logging.go start line: 196 end line: 206 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: func firebaseAuthSubject() file: funcframework/events.go start line: 275 end line: 286 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func readHTTPRequestBody() file: funcframework/framework.go start line: 338 end line: 349 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: func runBackgroundEvent() file: funcframework/events.go start line: 158 end line: 166 size: 9 LOC McCabe index: 2 number of parameters: 5 id: 33 unit: func encodeData() file: funcframework/events.go start line: 203 end line: 211 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: func loggingIDsFromContext() file: funcframework/logging.go start line: 62 end line: 68 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func TraceIDFromContext() file: funcframework/logging.go start line: 70 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func ExecutionIDFromContext() file: funcframework/logging.go start line: 78 end line: 84 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: func SpanIDFromContext() file: funcframework/logging.go start line: 86 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func() file: funcframework/logging.go start line: 173 end line: 179 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func shouldConvertCloudEventToBackgroundRequest() file: funcframework/events.go start line: 400 end line: 406 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: func RegisterEventFunction() file: funcframework/framework.go start line: 83 end line: 89 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: func StartHostPort() file: funcframework/framework.go start line: 114 end line: 120 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: func fmtFunctionError() file: funcframework/framework.go start line: 373 end line: 380 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func() file: internal/registry/registry.go start line: 110 end line: 116 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func() file: internal/registry/registry.go start line: 122 end line: 128 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func setupRequestContext() file: funcframework/framework.go start line: 401 end line: 405 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func HTTP() file: functions/functions.go start line: 16 end line: 20 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 47 unit: func CloudEvent() file: functions/functions.go start line: 24 end line: 28 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 48 unit: func Typed() file: functions/functions.go start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 49 unit: func WithPath() file: internal/registry/registry.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func WithName() file: internal/registry/registry.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: func New() file: internal/registry/registry.go start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: func() file: internal/registry/registry.go start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: func() file: internal/registry/registry.go start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: func contextWithLoggingIDs() file: funcframework/logging.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: func RegisterHTTPFunctionContext() file: funcframework/framework.go start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 56 unit: func RegisterEventFunctionContext() file: funcframework/framework.go start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: func RegisterCloudEventFunctionContext() file: funcframework/framework.go start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 58 unit: func Start() file: funcframework/framework.go start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func runUserFunction() file: funcframework/framework.go start line: 351 end line: 353 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 60 unit: func Default() file: internal/registry/registry.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: func() file: internal/registry/registry.go start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func() file: internal/registry/registry.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func() file: internal/registry/registry.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: internal/registry/registry.go start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1