Code Analysis: ELEX ShipEngine UPS & FedEx Shipping Method 1.0.8

Function Rating Maintainability Complexity Lines of code
ElexShipEngine::calculate_shipping()
D
21
65 165
ElexShipEngine::init()
C
43 29 33
ElexOrder::set_order_properties()
B
49 22 23
ElexShipEngine::init_form_fields()
B
25
4 250
ElexShipEngine::per_item_shipping()
A
36 13 78
ElexShipEngine::get_result()
A
34 8 100
ElexShipEngine::generate_shipengine_tabs_html()
A
37 6 104
ElexShipEngine::xa_currency_converter()
S
51 7 24
ElexShipEngine::environment_check()
S
52 7 23
ElexShipEngine::validate_services_field()
S
59 7 12
ElexProduct::set_item_properties()
S
64 7 8
ElexShipEngine::elex_check_address_fields()
S
60 5 13
ElexShipEngine::wf_load_product()
S
62 5 12
ElexShipEngine::prepare_rate()
S
54 4 23
wf_easyshop_basic_activation_check()
S
59 4 14
ElexShipEngine::debug()
S
63 4 10
ElexOrder::set_order()
S
67 3 8
Wf_Dependencies::woocommerce_active_check()
S
70 3 6
ElexShipEngine::sort_rates()
S
69 3 6
ElexOrder::get_order_currency()
S
78 2 3
ElexOrder::get_id_from_order_obj()
S
78 2 3
ElexShipEngineWooCommerceShipping::init()
S
69 2 6
Wf_Dependencies::init()
S
69 2 6
ElexShipEngine::set_carrier_list()
S
70 2 6
ElexShipEngine::elex_get_carrier_ids()
S
72 1 5
ElexShipEngineWooCommerceShipping::add_method()
S
77 1 4
ElexShipEngineWooCommerceShipping::shipping_init()
S
81 1 3
ElexShipEngine::clear_transients()
S
75 1 4
ElexProduct::__call()
S
81 1 3
ElexOrder::__construct()
S
73 1 5
ElexShipEngine::generate_activate_box_html()
S
71 1 6
ElexShipEngine::get_package_requests()
S
76 1 4
ElexShipEngine::admin_options()
S
78 1 4
ElexShipEngine::__construct()
S
65 1 9
wf_is_woocommerce_active()
S
82 1 3
ElexShipEngineWooCommerceShipping::__construct()
S
67 1 7
ElexShipEngineWooCommerceShipping::plugin_action_links()
S
65 1 8
ElexProduct::__construct()
S
73 1 5
ElexShipEngine::generate_services_html()
S
74 1 5
xa_basic_easypost_woocommerce_inactive_notice()
S
69 1 9
ElexShipEngineWooCommerceShipping::scripts()
S
66 1 8