Code Analysis: Calculate Prices based on Distance For WooCommerce 1.3.5

Function Rating Maintainability Complexity Lines of code
WCCPD_Calculate_Miles::wccpd_cm_save_form_fields()
D
32 36 83
WCCPD_Calculate_Miles::wccpd_cm_add_address_to_order()
C
32 26 100
WCCPD_Calculate_Miles::wccpd_load_script_style_files()
C
34 26 79
WCCPD_Calculate_Miles::wccpd_custom_checkout_field_process()
B
50 19 23
WCCPD_Calculate_Miles::wccpd_custom_checkout_field_update_meta()
A
57 9 16
WCCPD_Calculate_Miles::wccpd_display_custom_fields_in_admin_order_meta()
A
53 8 24
wccpd_getDistance()
S
49 7 28
wccpd_get_long_lat()
S
50 6 27
WCCPD_Calculate_Miles::get_formated_admin_address()
S
61 7 11
WCCPD_Calculate_Miles::wccpd_wc_customer_details()
S
49 4 32
wccpd_cm_custom_address_settings()
S
56 5 17
wccpd_parse_google_result()
S
59 5 12
WCCPD_Calculate_Miles::wccpd_checking_status_of_googlemaps_apikey()
S
49 3 31
WCCPD_Calculate_Miles::wccpd_flush_session()
S
66 5 8
wccpd_load_templates()
S
62 4 11
WCCPD_Calculate_Miles::wccpd_maybe_redirect_after_activation()
S
65 4 9
WCCPD_Calculate_Miles::wccpd_redirect_to_settings_on_activation()
S
69 4 6
WCCPD_Calculate_Miles::wccpd_wc_register_checkout_blocks()
S
64 4 9
Delivery_Calculation_Integration::register_billing_block_frontend_scripts()
S
57 2 18
Delivery_Calculation_Integration::register_main_integration()
S
57 2 17
WCCPD_Calculate_Miles::wccpd_load_admin_files()
S
57 2 16
WCCPD_Calculate_Miles::wccpd_show_welcome_notice()
S
60 2 16
Delivery_Calculation_Integration::register_billing_block_editor_scripts()
S
58 2 16
WCCPD_Calculate_Miles::__construct()
S
54 1 20
Delivery_Calculation_Integration::get_script_data()
S
57 1 18
wccpd_is_pro_installed()
S
69 2 7
wccpd_is_license_valid()
S
69 2 7
WCCPD_Calculate_Miles::wccpd_add_custom_delivery_charges()
S
71 2 5
wccpd_custom_address_option_on_wc_tab()
S
78 1 3
Delivery_Calculation_Integration::register_billing_block_editor_styles()
S
78 1 3
WCCPD_Calculate_Miles::wccpd_adding_custom_fields_on_checkout()
S
82 1 3
Delivery_Calculation_Integration::initialize()
S
73 1 6
WCCPD_Calculate_Miles::wccpd_wc_load_blocks()
S
78 1 3
WCCPD_Calculate_Miles::wccpd_checkout_field_update_order_meta()
S
64 1 9
Delivery_Calculation_Integration::get_name()
S
82 1 3
Delivery_Calculation_Integration::get_editor_script_handles()
S
80 1 3
wccpd_pa()
S
75 1 5
Delivery_Calculation_Integration::get_script_handles()
S
80 1 3