id: 1 unit: func() file: bus/event_bridge.go start line: 37 end line: 83 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 2 unit: func() file: store/dynamodb.go start line: 38 end line: 73 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 3 unit: func batchEvents() file: bus/event_bridge.go start line: 85 end line: 114 size: 23 LOC McCabe index: 5 number of parameters: 3 id: 4 unit: func eventFromDynamoDBRecord() file: handlers/dynamodb.go start line: 57 end line: 79 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 5 unit: func() file: store/dynamodb.go start line: 75 end line: 99 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 6 unit: func() file: handlers/dynamodb.go start line: 33 end line: 55 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 7 unit: func() file: handlers/apigateway.go start line: 54 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: func() file: handlers/apigateway.go start line: 36 end line: 52 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: func() file: store/dynamodb.go start line: 101 end line: 117 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: func() file: domain/products.go start line: 50 end line: 66 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: func response() file: handlers/apigateway.go start line: 90 end line: 104 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 12 unit: func errResponse() file: handlers/apigateway.go start line: 106 end line: 120 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 13 unit: func() file: store/dynamodb.go start line: 119 end line: 132 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: func NewDynamoDBStore() file: store/dynamodb.go start line: 24 end line: 36 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 15 unit: func() file: handlers/apigateway.go start line: 76 end line: 88 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: func NewEventBridgeBus() file: bus/event_bridge.go start line: 23 end line: 35 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 17 unit: func() file: store/memory.go start line: 24 end line: 35 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: func() file: domain/products.go start line: 37 end line: 48 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: func main() file: functions/products-stream/main.go start line: 14 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: func main() file: functions/get-product/main.go start line: 14 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: func main() file: functions/put-product/main.go start line: 14 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: func main() file: functions/delete-product/main.go start line: 14 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: func main() file: functions/get-products/main.go start line: 14 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: func() file: handlers/apigateway.go start line: 25 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: func() file: store/memory.go start line: 37 end line: 44 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: func() file: domain/products.go start line: 28 end line: 35 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: func() file: domain/products.go start line: 68 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: func() file: domain/products_stream.go start line: 20 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: func() file: types/mocks/mock_store.go start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: func() file: types/mocks/mock_store.go start line: 68 end line: 74 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: func() file: types/mocks/mock_store.go start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: func() file: types/mocks/mock_store.go start line: 83 end line: 88 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: func NewMemoryStore() file: store/memory.go start line: 18 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: func NewProductsDomain() file: domain/products.go start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: func NewProductsStream() file: domain/products_stream.go start line: 14 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: func NewMockStore() file: types/mocks/mock_store.go start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: func NewAPIGatewayV2Handler() file: handlers/apigateway.go start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: func NewDynamoDBEventHandler() file: handlers/dynamodb.go start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: func() file: store/memory.go start line: 46 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: func() file: store/memory.go start line: 52 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: func() file: types/mocks/mock_store.go start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: func() file: types/mocks/mock_store.go start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: func() file: types/mocks/mock_store.go start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func() file: types/mocks/mock_store.go start line: 91 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: func() file: types/mocks/mock_store.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1