WCMP_Export D

Total Complexity 204
Dependencies 51
Dependents 6
Total lines 1,637
Lines of code 919
Logical lines of code 515
Comment lines 373
Methods 48
Properties 5

Methods 48

Method Rating Maintainability Complexity Lines of code
export()
B
39 15 63
addShipments()
A
38 11 71
prepareReturnShipmentData()
A
42 12 51
getShipmentIds()
A
47 13 35
isActiveMethod()
A
54 9 23
getShippingClass()
A
49 8 31
getPackageTypeFromShippingMethod()
S
50 7 30
getPackageTypeFromOrder()
S
50 7 29
saveOrderCollection()
S
43 5 48
getShipmentData()
S
52 6 25
exportReturn()
S
46 5 38
generateCustomsDeclaration()
S
47 5 37
wc_flat_rate_fee()
S
55 6 21
addReturnInTheBox()
S
52 4 28
getShippingMethod()
S
60 5 12
convertWeightToGrams()
S
56 4 19
getOrderShippingClass()
S
58 4 16
get_item_display_name()
S
65 5 8
wc_flat_rate_evaluate_cost()
S
50 3 29
addMultiCollo()
S
60 4 13
getPackageTypeAsString()
S
61 4 11
updateOrderMetaByCollection()
S
52 3 25
getLegacyShippingMethod()
S
59 3 16
getShipmentStatusName()
S
49 2 30
getAllowedPackageType()
S
63 4 10
sanitize_posted_array()
S
65 4 9
filterOrderDestinations()
S
59 3 14
saveShipmentData()
S
61 3 13
getOrderLabels()
S
58 2 16
downloadOrGetUrlOfLabels()
S
56 2 16
exportByOrderId()
S
63 3 10
setFeedbackForClient()
S
65 3 9
addTrackTraceNoteToOrder()
S
64 3 9
getDropOffPoint()
S
68 3 7
modal_dialog()
S
66 3 8
printLabels()
S
62 2 13
exportAccordingToMode()
S
61 2 12
addConsignments()
S
67 2 8
getShipmentBarcodeFromApi()
S
65 2 8
addFakeMultiCollo()
S
72 2 5
init_api()
S
68 2 7
getDigitalStampRangeOptions()
S
67 2 7
getPackageTypeHuman()
S
70 2 6
getUserAgents()
S
68 1 7
modal_success_page()
S
77 1 4
getSetting()
S
80 1 3
getChosenOrDefaultShipmentOption()
S
78 1 3
__construct()
S
70 1 6