id: 1 unit: def pay_with_stripe() file: functions/pay_with_stripe/main.py start line: 0 end line: 0 size: 37 LOC McCabe index: 3 number of parameters: 2 id: 2 unit: def upload_image() file: functions/upload_image/main.py start line: 0 end line: 0 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 3 unit: def process() file: app/blueprints/charge/blueprint.py start line: 0 end line: 0 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 4 unit: function stripeTokenHandler() file: app/static/stripe.js start line: 60 end line: 90 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 5 unit: def automl() file: functions/automl/main.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 6 unit: async function prepareOrderConfirmation() file: functions/sendOrderConfirmation/index.js start line: 25 end line: 50 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 7 unit: def display() file: app/blueprints/checkout/blueprint.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: def process() file: app/blueprints/sell/blueprint.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 9 unit: def detect_labels() file: functions/detect_labels/main.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 10 unit: function submitSellForm() file: app/static/utilities.js start line: 115 end line: 129 size: 15 LOC McCabe index: 6 number of parameters: 0 id: 11 unit: def deserialize() file: app/helpers/product_catalog/data_classes.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: function onGooglePayLoaded() file: app/static/googlePay.js start line: 78 end line: 89 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 13 unit: function onGooglePaymentButtonClicked() file: app/static/googlePay.js start line: 116 end line: 128 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: def deserialize() file: app/helpers/orders/data_classes.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: await fetch() file: app/static/utilities.js start line: 23 end line: 33 size: 11 LOC McCabe index: 1 number of parameters: 9 id: 16 unit: await fetch() file: app/static/utilities.js start line: 67 end line: 77 size: 11 LOC McCabe index: 1 number of parameters: 9 id: 17 unit: def deserialize() file: app/helpers/orders/data_classes.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: def verify_firebase_id_token() file: app/middlewares/auth.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: def auth_required() file: app/middlewares/auth.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: def auth_optional() file: app/middlewares/auth.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: function stripePayButtonClicked() file: app/static/stripe.js start line: 49 end line: 58 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: def deserialize() file: app/helpers/carts/data_classes.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: def get_promos() file: app/helpers/product_catalog/helpers.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: def stream_event() file: functions/pay_with_stripe/main.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: function getGoogleIsReadyToPayRequest() file: app/static/googlePay.js start line: 51 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: function getGooglePaymentDataRequest() file: app/static/googlePay.js start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: function prefetchGooglePaymentData() file: app/static/googlePay.js start line: 106 end line: 114 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: def display() file: app/blueprints/cart/blueprint.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: def stream_event() file: app/helpers/eventing/helpers.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 30 unit: def remove_from_cart() file: app/helpers/carts/helpers.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: def deserialize() file: app/helpers/product_catalog/data_classes.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: async function addToCartRequest() file: app/static/utilities.js start line: 21 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 33 unit: function getCookie() file: app/static/utilities.js start line: 56 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: async function removeFromCartRequest() file: app/static/utilities.js start line: 65 end line: 83 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 35 unit: function signOutWithGoogle() file: app/static/signInOutWithGoogle.js start line: 42 end line: 49 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: def display() file: app/blueprints/product_catalog/blueprint.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: def sell_form_validation_required() file: app/middlewares/form_validation.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: def checkout_form_validation_required() file: app/middlewares/form_validation.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: function getGoogleTransactionInfo() file: app/static/googlePay.js start line: 98 end line: 104 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: def add() file: app/blueprints/cart/blueprint.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: def remove() file: app/blueprints/cart/blueprint.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: def get_cart() file: app/helpers/carts/helpers.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: function getGooglePaymentsClient() file: app/static/googlePay.js start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: function addGooglePayButton() file: app/static/googlePay.js start line: 91 end line: 96 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: function addToCartInProductCatalog() file: app/static/utilities.js start line: 41 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: function removeFromCartInProductCatalog() file: app/static/utilities.js start line: 85 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: function removeFromCartInCart() file: app/static/utilities.js start line: 100 end line: 113 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: def add_to_cart() file: app/helpers/carts/helpers.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: def calculate_total_price() file: app/helpers/product_catalog/helpers.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: function restoreButton() file: app/static/utilities.js start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: function updateButton() file: app/static/utilities.js start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: function restoreButton() file: app/static/utilities.js start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: function updateButton() file: app/static/utilities.js start line: 89 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: function restoreButton() file: app/static/utilities.js start line: 93 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: def add_order() file: app/helpers/orders/helpers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: def add_product() file: app/helpers/product_catalog/helpers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: def list_products() file: app/helpers/product_catalog/helpers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: function processPayment() file: app/static/googlePay.js start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function updateSection() file: app/static/utilities.js start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: function signInWithGoogle() file: app/static/signInOutWithGoogle.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: def display() file: app/blueprints/sell/blueprint.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: def get_order() file: app/helpers/orders/helpers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: def get_product() file: app/helpers/product_catalog/helpers.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: def display() file: app/blueprints/signin/blueprint.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0