Code Analysis: Fast Courier - Shipping & Freight 3.0.1

Function Rating Maintainability Complexity Lines of code
getOrderErrorList()
C
39 30 63
FastCourier\FastCourierUpdateQuotes::checkingQuotes()
C
27
24 143
fc_handle_custom_query_var()
B
35 20 103
FastCourier\FastCourierOrders::update_order_status()
A
43 14 39
FastCourier\FastCourierLocation::editLocation()
A
38 12 68
fc_add_quotes_in_order_meta()
A
45 12 39
FastCourier\FastCourierOrders::payloadForCreateOrders()
A
40 8 63
FastCourier\FastCourierMenuPage::packageDataFormatter()
A
50 10 29
fc_is_unauthorized()
A
51 10 24
fc_add_jscript_checkout()
A
40 5 96
create_fc_locations()
A
38 6 76
FastCourier\FastCourierUpdateQuotes::qouteDataFormatter()
A
43 8 44
FastCourier\FastCourierVerifyToken::activeMerchant()
A
49 9 29
FastCourier\Menu::menuOptions()
A
33 2 133
FastCourier\FastCourierLocation::addLocation()
A
43 7 50
fc_get_collection_date()
A
51 8 26
FastCourier\FastCourierCart::add_fc_charges()
A
53 8 22
FastCourier\FastCourierOrders::cron_process_orders()
S
40 5 58
FastCourier\FastCourierBatches::downloadZip()
S
49 7 27
FastCourier\FastCourierManagePackages::validateProductsWithPackages()
S
41 5 55
fc_author_admin_notice()
S
52 6 33
FastCourier\FastCourierMenuPage::validatePackages()
S
44 5 44
FastCourier\FastCourierBatches::index()
S
50 6 24
FastCourier\FastCourierLocation::deleteLocation()
S
52 5 22
FastCourier\FastCourierMenuPage::fcLocations()
S
52 5 21
FastCourier\FastCourierRequests::httpPost()
S
54 5 20
FastCourier\FastCourierManagePackages::updateWeight()
S
47 4 34
FastCourier\FastCourierUpdateQuotes::formatPackages()
S
55 5 19
FastCourier\FastCourierMenuPage::layout()
S
59 5 13
FastCourier\FastCourierCart::show_shipping_cost()
S
58 5 13
FastCourier\FastCourierProducts::filterParams()
S
60 5 12
FastCourier\Menu::add_options_page()
S
53 4 26
FastCourier\FastCourierOrders::process_orders()
S
52 4 23
FastCourier\FCMerchantAuth::toggleTestMode()
S
53 4 22
FastCourier\FastCourierOrders::hold_orders()
S
52 4 22
FastCourier\FastCourierMenuPage::fcPackagesConfig()
S
54 4 19
fc_handle_custom_query_var()
S
57 4 17
FastCourier\FastCourierRequests::httpGet()
S
56 4 17
fc_format_order_filters()
S
57 4 17
FastCourier\FastCourierLocation::processCsv()
S
56 4 16
fc_sanitize_data()
S
59 4 15
FastCourier\FastCourierVerifyToken::verifyAccessToken()
S
50 3 29
FastCourier\FCMerchantAuth::merchantRegistration()
S
52 3 25
FastCourier\FastCourierManagePackages::mapFcPackages()
S
52 3 23
FastCourier\FCMerchantAuth::merchantLogin()
S
53 3 23
create_fc_cron_logs()
S
55 3 22
FastCourier\FastCourierLocation::assignLocation()
S
54 3 21
FastCourier\FCMerchantAuth::forgotPassword()
S
55 3 19
FastCourier\FCMerchantAuth::removePaymentMethod()
S
55 3 19
FastCourier\FastCourierManagePackages::mapExistingDimensions()
S
57 3 17
FastCourier\FastCourierOrders::orderDetails()
S
48 2 32
fc_woocommerce_product_custom_fields_save()
S
56 3 17
FastCourier\FastCourierMenuPage::packagesRender()
S
57 3 16
create_fc_location_tags()
S
58 3 16
FastCourier\FastCourierUpdateQuotes::keyFilter()
S
69 4 7
FastCourier\FCMerchantAuth::addPaymentMethod()
S
59 3 14
FastCourier\FastCourierProducts::get_all_product_fields()
S
60 3 13
FastCourier\FastCourierOrders::orderInsurance()
S
61 3 12
alter_fc_locations()
S
62 3 11
create_fc_woo_packages_table()
S
62 3 11
fc_create_plugin_database_table()
S
62 3 11
fc_protect_order_meta()
S
77 3 3
getLatLongFromAddress()
S
64 3 9
fc_merchant_details()
S
65 3 9
enqueue_select2()
S
68 3 7
fc_disable_shipping_calc_on_cart()
S
72 3 6
_init_fast_courier()
S
69 3 6
FastCourier\FastCourierMenuPage::merchantRender()
S
58 2 14
FastCourier\FCMerchantAuth::changePassword()
S
60 2 13
fc_override_checkout_fields()
S
52 1 27
FastCourier\FastCourierOrders::delete_old_logs()
S
61 2 11
FastCourier\FastCourierVerifyToken::syncMerchantDetails()
S
62 2 11
FastCourier\FastCourierProducts::categories()
S
56 1 20
fc_override_billing_fields()
S
56 1 19
FastCourier\FastCourierRequests::getApiHeaders()
S
58 1 16
FastCourier\FastCourierOrders::processed()
S
64 2 9
fc_check_is_woocommerce_active()
S
68 2 7
FastCourier\FastCourierOrders::index()
S
64 2 9
FastCourier\FastCourierVerifyToken::updateMerchantDetails()
S
65 2 8
FastCourier\FastCourierVerifyToken::deleteWooPackage()
S
63 2 10
is_test_mode_active()
S
66 2 9
fc_apis_prefix()
S
68 2 8
fc_cron_auto_process_order()
S
73 2 5
FastCourier\FastCourierMenuPage::logout()
S
63 2 10
fc_add_orders_column_tracking_url_customer()
S
69 2 7
FastCourier\FastCourierVerifyToken::deletePackage()
S
63 2 10
FastCourier\FastCourierVerifyToken::merchantFiedsFormat()
S
66 2 8
FastCourier\FastCourierOrders::unprocessed()
S
64 2 9
FastCourier\FastCourierLocation::createOptions()
S
68 2 7
fc_woocommerce_product_custom_fields()
S
70 2 7
FastCourier\FastCourierMenuPage::fcOrdersList()
S
66 2 8
FastCourier\FastCourierOrders::hold()
S
64 2 9
dd()
S
72 1 6
FastCourier\FastCourierCart::index()
S
89 1 2
FastCourier\FastCourierUpdateQuotes::defaultLocation()
S
74 1 4
FastCourier\FastCourierLocation::index()
S
69 1 6
FastCourier\FastCourierRequests::successResponse()
S
78 1 3
fc_origin()
S
75 1 4
FastCourier\FastCourierMenuPage::about()
S
74 1 4
calculateDistance()
S
63 1 9
fc_auto_process_order_deactivate_cron()
S
82 1 3
fc_pagination()
S
82 1 3
FastCourier\Menu::init()
S
79 1 3
currentStep()
S
81 1 3
FastCourier\FastCourierMenuPage::changePassword()
S
77 1 3
FastCourier\FastCourierMenuPage::wooCommerceProducts()
S
75 1 4
FastCourier\FastCourierMenuPage::bulkPackagesRender()
S
78 1 3
fc_product_settings_tabs()
S
67 1 8
fc_order_status_chip()
S
73 1 5
FastCourier\FastCourierLocation::tags()
S
70 1 6
FastCourier\FastCourierProducts::productTypes()
S
76 1 4
FastCourier\FastCourierMenuPage::loginPage()
S
77 1 3
FastCourier\FastCourierProducts::products()
S
65 1 8
FastCourier\FastCourierManagePackages::getPackageTypes()
S
75 1 4
fc_is_configured()
S
81 1 3
FastCourier\FastCourierMenuPage::render()
S
69 1 6
FastCourier\FastCourierManagePackages::index()
S
69 1 6
fc_delete_prefilled_data()
S
74 1 4
FastCourier\FastCourierRequests::failResponse()
S
77 1 3
isOrderRejected()
S
76 1 4
fc_orders_data_customer_account()
S
73 1 5
fc_custom_cron_interval()
S
69 1 7
FastCourier\FastCourierMenuPage::addPaymentMethod()
S
73 1 4
fc_add_orders_column_status_cusomter()
S
79 1 3