Code Analysis: ELEX ShipEngine UPS & FedEx Shipping Method 1.2.2

Function Rating Maintainability Complexity Lines of code
ElexShipEngine::calculate_shipping()
D
19
69 178
ElexShipEngine::init()
C
43 29 33
ElexOrder::set_order_properties()
B
49 22 23
ElexShipEngine::init_form_fields()
B
24
4 265
ElexShipEngine::per_item_shipping()
A
35 13 82
ElexShipEngine::get_result()
A
31 8 130
ElexShipEngine::generate_shipengine_tabs_html()
A
38 6 98
Elex_Review_Components::update_get_options()
A
53 9 22
ElexShipEngine::xa_currency_converter()
S
50 7 27
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
57 5 16
ElexShipEngine::wf_load_product()
S
62 5 12
ElexShipEngine::prepare_rate()
S
54 4 23
ElexShipEngineWooCommerceShipping::elex_shipengine_get_rates_request_logs()
S
57 4 16
wf_shipengine_basic_activation_check()
S
57 4 15
ElexShipEngine::debug()
S
63 4 10
Elex_Review_Components::admin_notice()
S
60 3 14
Elex_Review_Components::show_review()
S
64 3 10
ElexOrder::set_order()
S
67 3 8
Wf_Dependencies::woocommerce_active_check()
S
70 3 6
ELEX_ShipEngine_Basic_Dependencies::woocommerce_active_check()
S
70 3 6
ElexShipEngine::elex_get_carrier_ids()
S
66 3 8
ElexShipEngine::set_carrier_list()
S
67 3 7
ElexShipEngine::sort_rates()
S
69 3 6
ELEX_ShipEngine_Basic_Dependencies::init()
S
69 2 6
Wf_Dependencies::init()
S
69 2 6
Elex_Review_Components::show_trubleshoot()
S
69 2 7
ElexOrder::get_id_from_order_obj()
S
78 2 3
ElexShipEngineWooCommerceShipping::init()
S
69 2 6
ElexOrder::get_order_currency()
S
78 2 3
ElexShipEngineWooCommerceShipping::elex_shipengine_log_script()
S
62 1 11
woocommerce_activation_notice_in_shipengine_basic()
S
70 1 8
ElexShipEngineWooCommerceShipping::plugin_action_links()
S
65 1 8
ElexShipEngine::__construct()
S
65 1 9
ElexShipEngine::admin_options()
S
78 1 4
ElexShipEngine::generate_activate_box_html()
S
71 1 6
ElexShipEngineWooCommerceShipping::__construct()
S
64 1 9
Elex_Review_Components::delete_options()
S
72 1 5
Elex_Review_Components::get_option()
S
78 1 3
ElexShipEngineWooCommerceShipping::shipping_init()
S
81 1 3
ElexShipEngine::get_package_requests()
S
76 1 4
elex_shipengine_basic_is_woocommerce_active()
S
82 1 3
wf_is_woocommerce_active()
S
82 1 3
ElexProduct::__construct()
S
73 1 5
Elex_Review_Components::update_option()
S
78 1 3
ElexShipEngineWooCommerceShipping::add_method()
S
77 1 4
ElexProduct::__call()
S
81 1 3
ElexShipEngine::generate_services_html()
S
74 1 5
Elex_Review_Components::on_activation()
S
79 1 3
ElexShipEngineWooCommerceShipping::scripts()
S
66 1 8
ElexOrder::__construct()
S
73 1 5
Elex_Review_Components::__construct()
S
67 1 7
ElexShipEngine::clear_transients()
S
75 1 4