WC_Connect_Shipping_Label B

Total Complexity 81
Dependencies 12
Dependents 3
Total lines 530
Lines of code 341
Logical lines of code 196
Comment lines 81
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
is_order_eligible_for_shipping_label_creation()
A
49 11 30
get_selected_packages()
A
43 8 48
get_packaging_from_shipping_method()
A
53 8 26
calculate_should_show_meta_box()
A
54 8 22
get_item_data()
S
50 5 29
format_address_for_api()
S
60 6 12
get_all_items()
S
58 5 16
get_selected_rates()
S
59 4 14
is_order_dhl_express_eligible()
S
62 3 12
is_store_eligible_for_shipping_label_creation()
S
63 3 11
get_form_data()
S
54 2 19
get_label_payload()
S
58 2 16
meta_box()
S
53 1 23
get_name()
S
66 2 8
should_show_meta_box()
S
71 2 6
get_packaging_metadata()
S
66 2 9
filter_items_needing_shipping()
S
76 2 4
__construct()
S
61 1 14
get_destination_address()
S
73 1 5
is_supported_country()
S
79 1 3
is_supported_currency()
S
79 1 3
is_dhl_express_available()
S
76 1 4
get_origin_address()
S
76 1 4
reducer_items_quantity()
S
80 1 3