WCMP_Export D

Total Complexity 199
Dependencies 49
Dependents 6
Total lines 1,611
Lines of code 904
Logical lines of code 505
Comment lines 368
Methods 47
Properties 5

Methods 47

Method Rating Maintainability Complexity Lines of code
export()
A
40 13 57
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 46
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
getAllowedPackageType()
S
63 4 10
getShipmentStatusName()
S
49 2 30
sanitize_posted_array()
S
65 4 9
filterOrderDestinations()
S
59 3 14
saveShipmentData()
S
61 3 13
downloadOrGetUrlOfLabels()
S
56 2 16
getOrderLabels()
S
58 2 16
setFeedbackForClient()
S
66 3 9
exportByOrderId()
S
63 3 10
modal_dialog()
S
66 3 8
addTrackTraceNoteToOrder()
S
64 3 9
printLabels()
S
62 2 13
exportAccordingToMode()
S
61 2 12
addFakeMultiCollo()
S
72 2 5
init_api()
S
68 2 7
getShipmentBarcodeFromApi()
S
65 2 8
getDigitalStampRangeOptions()
S
67 2 7
getPackageTypeHuman()
S
70 2 6
addConsignments()
S
67 2 8
modal_success_page()
S
77 1 4
getUserAgents()
S
68 1 7
getSetting()
S
80 1 3
getChosenOrDefaultShipmentOption()
S
78 1 3
__construct()
S
70 1 6