Code Analysis: ELEX ShipEngine UPS & FedEx Shipping Method 1.1.1

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
38 6 98
Elex_Review_Components::update_get_options()
A
53 9 22
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_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
ELEX_ShipEngine_Basic_Dependencies::woocommerce_active_check()
S
70 3 6
Wf_Dependencies::woocommerce_active_check()
S
70 3 6
ElexShipEngine::sort_rates()
S
69 3 6
ElexShipEngineWooCommerceShipping::init()
S
69 2 6
ElexShipEngine::set_carrier_list()
S
70 2 6
ElexOrder::get_order_currency()
S
78 2 3
ElexOrder::get_id_from_order_obj()
S
78 2 3
Wf_Dependencies::init()
S
69 2 6
ELEX_ShipEngine_Basic_Dependencies::init()
S
69 2 6
Elex_Review_Components::show_trubleshoot()
S
69 2 7
Elex_Review_Components::delete_options()
S
72 1 5
woocommerce_activation_notice_in_shipengine_basic()
S
70 1 8
ElexShipEngine::__construct()
S
65 1 9
ElexShipEngine::generate_activate_box_html()
S
71 1 6
ElexShipEngineWooCommerceShipping::plugin_action_links()
S
65 1 8
ElexOrder::__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
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::__construct()
S
67 1 7
Elex_Review_Components::on_activation()
S
79 1 3
ElexShipEngineWooCommerceShipping::shipping_init()
S
81 1 3
ElexShipEngine::clear_transients()
S
75 1 4
ElexShipEngine::elex_get_carrier_ids()
S
72 1 5
Elex_Review_Components::get_option()
S
78 1 3
ElexShipEngine::get_package_requests()
S
76 1 4
ElexShipEngine::admin_options()
S
78 1 4
ElexShipEngineWooCommerceShipping::scripts()
S
66 1 8
ElexShipEngineWooCommerceShipping::__construct()
S
67 1 7
ElexShipEngine::generate_services_html()
S
74 1 5