WooCommerce_MyParcelBE_Export D

Total Complexity 303
Dependencies 10
Dependents 2
Total lines 1,930
Lines of code 1,420
Logical lines of code 678
Comment lines 216
Methods 55
Properties 5

Methods 55

Method Rating Maintainability Complexity Lines of code
export()
D
34 32 80
get_options()
B
39 19 65
add_shipments()
A
40 14 55
get_recipient()
A
37 12 77
get_shipment_ids()
A
47 13 34
prepare_return_shipment_data()
A
43 12 48
get_shipment_labels()
A
42 10 50
is_world_shipment_country()
A
28
1 183
admin_notices()
A
48 10 30
isActiveMethod()
A
56 9 19
get_package_type_from_shipping_method()
A
49 8 32
get_shipping_class()
A
49 8 31
get_shipment_data()
A
49 8 28
get_delivery_type()
A
51 8 27
get_customs_declaration()
S
48 7 29
get_shipping_method()
S
52 7 24
get_package_type_for_order()
S
51 6 28
get_item_weight_kg()
S
51 6 27
is_pickup()
S
53 6 22
wc_flat_rate_fee()
S
55 6 21
log()
S
53 6 21
save_shipment_data()
S
56 6 18
get_tier_ranges()
S
49 4 36
parse_errors()
S
55 5 19
find_order_shipping_classes()
S
56 5 18
get_order_shipment_data()
S
49 4 32
add_return()
S
50 4 28
get_order_shipping_class()
S
57 4 18
add_myparcelbe_note_to_shipments()
S
58 4 15
get_item_display_name()
S
65 5 8
get_parcel_weight()
S
59 4 15
wc_flat_rate_evaluate_cost()
S
50 3 29
is_eu_country()
S
45 1 48
get_next_delivery_day()
S
65 4 8
find_tier_range()
S
64 4 9
get_shipment_status_name()
S
50 2 28
frontend_api_request()
S
52 2 26
replace_shortcodes()
S
62 3 11
sanitize_posted_array()
S
68 3 7
modal_dialog()
S
66 3 8
filter_myparcelbe_destination_orders()
S
63 3 10
is_myparcelbe_destination()
S
71 3 6
__construct()
S
60 2 13
get_labels()
S
64 2 9
init_api()
S
67 2 8
get_package_name()
S
68 2 7
get_shipment_barcode_from_myparcelbe_api()
S
65 2 8
add_myparcelbe_note_to_shipment()
S
68 2 7
download_pdf()
S
62 1 12
modal_success_page()
S
77 1 4
get_package_types()
S
71 1 6
stream_pdf()
S
70 1 6
get_filename()
S
71 1 5
get_item_weight_g()
S
75 1 4
get_invoice_number()
S
79 1 3