Code Analysis: Fast Courier - Shipping & Freight 5.0.5

Function Rating Maintainability Complexity Lines of code
FastCourier\FastCourierUpdateQuotes::checkingQuotes()
D
14
67 266
FastCourier\FastCourierManagePackages::processDimensionsCsv()
D
28
46 109
FastCourier\FastCourierOrders::update_order_status()
D
28
40 114
fc_custom_order_meta_box_content()
C
33 31 87
fc_add_quotes_in_order_meta()
C
34 26 83
fc_add_jscript_checkout()
C
26
6 377
fc_add_local_pickup_checkbox()
C
34 23 91
fc_handle_custom_query_var()
B
35 20 103
FastCourier\FastCourierOrders::payloadForCreateOrders()
B
34 19 88
FastCourier\FastCourierManagePackages::validateProductsWithPackages()
B
33 18 97
FastCourier\FastCourierOrders::process_orders()
B
35 18 82
FastCourier\FastCourierUpdateQuotes::checkMandatoryAddressFields()
B
53 21 21
FastCourier\FastCourierUpdateQuotes::qouteDataFormatter()
B
35 16 78
FastCourier\FastCourierCart::add_fc_charges()
A
40 14 56
getOrderErrorList()
A
46 14 37
FastCourier\FastCourierVerifyToken::activeMerchant()
A
45 13 38
FastCourier\FastCourierOrders::cron_process_orders()
A
36 10 76
populate_split_address_fields_for_au()
A
52 13 23
FastCourier\FastCourierLocation::editLocation()
A
42 10 48
FastCourier\FastCourierVerifyToken::fc_menu_access_update()
A
43 9 50
fc_get_collection_date()
A
47 10 34
FastCourier\FastCourierLocation::addLocation()
A
42 9 49
FastCourier\FastCourierProducts::filterParams()
A
48 10 33
FastCourier\FastCourierVerifyToken::activeMerchantPayment()
A
48 10 32
fc_check_version_compatibility()
A
49 10 30
FastCourier\FastCourierMenuPage::packageDataFormatter()
A
50 10 29
fc_is_unauthorized()
A
51 10 24
fc_woocommerce_product_custom_fields_save()
A
47 9 34
FastCourier\Menu::add_options_page()
A
48 9 34
FastCourier\FastCourierManagePackages::mapFcPackages()
A
43 8 46
FastCourier\FastCourierCart::show_shipping_cost()
A
49 9 29
FastCourier\FastCourierBatches::index()
A
45 7 37
update_individual_address_fields_on_order_update()
A
48 7 36
FastCourier\FastCourierProducts::updateBulkIndividual()
S
50 7 28
FastCourier\FastCourierBatches::downloadZip()
S
49 7 27
fc_save_variations_shipping_configuration()
S
50 7 26
FastCourier\FastCourierProducts::updateSingleFcMetaData()
S
55 7 18
isPostCodeIncludedInFlatRate()
S
56 7 18
fc_override_checkout_fields()
S
37 2 92
FastCourier\FastCourierMenuPage::validatePackages()
S
44 5 44
FastCourier\FCMerchantAuth::merchantLogin()
S
50 6 25
fc_check_value_exists_in_postcode_range()
S
60 6 13
fetch_and_store_fastcourier_credentials()
S
48 4 35
FastCourier\FastCourierRequests::httpPost()
S
54 5 20
FastCourier\FastCourierUpdateQuotes::formatPackages()
S
55 5 19
FastCourier\FastCourierManagePackages::updateWeight()
S
47 4 34
FastCourier\FastCourierLocation::deleteLocation()
S
57 5 16
oauth_callback()
S
49 4 30
FastCourier\FastCourierVerifyToken::updateMerchantDetails()
S
58 5 14
delete_fc_meta()
S
59 5 13
FastCourier\FastCourierRequests::httpConnectGet()
S
50 4 28
FastCourier\FCMerchantAuth::toggleTestMode()
S
51 4 25
FastCourier\FastCourierOrders::resync_all_orders()
S
51 4 25
fc_handle_custom_query_var()
S
57 4 17
fc_format_order_filters()
S
57 4 17
FastCourier\FastCourierRequests::httpGet()
S
56 4 17
FastCourier\FastCourierRequests::customHttpPost()
S
55 4 17
syncLocations()
S
56 4 16
FastCourier\Menu::menuOptions()
S
46 2 46
FastCourier\FastCourierLocation::processCsv()
S
56 4 16
fc_sanitize_data()
S
59 4 15
fc_create_log()
S
58 4 15
FastCourier\FastCourierVerifyToken::verifyAccessToken()
S
50 3 29
FastCourier\FastCourierProducts::get_all_tags()
S
60 4 13
FastCourier\FastCourierMenuPage::layout()
S
60 4 13
FastCourier\FastCourierOrders::hold_orders()
S
51 3 26
FastCourier\FCMerchantAuth::merchantRegistration()
S
51 3 26
FastCourier\FastCourierManagePackages::addShippingBox()
S
53 3 23
create_fc_cron_logs()
S
55 3 22
FastCourier\FastCourierOrders::orderDetails()
S
47 2 37
FastCourier\FCMerchantAuth::removePaymentMethod()
S
55 3 19
FastCourier\FCMerchantAuth::forgotPassword()
S
55 3 19
FastCourier\FastCourierLocation::getEditLocation()
S
55 3 19
FastCourier\FastCourierVerifyToken::updateMerchantPaymentMethod()
S
56 3 18
FastCourier\FastCourierProducts::updateBulkAllowFreeShipping()
S
56 3 17
FastCourier\FastCourierLocation::assignLocation()
S
56 3 17
FastCourier\FastCourierManagePackages::mapExistingDimensions()
S
57 3 17
FastCourier\FastCourierProducts::updateBulkAllowShipping()
S
56 3 17
FastCourier\FastCourierMenuPage::merchantRender()
S
56 3 16
create_fc_web_hook_logs()
S
58 3 16
FastCourier\FastCourierMenuPage::packagesRender()
S
57 3 16
FastCourier\FastCourierUpdateQuotes::keyFilter()
S
69 4 7
fc_custom_add_atl_to_order_email()
S
67 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
is_test_mode_active()
S
62 3 12
create_fc_woo_packages_table()
S
62 3 11
fc_create_plugin_database_table()
S
62 3 11
FastCourier\FastCourierProducts::has_products_with_fc_length_and_weight()
S
54 2 23
FastCourier\FastCourierOrders::fallbacks()
S
56 2 20
FastCourier\FastCourierOrders::allOrders()
S
56 2 20
fc_disable_shipping_calc_on_cart()
S
72 3 6
fc_protect_order_meta()
S
77 3 3
getLatLongFromAddress()
S
64 3 9
populate_fc_holidays()
S
66 3 8
fc_custom_shipping_price_html_modification()
S
72 3 5
_init_fast_courier()
S
69 3 6
enqueue_select2()
S
68 3 7
fc_merchant_details()
S
65 3 9
fc_change_shipping_text_on_cart_page_script()
S
61 1 30
FastCourier\FCMerchantAuth::changePassword()
S
60 2 13
FastCourier\FastCourierProducts::updateAllowShipping()
S
61 2 12
FastCourier\FastCourierMenuPage::logout()
S
60 2 12
FastCourier\FastCourierProducts::updateAllowFreeShipping()
S
61 2 12
FastCourier\FastCourierBatches::deleteWebhookLogs()
S
62 2 11
FastCourier\FastCourierVerifyToken::syncMerchantDetails()
S
62 2 11
FastCourier\FastCourierOrders::delete_old_logs()
S
61 2 11
FastCourier\FastCourierProducts::categories()
S
56 1 20
FastCourier\FastCourierRequests::getApiHeaders()
S
58 1 16
custom_shipping_fee_html()
S
69 2 6
FastCourier\FastCourierOrders::index()
S
64 2 9
fc_woocommerce_product_custom_fields()
S
70 2 7
fc_apis_prefix()
S
68 2 8
FastCourier\FastCourierOrders::hold()
S
64 2 9
FastCourier\FastCourierOrders::unprocessed()
S
64 2 9
shouldUpdateFile()
S
64 2 10
FastCourier\FastCourierMenuPage::fcOrdersList()
S
66 2 8
fc_add_orders_column_tracking_url_customer()
S
69 2 7
fc_check_is_woocommerce_active()
S
68 2 7
FastCourier\FastCourierVerifyToken::merchantFiedsFormat()
S
66 2 8
remove_shipping_cost()
S
74 2 5
connect_fc_apis_prefix()
S
68 2 8
FastCourier\FastCourierVerifyToken::deletePackage()
S
63 2 10
FastCourier\FastCourierUpdateQuotes::defaultLocation()
S
68 2 7
FastCourier\FastCourierOrders::processed()
S
64 2 9
FastCourier\FastCourierLocation::createOptions()
S
68 2 7
FastCourier\FastCourierVerifyToken::deleteWooPackage()
S
63 2 10
fc_cron_auto_process_order()
S
73 2 5
my_plugin_force_session_initialization()
S
72 2 6
fc_override_billing_fields()
S
59 1 14
fc_override_shipping_fields()
S
59 1 14
FastCourier\FastCourierRequests::failResponse()
S
77 1 3
FastCourier\FastCourierMenuPage::changePassword()
S
77 1 3
fc_custom_cron_interval()
S
69 1 7
FastCourier\FastCourierProducts::productTypes()
S
76 1 4
FastCourier\FastCourierRequests::successResponse()
S
78 1 3
fc_add_custom_order_meta_box()
S
66 1 10
FastCourier\FastCourierProducts::getProductTypeFilter()
S
80 1 3
FastCourier\FastCourierMenuPage::loginPage()
S
77 1 3
fc_auto_process_order_deactivate_cron()
S
82 1 3
FastCourier\FastCourierMenuPage::render()
S
69 1 6
update_fc_post_meta_on_hold_order()
S
72 1 5
FastCourier\FastCourierLocation::tags()
S
72 1 5
FastCourier\FastCourierLocation::index()
S
72 1 5
fc_custom_add_order_status()
S
77 1 4
FastCourier\FastCourierMenuPage::about()
S
74 1 4
fc_add_orders_column_status_cusomter()
S
79 1 3
add_fc_details_in_order()
S
82 1 3
fc_pagination()
S
82 1 3
fc_delete_prefilled_data()
S
74 1 4
fc_custom_register_order_status()
S
64 1 10
isOrderRejected()
S
76 1 4
get_client_credentials()
S
71 1 5
fc_is_configured()
S
81 1 3
FastCourier\FastCourierProducts::getBulkActions()
S
80 1 3
calculateDistance()
S
63 1 9
fc_origin()
S
75 1 4
dd()
S
72 1 6
FastCourier\FastCourierManagePackages::index()
S
69 1 6
FastCourier\FastCourierProducts::products()
S
67 1 7
FastCourier\FastCourierManagePackages::getPackageTypes()
S
75 1 4
update_order_on_portal()
S
80 1 3
FastCourier\FastCourierMenuPage::bulkPackagesRender()
S
78 1 3
clean_address_part()
S
80 1 3
currentStep()
S
81 1 3
fc_orders_data_customer_account()
S
73 1 5
fc_product_settings_tabs()
S
67 1 8
FastCourier\Menu::init()
S
79 1 3
FastCourier\FastCourierCart::index()
S
95 1 1
fc_order_status_chip()
S
73 1 5