Code Analysis: UPS Rates & Labels 4.3.2

Function Rating Maintainability Complexity Lines of code
hit_ups_auto::calculate_shipping()
D
0
160 683
hit_ups_auto_parent::hit_wc_checkout_order_processed()
D
4
112 355
hit_ups_auto_parent::create_ups_return_label()
D
6
110 317
hit_ups_auto_parent::hit_create_ups_shipping()
D
7
106 308
hit_ups_auto_parent::hit_define_ups_credentails()
D
3
42 773
hit_ups_auto_parent::ups_track()
D
23
48 164
hit_ups_auto_parent::create_ups_shipping_label_genetation()
D
20
43 209
hit_ups_auto_parent::hit_order_status_update()
D
33 33 85
hit_ups_auto::box_shipping()
C
33 27 87
hit_ups_auto::weight_based_shipping()
C
33 25 89
hit_ups_auto_parent::save_user_fields()
B
47 26 29
hit_ups_auto::per_item_shipping()
B
40 21 54
hit_Boxpack_Box::can_fit()
B
51 20 21
ups_rest::make_pack_info()
A
44 16 38
hit_ups_auto_parent::create_ups_return_label_genetation()
A
35 13 82
HIT_Boxpack::pack()
A
42 13 56
hit_Boxpack_Box::pack()
A
40 9 62
ups_rest::make_rate_req_rest()
A
46 11 32
hit_ups_auto_parent::hit_choose_vendor_address()
A
46 9 37
ups_rest::make_ship_addr()
A
57 10 14
hit_ups_auto::generate_hit_ups_auto_html()
A
42 4 79
hit_ups_auto_parent::__construct()
A
47 7 32
WeightPackSimple::pack_items()
S
51 7 28
ups_rest::make_rec_addr()
S
59 8 12
WeightPacketUtil::pack_items_into_weight_box()
S
50 6 32
ups_rest::gen_access_token()
S
52 6 22
hit_ups_auto_parent::hit_save_product_meta()
S
59 6 13
ups_rest::make_trk_res_rest()
S
52 5 24
ups_rest::get_rate_res_rest()
S
54 5 21
HIT_Boxpack::box_sorting()
S
65 5 9
HIT_Boxpack::item_sorting()
S
65 5 9
hit_ups_auto::hit_get_ups_packages()
S
60 4 14
WeightPack::__construct()
S
59 3 16
hit_ups_auto::hit_get_zipcode_or_city()
S
54 3 12
hit_Boxpack_Item::get_meta()
S
64 3 11
WeightPacketUtil::pack_all_items_into_one_box()
S
58 2 16
sanitize_array()
S
64 3 10
WeightPackDescend::sort_items()
S
66 3 8
WeightPackAscend::sort_items()
S
66 3 8
hit_ups_auto_parent::hit_ups_menu_page()
S
65 3 7
hit_ups_auto_parent::my_label_page_contents()
S
67 3 7
HIT_Boxpack::volume_based_sorting()
S
70 3 6
hit_ups_auto_parent::sanitize_array()
S
64 3 10
WeightPackAscend::pack_items()
S
63 2 11
WeightPackDescend::pack_items()
S
63 2 11
hit_ups_auto::__construct()
S
62 2 11
hit_Boxpack_Box::set_type()
S
73 2 5
HIT_Boxpack::order_items()
S
71 2 6
HIT_Boxpack::order_boxes()
S
71 2 6
HIT_Boxpack::order_by_volume()
S
71 2 6
hit_Boxpack_Box::get_volume()
S
67 2 8
hit_ups_auto_parent::create_ups_shipping_meta_box()
S
70 2 5
HIT_Boxpack::get_packages()
S
80 2 3
hit_ups_auto_parent::hit_ups_plugin_action_links()
S
64 2 8
WeightPackStrategy::add_item()
S
66 2 8
hit_Boxpack_Item::__construct()
S
62 1 11
WeightPackStrategy::get_packable_items()
S
82 1 3
WeightPackStrategy::get_result()
S
82 1 3
HIT_Boxpack::__construct()
S
81 1 3
hit_Boxpack_Item::get_length()
S
82 1 3
hit_Boxpack_Box::get_outer_height()
S
82 1 3
hit_Boxpack_Item::get_value()
S
82 1 3
WeightPackResult::get_packed_boxes()
S
82 1 3
WeightPackStrategy::get_max_weight()
S
82 1 3
hit_Boxpack_Box::get_width()
S
82 1 3
hit_Boxpack_Box::set_inner_dimensions()
S
68 1 7
hit_Boxpack_Box::set_packtype()
S
81 1 3
WeightPack::get_packable_items()
S
81 1 3
hit_Boxpack_Box::get_height()
S
82 1 3
HIT_Boxpack::clear_items()
S
81 1 3
hit_Boxpack_Item::get_width()
S
82 1 3
hit_Boxpack_Box::get_outer_length()
S
82 1 3
WeightPack::add_item()
S
79 1 3
hit_ups_auto_parent::hit_ups_init()
S
81 1 3
hit_Boxpack_Item::get_height()
S
82 1 3
WeightPackStrategy::set_result()
S
81 1 3
WeightPackDescend::__construct()
S
81 1 3
hit_Boxpack_Box::__construct()
S
64 1 9
hit_Boxpack_Box::get_packed_length()
S
82 1 3
hit_Boxpack_Box::set_max_weight()
S
81 1 3
HIT_Boxpack::add_box()
S
72 1 5
hit_Boxpack_Box::get_weight()
S
82 1 3
WeightPackStrategy::__construct()
S
80 1 3
hit_Boxpack_Box::get_outer_width()
S
82 1 3
hit_Boxpack_Box::get_packtype()
S
82 1 3
hit_ups_auto_parent::my_admin_page_contents()
S
82 1 3
WeightPackSimple::__construct()
S
81 1 3
WeightPack::get_result()
S
81 1 3
WeightPackResult::set_packed_boxes()
S
81 1 3
hit_Boxpack_Item::get_weight()
S
82 1 3
WeightPackResult::set_error()
S
80 1 3
WeightPack::set_max_weight()
S
81 1 3
HIT_Boxpack::add_item()
S
77 1 3
hit_ups_auto::init()
S
73 1 5
WeightPackResult::get_unpacked_items()
S
82 1 3
hit_ups_auto_parent::hit_ups_method()
S
77 1 4
WeightPackAscend::__construct()
S
81 1 3
hit_Boxpack_Box::get_packed_height()
S
82 1 3
WeightPackResult::get_errors()
S
82 1 3
WeightPackStrategy::pack_items()
S
100 1 0
WeightPackResult::set_unpacked_items()
S
81 1 3
hit_Boxpack_Box::get_max_weight()
S
76 1 4
WeightPack::pack_items()
S
77 1 4
hit_Boxpack_Box::set_id()
S
81 1 3
hit_ups_auto_parent::custom_product_tabs()
S
66 1 8
ups_rest::__construct()
S
100 1 2
hit_Boxpack_Box::get_packed_width()
S
82 1 3
hit_Boxpack_Item::get_volume()
S
82 1 3
WeightPackStrategy::set_max_weight()
S
81 1 3
hit_Boxpack_Box::reset_packed_dimensions()
S
74 1 5
hit_ups_auto::init_form_fields()
S
79 1 3
hit_Boxpack_Box::set_volume()
S
80 1 3
hit_Boxpack_Box::get_length()
S
82 1 3
HIT_Boxpack::clear_boxes()
S
81 1 3