id: 1 unit: function CheckoutSummary() file: frontend/src/components/CheckoutSummary.js start line: 12 end line: 112 size: 100 LOC McCabe index: 2 number of parameters: 1 id: 2 unit: function ProductItem() file: frontend/src/components/ProductItem.js start line: 10 end line: 59 size: 48 LOC McCabe index: 5 number of parameters: 1 id: 3 unit: function Checkout() file: frontend/src/pages/Checkout.js start line: 14 end line: 94 size: 48 LOC McCabe index: 3 number of parameters: 1 id: 4 unit: function registerValidSW() file: frontend/src/serviceWorker.js start line: 60 end line: 102 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 5 unit: function TopMenu() file: frontend/src/components/TopMenu.js start line: 9 end line: 38 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: function checkValidServiceWorker() file: frontend/src/serviceWorker.js start line: 104 end line: 130 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 7 unit: function CheckoutBanner() file: frontend/src/components/CheckoutBanner.js start line: 9 end line: 31 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 8 unit: export function register() file: frontend/src/serviceWorker.js start line: 26 end line: 58 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 9 unit: async function getConfig() file: backend/src/FeatureFlagLayer/getConfig.js start line: 4 end line: 21 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 10 unit: async function getFeature() file: backend/src/FeatureFlagLayer/getFeature.js start line: 2 end line: 18 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 11 unit: async function getProducts() file: backend/src/getAllProducts/getAllProducts.js start line: 9 end line: 24 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 12 unit: function PlacedOrder() file: frontend/src/pages/PlacedOrder.js start line: 7 end line: 20 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: function calculateTotal() file: frontend/src/pages/Checkout.js start line: 34 end line: 50 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 14 unit: function ItemTable() file: frontend/src/components/ItemTable.js start line: 10 end line: 22 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: export function unregister() file: frontend/src/serviceWorker.js start line: 132 end line: 138 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: function addItem() file: frontend/src/pages/Product.js start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 17 unit: function handleCardUpdate() file: frontend/src/pages/Checkout.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: function submitOrder() file: frontend/src/pages/Checkout.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0