TCG_Plugin D

Total Complexity 251
Dependencies 9
Dependents 1
Total lines 1,642
Lines of code 1,114
Logical lines of code 596
Comment lines 215
Methods 63
Properties 4

Methods 63

Method Rating Maintainability Complexity Lines of code
updateShippingPropertiesFromCheckout()
C
34 28 82
updateShippingPackages()
B
38 20 66
compareCachedQuoteRequest()
A
43 15 47
createShipment()
A
34 12 89
getSuburbFormFieldMarkUp()
A
42 9 52
updateShippingPropertiesOnOrder()
A
47 8 33
addAddressFields()
S
46 6 42
getCachedQuoteResponse()
S
55 7 19
sendPdf()
S
51 5 28
add_shipping_selector()
S
54 5 27
emptyUploadsDirectory()
S
60 6 12
courier_my_order_to_me_validation()
S
56 5 17
applyPackageDescriptions()
S
57 5 17
hasTcgShippingMethod()
S
57 5 17
getShippingMethodSettings()
S
58 5 16
getCartTotalCost()
S
58 5 15
flyer_fits_flyer_filter()
S
58 5 15
getRateName()
S
59 5 14
addTCGReturnButton()
S
48 3 43
getShippingCustomProperties()
S
62 5 12
localizeJSVariables()
S
60 5 12
checkIfQuoteIsEmpty()
S
55 4 20
updateCachedQuoteResponse()
S
57 4 18
addExtraEmailFields()
S
57 4 16
savePdfWaybill()
S
53 3 22
get_message_json()
S
57 3 17
clearCachedQuote()
S
59 3 17
updateCachedQuoteRequest()
S
58 3 17
recalculateShippingOnadminRecalculate()
S
57 3 15
addIihtcgFields()
S
61 3 12
removeCachedShippingPackages()
S
61 3 12
__construct()
S
45 1 40
getSuburbs()
S
57 2 17
createShipmentOnOrderProcessing()
S
67 3 8
addPrintWayBillActionToOrderMetaBox()
S
64 3 9
addSendCollectionActionToOrderMetaBox()
S
65 3 8
clearShippingCustomProperties()
S
67 3 8
setShippingCustomProperties()
S
63 3 10
addShippingMetaToOrder()
S
52 1 29
addDisclaimer()
S
65 2 14
redirectToPrintWaybillUrl()
S
60 2 13
ajax_notice_handler()
S
69 2 6
is_woocommerce_blocks_checkout()
S
69 2 7
getShippingInstanceId()
S
66 2 8
getShippingMethodParameters()
S
70 2 6
test_ajax()
S
67 1 8
createShipmentFromOrder()
S
79 1 3
enableReturnButton()
S
77 1 9
overrideAddressFields()
S
82 1 3
registerJavascriptResources()
S
72 1 5
registerCSSResources()
S
81 1 3
intiatePluginActivation()
S
77 1 4
getShipLogicApi()
S
82 1 3
registerModel()
S
80 1 3
initializeShipLogicApi()
S
64 1 10
getAccessToken()
S
80 1 3
getLogging()
S
80 1 3
setShipLogicApiPayload()
S
81 1 3
initializeShipLogicApiPayload()
S
73 1 5
registerShippingMethod()
S
65 1 10
invertDeliveryAddress()
S
67 1 9
getAccessKeyId()
S
80 1 3
getAccessKey()
S
80 1 3