id: 1 unit: constructor() file: event-driven-developers-tale/infrastructure/lib/infrastructure-stack.js start line: 16 end line: 192 size: 153 LOC McCabe index: 1 number of parameters: 3 id: 2 unit: updateVacationRequest: async() file: event-driven-developers-tale/functions/updateVacationRequest/app.js start line: 13 end line: 85 size: 59 LOC McCabe index: 6 number of parameters: 1 id: 3 unit: constructor() file: lambda-powertools-feature-flags/app-config-store/cdk/lib/cdk-stack.ts start line: 10 end line: 72 size: 52 LOC McCabe index: 1 number of parameters: 3 id: 4 unit: function NavBar() file: event-driven-developers-tale/src/components/NavBar.js start line: 5 end line: 57 size: 39 LOC McCabe index: 2 number of parameters: 1 id: 5 unit: function Vacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 9 end line: 128 size: 36 LOC McCabe index: 5 number of parameters: 2 id: 6 unit: submitVacationRequest: async() file: event-driven-developers-tale/functions/createVacationRequest/app.js start line: 13 end line: 53 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: query ListVacationRequests() file: event-driven-developers-tale/src/graphql/queries.js start line: 22 end line: 47 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 8 unit: function subscribeNotifications() file: event-driven-developers-tale/src/components/ProfileLink.js start line: 17 end line: 42 size: 25 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: function AddVacation() file: event-driven-developers-tale/src/components/AddVacation.js start line: 6 end line: 57 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: async function addVacation() file: event-driven-developers-tale/src/components/AddVacation.js start line: 27 end line: 45 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: function initializeClient() file: event-driven-developers-tale/functions/vacationRequestValidation/app.js start line: 14 end line: 29 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: async function executeMutation() file: event-driven-developers-tale/functions/vacationRequestValidation/app.js start line: 32 end line: 51 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 13 unit: async function getVacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 42 end line: 58 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 14 unit: async function deleteVacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 76 end line: 95 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: onVacationRequestNotification() file: event-driven-developers-tale/src/graphql/subscriptions.js start line: 6 end line: 18 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: submitVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 6 end line: 18 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: updateVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 23 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: deleteVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 43 end line: 55 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 19 unit: getVacationRequest() file: event-driven-developers-tale/src/graphql/queries.js start line: 6 end line: 18 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: async function addCategory() file: event-driven-developers-tale/src/components/AddCategory.js start line: 9 end line: 23 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: await executeMutation() file: event-driven-developers-tale/functions/vacationRequestValidation/app.js start line: 58 end line: 70 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: function onSelectAllClick() file: event-driven-developers-tale/src/components/CustomTable.js start line: 31 end line: 46 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: async function approveVacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 60 end line: 74 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: def add_discount() file: lambda-powertools-feature-flags/app/products/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: async function checkUser() file: event-driven-developers-tale/src/App.js start line: 32 end line: 40 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: constructor() file: hexagonal-architectures/src/store/dynamodb/dynamodb-store.ts start line: 20 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function AddCategory() file: event-driven-developers-tale/src/components/AddCategory.js start line: 5 end line: 34 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: function checkIsApprover() file: event-driven-developers-tale/src/pages/Vacations.js start line: 33 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: def get_products() file: lambda-powertools-feature-flags/app/products/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: def lambda_handler() file: lambda-powertools-feature-flags/app/products/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: mutation DeleteVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 39 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: async function checkUserRole() file: event-driven-developers-tale/src/components/NavBar.js start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: function cancel() file: event-driven-developers-tale/src/components/AddCategory.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: function isSelected() file: event-driven-developers-tale/src/components/CustomTable.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: function cancel() file: event-driven-developers-tale/src/components/AddVacation.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: await getVacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 73 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: await getVacations() file: event-driven-developers-tale/src/pages/Vacations.js start line: 94 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: function showAddVacation() file: event-driven-developers-tale/src/pages/Vacations.js start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: subscription OnVacationRequestNotification() file: event-driven-developers-tale/src/graphql/subscriptions.js start line: 5 end line: 19 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: mutation SubmitVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 5 end line: 19 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: mutation UpdateVacationRequest() file: event-driven-developers-tale/src/graphql/mutations.js start line: 22 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: query GetVacationRequest() file: event-driven-developers-tale/src/graphql/queries.js start line: 5 end line: 19 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: def products() file: lambda-powertools-feature-flags/app/products/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: def products_by_id() file: lambda-powertools-feature-flags/app/products/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1