WCMP_Export D

Total Complexity 219
Dependencies 54
Dependents 7
Total lines 1,786
Lines of code 1,018
Logical lines of code 582
Comment lines 398
Methods 53
Properties 5

Methods 53

Method Rating Maintainability Complexity Lines of code
export()
B
38 15 68
addShipments()
A
38 11 71
prepareReturnShipmentData()
A
41 12 54
getShipmentIds()
A
47 13 35
getShippingClass()
A
47 9 36
isActiveMethod()
A
54 9 23
getPackageTypeFromShippingMethod()
A
48 8 35
getPackageTypeFromOrder()
S
50 7 29
saveOrderCollection()
S
42 5 51
getShipmentData()
S
52 6 25
exportReturn()
S
46 5 38
generateCustomsDeclaration()
S
47 5 37
wc_flat_rate_fee()
S
55 6 21
convertSizeToCm()
S
54 5 22
addReturnInTheBox()
S
52 4 28
getAllNotesForOrder()
S
53 4 23
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
getShippingMethod()
S
61 4 12
getPackageTypeAsString()
S
62 4 11
updateOrderMetaByCollection()
S
52 3 25
getLegacyShippingMethod()
S
59 3 16
getShipmentStatusName()
S
49 2 30
getAllowedPackageType()
S
63 4 10
filterOrderDestinations()
S
59 3 14
saveShipmentData()
S
61 3 13
getOrderLabels()
S
58 2 16
downloadOrGetUrlOfLabels()
S
56 2 16
addTrackTraceNoteToOrder()
S
64 3 9
modal_dialog()
S
66 3 8
getDropOffPoint()
S
68 3 7
exportByOrderId()
S
63 3 10
sanitizeOptions()
S
65 3 9
onlyIntegersInArray()
S
68 3 6
setFeedbackForClient()
S
65 3 9
addValidOrderNote()
S
60 2 15
exportAccordingToMode()
S
59 2 14
printLabels()
S
62 2 13
init_api()
S
68 2 7
getShipmentBarcodeFromApi()
S
65 2 8
addFakeMultiCollo()
S
72 2 5
getPackageTypeHuman()
S
70 2 6
getDigitalStampRangeOptions()
S
67 2 7
addConsignments()
S
67 2 8
getChosenOrDefaultShipmentOption()
S
78 1 3
getUserAgents()
S
68 1 7
getSetting()
S
80 1 3
modal_success_page()
S
77 1 4
saveOrderNotes()
S
65 1 10
__construct()
S
70 1 6