WCMP_Export D

Total Complexity 219
Dependencies 31
Dependents 8
Total lines 1,644
Lines of code 950
Logical lines of code 520
Comment lines 365
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
export()
B
39 16 64
getRecipientFromOrder()
B
35 14 87
add_shipments()
A
38 12 68
getShipmentIds()
A
47 13 35
prepareReturnShipmentData()
A
42 12 50
admin_notices()
A
41 11 64
isActiveMethod()
A
54 9 23
getShippingClass()
A
49 8 31
addShipments()
A
51 8 25
getPackageTypeFromShippingMethod()
S
50 7 30
getPackageTypeFromOrder()
S
50 7 29
addReturn()
S
46 5 39
wc_flat_rate_fee()
S
55 6 21
getShipmentData()
S
52 5 25
parse_errors()
S
53 5 24
getShippingMethod()
S
60 5 12
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
65 4 9
getShipmentStatusName()
S
49 2 30
getAllowedPackageType()
S
63 4 10
saveShipmentData()
S
61 3 13
addMultiCollo()
S
61 3 12
getOrderLabels()
S
58 2 16
downloadOrGetUrlOfLabels()
S
56 2 16
modal_dialog()
S
66 3 8
exportByOrderId()
S
63 3 10
filterOrderDestinations()
S
63 3 10
addTrackTraceNoteToOrder()
S
64 3 9
saveTrackTracesToOrders()
S
65 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