WCMP_Export D

Total Complexity 187
Dependencies 25
Dependents 7
Total lines 1,388
Lines of code 816
Logical lines of code 443
Comment lines 304
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
export()
B
38 17 69
getRecipientFromOrder()
A
37 12 81
prepare_return_shipment_data()
A
42 12 50
getShipmentIds()
A
47 13 35
add_shipments()
A
41 11 55
admin_notices()
A
44 9 48
isActiveMethod()
A
54 9 23
get_package_type_from_shipping_method()
A
49 8 32
getShippingClass()
A
48 8 32
addShipments()
A
51 8 25
wc_flat_rate_fee()
S
55 6 21
add_return()
S
48 5 32
parse_errors()
S
53 5 24
getItemWeightKg()
S
53 5 24
getShippingMethod()
S
59 5 13
getShipmentData()
S
53 4 22
get_item_display_name()
S
65 5 8
wc_flat_rate_evaluate_cost()
S
50 3 29
getLegacyShippingMethod()
S
59 3 16
sanitize_posted_array()
S
65 4 9
saveShipmentData()
S
61 3 13
get_shipment_status_name()
S
50 2 28
getOrderLabels()
S
58 2 16
downloadOrGetUrlOfLabels()
S
57 2 15
modal_dialog()
S
66 3 8
addTrackTraceNoteToOrder()
S
64 3 9
filterOrderDestinations()
S
63 3 10
saveTrackTracesToOrders()
S
65 3 9
printLabels()
S
62 2 13
getChosenOrDefaultShipmentOption()
S
71 2 6
init_api()
S
68 2 7
getShipmentBarcodeFromApi()
S
65 2 8
updateOrderStatus()
S
68 2 8
__construct()
S
66 1 8
modal_success_page()
S
77 1 4
getSetting()
S
80 1 3
get_package_type()
S
78 1 3