WCPN_Export D

Total Complexity 202
Dependencies 29
Dependents 8
Total lines 1,524
Lines of code 887
Logical lines of code 483
Comment lines 331
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
export()
B
38 17 68
getRecipientFromOrder()
A
36 13 86
prepareReturnShipmentData()
A
42 12 50
getShipmentIds()
A
47 13 35
admin_notices()
A
42 10 57
add_shipments()
A
43 9 50
isActiveMethod()
A
54 9 23
getShippingClass()
A
49 8 31
getPackageTypeFromShippingMethod()
S
50 7 30
addShipments()
S
51 7 25
getPackageTypeFromOrder()
S
51 6 27
wc_flat_rate_fee()
S
55 6 21
addReturn()
S
48 5 32
parse_errors()
S
53 5 24
getShippingMethod()
S
59 5 13
getShipmentData()
S
53 4 22
calculatedKiloWeight()
S
57 4 18
getOrderShippingClass()
S
57 4 18
get_item_display_name()
S
65 5 8
wc_flat_rate_evaluate_cost()
S
50 3 29
getPackageTypeAsString()
S
61 4 11
getLegacyShippingMethod()
S
59 3 16
sanitize_posted_array()
S
65 4 9
saveShipmentData()
S
61 3 13
getShipmentStatusName()
S
50 2 28
downloadOrGetUrlOfLabels()
S
56 2 16
getOrderLabels()
S
58 2 16
filterOrderDestinations()
S
63 3 10
addTrackTraceNoteToOrder()
S
64 3 9
saveTrackTracesToOrders()
S
65 3 9
modal_dialog()
S
66 3 8
printLabels()
S
62 2 13
getItemWeightKg()
S
64 2 9
getPackageTypeHuman()
S
70 2 6
init_api()
S
68 2 7
getShipmentBarcodeFromApi()
S
65 2 8
updateOrderStatus()
S
68 2 8
exportByOrderId()
S
70 2 6
modal_success_page()
S
77 1 4
__construct()
S
66 1 8
getChosenOrDefaultShipmentOption()
S
79 1 3
getSetting()
S
80 1 3