Code Analysis: Automated UPS Shipping 3.0.1

Function Rating Maintainability Complexity Lines of code
hit_ups_auto::calculate_shipping()
D
0
123 613
hit_ups_auto_parent::hit_wc_checkout_order_processed()
D
11
69 321
hit_ups_auto_parent::hit_create_ups_shipping()
D
13
71 263
hit_ups_auto_parent::hit_define_ups_credentails()
D
6
31 705
hit_ups_auto_parent::create_ups_shipping_label_genetation()
D
23
35 182
hit_ups_auto_parent::hit_order_status_update()
D
29 38 104
hit_ups_auto::box_shipping()
C
33 27 87
hit_ups_auto_parent::ups_track()
C
30 23 126
hit_ups_auto::weight_based_shipping()
C
33 25 89
hit_ups_auto::per_item_shipping()
B
40 21 54
hit_ups_auto_parent::save_user_fields()
B
50 20 23
hit_Boxpack_Box::can_fit()
B
51 20 21
HIT_Boxpack::pack()
A
42 13 56
hit_Boxpack_Box::pack()
A
40 9 62
hit_ups_auto::generate_hit_ups_auto_html()
A
40 5 87
hit_ups_auto_parent::hit_choose_vendor_address()
A
48 8 32
WeightPackSimple::pack_items()
S
51 7 28
WeightPacketUtil::pack_items_into_weight_box()
S
50 6 32
hit_ups_auto_parent::__construct()
S
53 4 20
HIT_Boxpack::item_sorting()
S
65 5 9
HIT_Boxpack::box_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
hit_woo_ups_plugin_activation()
S
68 3 6
hit_ups_auto_parent::hit_save_product_meta()
S
67 3 7
WeightPackAscend::sort_items()
S
66 3 8
WeightPackDescend::sort_items()
S
66 3 8
HIT_Boxpack::volume_based_sorting()
S
70 3 6
WeightPackDescend::pack_items()
S
63 2 11
WeightPackAscend::pack_items()
S
63 2 11
hit_Boxpack_Box::set_type()
S
73 2 5
WeightPackStrategy::add_item()
S
66 2 8
hit_Boxpack_Box::get_volume()
S
67 2 8
HIT_Boxpack::get_packages()
S
80 2 3
hit_ups_auto_parent::hit_ups_plugin_action_links()
S
64 2 8
HIT_Boxpack::order_boxes()
S
71 2 6
HIT_Boxpack::order_items()
S
71 2 6
HIT_Boxpack::order_by_volume()
S
71 2 6
hit_Boxpack_Item::__construct()
S
62 1 11
HIT_Boxpack::add_item()
S
77 1 3
hit_Boxpack_Box::get_width()
S
82 1 3
HIT_Boxpack::clear_items()
S
81 1 3
WeightPackDescend::__construct()
S
81 1 3
hit_Boxpack_Box::get_length()
S
82 1 3
hit_Boxpack_Box::get_outer_length()
S
82 1 3
hit_ups_auto_parent::hit_ups_menu_page()
S
78 1 3
hit_Boxpack_Box::get_outer_width()
S
82 1 3
hit_Boxpack_Box::get_weight()
S
82 1 3
hit_Boxpack_Box::get_packed_height()
S
82 1 3
hit_Boxpack_Box::get_packed_width()
S
82 1 3
hit_Boxpack_Box::get_packed_length()
S
82 1 3
WeightPack::add_item()
S
79 1 3
hit_Boxpack_Item::get_volume()
S
82 1 3
hit_Boxpack_Item::get_height()
S
82 1 3
hit_Boxpack_Item::get_width()
S
82 1 3
hit_Boxpack_Item::get_length()
S
82 1 3
hit_Boxpack_Item::get_weight()
S
82 1 3
hit_Boxpack_Item::get_value()
S
82 1 3
WeightPackStrategy::__construct()
S
80 1 3
WeightPack::get_packable_items()
S
81 1 3
hit_ups_auto_parent::hit_ups_method()
S
77 1 4
hit_ups_auto::__construct()
S
67 1 8
WeightPackStrategy::set_max_weight()
S
81 1 3
WeightPack::pack_items()
S
77 1 4
WeightPackResult::set_unpacked_items()
S
81 1 3
hit_Boxpack_Box::set_max_weight()
S
81 1 3
WeightPack::get_result()
S
81 1 3
WeightPackStrategy::get_result()
S
82 1 3
hit_ups_auto::init()
S
73 1 5
HIT_Boxpack::clear_boxes()
S
81 1 3
hit_Boxpack_Box::__construct()
S
64 1 9
WeightPackStrategy::pack_items()
S
100 1 0
WeightPackStrategy::set_result()
S
81 1 3
hit_ups_auto_parent::hit_ups_init()
S
81 1 3
hit_Boxpack_Box::set_id()
S
81 1 3
WeightPack::set_max_weight()
S
81 1 3
hit_ups_auto_parent::create_ups_shipping_meta_box()
S
77 1 3
WeightPackStrategy::get_max_weight()
S
82 1 3
hit_Boxpack_Box::get_packtype()
S
82 1 3
HIT_Boxpack::add_box()
S
72 1 5
hit_Boxpack_Box::set_volume()
S
80 1 3
WeightPackResult::get_errors()
S
82 1 3
WeightPackResult::get_packed_boxes()
S
82 1 3
hit_Boxpack_Box::reset_packed_dimensions()
S
74 1 5
WeightPackResult::set_packed_boxes()
S
81 1 3
WeightPackSimple::__construct()
S
81 1 3
WeightPackStrategy::get_packable_items()
S
82 1 3
WeightPackAscend::__construct()
S
81 1 3
hit_Boxpack_Box::get_height()
S
82 1 3
hit_Boxpack_Box::get_max_weight()
S
76 1 4
hit_ups_auto_parent::custom_product_tabs()
S
66 1 8
HIT_Boxpack::__construct()
S
81 1 3
WeightPackResult::get_unpacked_items()
S
82 1 3
WeightPackResult::set_error()
S
80 1 3
hit_ups_auto_parent::my_admin_page_contents()
S
82 1 3
hit_ups_auto::init_form_fields()
S
79 1 3
hit_Boxpack_Box::set_packtype()
S
81 1 3
hit_Boxpack_Box::get_outer_height()
S
82 1 3
hit_Boxpack_Box::set_inner_dimensions()
S
68 1 7