Code Analysis: Big Post Shipping for WooCommerce 1.4.9

Function Rating Maintainability Complexity Lines of code
Woo_BigPost_Shipping_Method::send_bigpost_api_request()
D
13
72 262
Woo_BigPost_Public::woobigpost_find_shipping_costs_ajax()
D
15
67 249
woocommerce_checkout_order_processed_func()
D
19
55 202
woobigpost_get_shipping_prices()
D
24
60 122
woobigpost_get_cheapest_delivery_opt()
D
29 47 101
woobigpost_get_shipping_rates()
D
29 44 96
Woo_BigPost_Shipping_Method::init_form_fields()
C
16
1 527
Woo_BigPost_Admin::woobigpost_product_save_meta_data()
C
34 30 80
Woo_BigPost_Shipping_Quote::get_shipping_rates_non_free()
C
31 26 101
Woo_BigPost_Public::woobigpost_shipping_charges_for_single_product()
C
39 29 54
woobigpost_show_pricing_for_shipping()
B
33 20 97
Woo_BigPost_Shipping_Method::get_cart_items_to_get_pricing()
B
40 21 53
Woo_BigPost_Product_Settings::getProductSettings()
B
46 22 32
Woo_BigPost_Admin::woobigpost_product_box_update()
B
33 15 107
Woo_BigPost_Shipping_Method::generate_warehouse_location_repeater_html()
B
37 15 85
Woo_BigPost_Shipping_Method::generate_getting_started_html()
B
45 17 40
Woo_BigPost_Free_Shipping_Check::check_freight_if_free()
A
54 12 20
Woo_BigPost_Shipping_Method::__construct()
A
44 10 41
Woo_BigPost_Shipping_Method::generate_margin_value_advanced_html()
A
41 8 70
Woo_BigPost_Public::woobigpost_set_fields_on_session()
A
45 10 39
Woo_BigPost_Script::woobigpost_frontside_scripts()
A
52 10 22
Woo_BigPost_Free_Shipping_Check::create_new_shipping_rates()
A
48 9 33
Woo_BigPost_Shipping_Method::woobigpost_save_custom_options()
A
48 9 32
woobigpost_update_shipping_costs_based_on_cart_session_custom_data()
A
51 9 26
Woo_BigPost_Shipping_Method::generate_multicheckbox_html()
A
48 8 33
Woo_BigPost_Public::__construct()
A
43 7 45
woobigpost_export_depot_address()
A
49 8 28
woobigpost_getLabel()
A
54 8 20
woobigpost_plugins_loaded()
A
48 7 33
woobigpost_remote_api_request()
A
48 7 32
woobigpost_get_suburb_list()
A
48 7 31
Woo_BigPost_Admin::woobigpost_resync_order()
S
52 7 23
GuzzleMultiTransfer::post_request()
S
48 6 32
Woo_BigPost_Shipping_Method::generate_radio_html()
S
49 6 31
Woo_BigPost_Public::woobigpost_get_shipping_status_ajax()
S
50 6 29
Woo_BigPost_Shipping_Method::round_off_amount()
S
59 7 13
Woo_BigPost_Public::woobigpost_shipping_charges_for_checkout()
S
60 7 11
Woo_BigPost_Public::woobigpost_shipping_charges_for_cart()
S
60 7 11
Woo_BigPost_Shipping_Method::export_depot_address()
S
54 6 20
Woo_BigPost_Script::woobigpost_adminside_scripts()
S
59 6 12
Woo_BigPost_Public::woobigpost_set_shipping_suburb_ajax()
S
61 6 11
Woo_BigPost_Shipping_Method::get_data_from_session_for_request()
S
55 5 19
woobigpost_get_depot()
S
55 5 19
Woo_BigPost_Plugin_Setup_Check::check_api()
S
56 5 17
Woo_BigPost_Public::woobigpost_update_cart_shipping_ajax()
S
48 4 31
get_zone_active_shipping()
S
57 5 16
woobigpost_process_free_shipping()
S
59 5 14
count_disabled_items()
S
60 5 12
woobigpost_merge_product_settings()
S
60 5 12
woobigpost_send_api_request()
S
52 4 25
Woo_BigPost_Public::add_bigpost_checkout_hidden_field()
S
55 4 21
woobigpost_calculate_margin_amount()
S
57 4 19
Woo_BigPost_Shipping_Method::calculate_margin_amount()
S
57 4 19
Woo_BigPost_Free_Shipping_Check::check_product_price_if_free()
S
56 4 18
Woo_BigPost_Free_Shipping_Check::check_product_freight_cost_if_free()
S
57 4 17
get_active_packages()
S
58 4 16
Woo_BigPost_Plugin_Setup_Check::check_pickup_locations()
S
58 4 15
Woo_BigPost_Script::__construct()
S
66 5 7
Woo_BigPost_Shipping_Method::calculate_shipping()
S
59 4 14
woobigpost_trim_text()
S
60 4 14
Woo_BigPost_Admin::render_resync_order_box()
S
50 2 44
woobigpost_round_off_amount()
S
62 4 12
woobigpost_get_selected_warehouse()
S
63 4 11
Woo_BigPost_Shipping_Method::bigpost_api_request()
S
54 3 21
Woo_BigPost_Shipping_Method::init()
S
53 3 21
Woo_BigPost_Public::bigpost_alter_shipping()
S
56 3 18
Woo_BigPost_Admin::woobigpost_save_variation_custom_fields()
S
56 3 17
GuzzleMultiTransfer::__construct()
S
61 3 12
Woo_BigPost_Free_Shipping_Check::check_price_if_free()
S
64 3 11
woobigpost_woocommerce_version_number()
S
62 3 11
Woo_BigPost_Plugin_Setup_Check::get_count_notempty_product_carton()
S
55 2 20
Woo_BigPost_Public::woobigpost_get_checkout_depot_ajax()
S
55 2 18
Woo_BigPost_Plugin_Setup_Check::is_set()
S
66 3 8
Woo_BigPost_Free_Shipping_Check::has_minimum_order_value()
S
66 3 8
Woo_BigPost_Free_Shipping_Check::has_max_shipping_cost()
S
66 3 8
Woo_BigPost_Admin::woobigpost_get_suburb_list_ajax()
S
67 3 7
Woo_BigPost_Public::woobigpost_get_suburb_list_ajax()
S
67 3 7
check_if_active()
S
67 3 8
Woo_BigPost_Free_Shipping_Check::get_decision()
S
67 3 8
Woo_BigPost_Shortcodes::woobigpost_shipping_status_shortcode()
S
52 1 29
createOrderStatusOpt()
S
62 2 11
Woo_BigPost_Shipping_Method::generate_bigpost_find_suburb_html()
S
59 1 21
Woo_BigPost_Admin::woobigpost_metabox_update()
S
57 1 16
Woo_BigPost_Public::disable_shipping_calc_on_cart()
S
72 2 6
Woo_BigPost_Admin::woobigpost_rated()
S
69 2 7
bp_woocommerce_version_check()
S
69 2 7
Woo_BigPost_Public::woobigpost_check_session_ajax()
S
66 2 9
Woo_BigPost_Public::woo_bigpost_create_quick_quote_html()
S
65 2 9
Woo_BigPost_Free_Shipping_Check::get_mixed_cart_option()
S
69 2 7
woobigpost_display_consignment_number_for_order_func()
S
71 2 5
GuzzleMultiTransfer::getInstance()
S
70 2 7
Woo_BigPost_Free_Shipping_Check::get_freight_condition()
S
69 2 7
Woo_BigPost_Public::woobigpost_update_checkout_city_fields()
S
58 1 15
Woo_BigPost_Product_Settings::__construct()
S
70 2 6
Woo_BigPost_Public::free_shipping_label_filter()
S
70 2 6
woobigpost_print_calculated_advance_margin_product()
S
69 2 5
woobigpost_shipping_method_class()
S
73 2 5
Woo_BigPost_Public::woobigpost_no_shipping_message()
S
70 2 6
Woo_BigPost_Plugin_Setup_Check::bp_woocommerce_version_check()
S
66 2 9
Woo_BigPost_Shipping_Quote::__construct()
S
58 1 15
Woo_BigPost_Admin::__construct()
S
60 1 13
Woo_BigPost_Admin::woobogpost_product_meta_fields()
S
80 1 3
woobigpost_plugins_textdomain()
S
71 1 5
Woo_BigPost_Public::postcode_up()
S
70 1 6
Woo_BigPost_Free_Shipping_Check::check_product_if_free()
S
67 1 7
woobigpost_checkout_update_order_review()
S
79 1 4
GuzzleMultiTransfer::headers()
S
72 1 6
Woo_BigPost_Shipping_Method::generate_leave_rating_html()
S
73 1 5
woobigpost_print_calculated_advance_margin()
S
70 1 4
Woo_BigPost_Admin::woobigpost_add_custom_variation_fields()
S
66 1 8
Woo_BigPost_Admin::woobigpost_product_box_migration()
S
74 1 4
Woo_BigPost_Free_Shipping_Check::__construct()
S
69 1 7
Woo_BigPost_Shipping_Method::get_customer_data_buyer()
S
63 1 9
Woo_BigPost_Public::woobigpost_get_checkout_suburbs_ajax()
S
66 1 8
Woo_BigPost_Admin::woobigpost_order_metabox()
S
77 1 3
Woo_BigPost_Plugin_Setup_Check::__construct()
S
68 1 7
woobigpost_add_shipping_method()
S
77 1 4
Woo_BigPost_Shipping_Method::validate_multicheckbox_field()
S
82 1 3
Woo_BigPost_Admin::woobigpost_product_add_meta_boxes()
S
77 1 3
woobigpost_admin_warning()
S
72 1 5
Woo_BigPost_Public::filter_shipping_state()
S
76 1 4
Woo_BigPost_Public::filter_shipping_city()
S
76 1 4
Woo_BigPost_Shortcodes::__construct()
S
75 1 4
Woo_BigPost_Shipping_Method::generate_hidden_html()
S
66 1 8
woobigpost_admin_warning()
S
72 1 5
Woo_BigPost_Shipping_Method::validate_margin_value_advanced_field()
S
82 1 3
Woo_BigPost_Admin::woobigpost_manage_admin_menu()
S
65 1 10
Woo_BigPost_Shipping_Method::generate_seperator_html()
S
73 1 6
woobigpost_plugin_uninstall()
S
83 1 3
woobigpost_shipping_quote_form_html()
S
74 1 5
woobigpost_get_plugin_settings()
S
81 1 3
Woo_BigPost_Public::filter_shipping_postcode()
S
76 1 4
woobigpost_plugin_install()
S
83 1 3