WCPN_Export D

Total Complexity 214
Dependencies 31
Dependents 8
Total lines 1,617
Lines of code 931
Logical lines of code 507
Comment lines 364
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
export()
B
38 16 65
getRecipientFromOrder()
A
36 13 86
getShipmentIds()
A
47 13 35
prepareReturnShipmentData()
A
42 12 50
admin_notices()
A
41 10 62
add_shipments()
A
41 10 57
isActiveMethod()
A
54 9 23
getPackageTypeFromShippingMethod()
A
48 8 33
getShippingClass()
A
49 8 31
addShipments()
A
51 8 25
getPackageTypeFromOrder()
S
51 6 27
addReturn()
S
46 5 39
wc_flat_rate_fee()
S
55 6 21
parse_errors()
S
53 5 24
getShippingMethod()
S
60 5 12
getShipmentData()
S
53 4 22
convertWeightToGrams()
S
56 4 19
getOrderShippingClass()
S
59 4 16
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
64 4 9
getAllowedPackageType()
S
63 4 10
getShipmentStatusName()
S
49 2 30
saveShipmentData()
S
61 3 13
addMultiCollo()
S
61 3 12
getOrderLabels()
S
58 2 16
downloadOrGetUrlOfLabels()
S
56 2 16
exportByOrderId()
S
69 3 6
modal_dialog()
S
66 3 8
filterOrderDestinations()
S
63 3 10
saveTrackTracesToOrders()
S
65 3 9
addTrackTraceNoteToOrder()
S
64 3 9
printLabels()
S
62 2 13
getShipmentBarcodeFromApi()
S
65 2 8
addConsignments()
S
67 2 8
addFakeMultiCollo()
S
72 2 5
getDigitalStampRangeOptions()
S
67 2 7
getPackageTypeHuman()
S
70 2 6
init_api()
S
68 2 7
getSetting()
S
80 1 3
modal_success_page()
S
77 1 4
getChosenOrDefaultShipmentOption()
S
79 1 3
__construct()
S
66 1 8