TCG_Plugin D

Total Complexity 243
Dependencies 9
Dependents 1
Total lines 1,576
Lines of code 1,069
Logical lines of code 575
Comment lines 201
Methods 61
Properties 4

Methods 61

Method Rating Maintainability Complexity Lines of code
updateShippingPropertiesFromCheckout()
C
34 28 82
updateShippingPackages()
B
38 20 66
compareCachedQuoteRequest()
A
43 15 47
createShipment()
A
35 12 85
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
hasTcgShippingMethod()
S
57 5 17
getShippingMethodSettings()
S
58 5 16
flyer_fits_flyer_filter()
S
58 5 15
getCartTotalCost()
S
58 5 15
getRateName()
S
59 5 14
localizeJSVariables()
S
60 5 12
getShippingCustomProperties()
S
62 5 12
addTCGReturnButton()
S
49 3 41
courier_my_order_to_me_validation()
S
60 5 11
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
updateCachedQuoteRequest()
S
58 3 17
clearCachedQuote()
S
59 3 17
removeCachedShippingPackages()
S
61 3 12
addIihtcgFields()
S
61 3 12
__construct()
S
46 1 39
getSuburbs()
S
57 2 17
setShippingCustomProperties()
S
63 3 10
createShipmentOnOrderProcessing()
S
67 3 8
addPrintWayBillActionToOrderMetaBox()
S
64 3 9
clearShippingCustomProperties()
S
67 3 8
addSendCollectionActionToOrderMetaBox()
S
65 3 8
addDisclaimer()
S
65 2 14
addShippingMetaToOrder()
S
52 1 29
redirectToPrintWaybillUrl()
S
60 2 13
is_woocommerce_blocks_checkout()
S
69 2 7
getShippingMethodParameters()
S
70 2 6
getShippingInstanceId()
S
66 2 8
ajax_notice_handler()
S
69 2 6
invertDeliveryAddress()
S
67 1 9
test_ajax()
S
67 1 8
enableReturnButton()
S
77 1 9
getAccessKey()
S
80 1 3
getAccessKeyId()
S
80 1 3
getShipLogicApi()
S
82 1 3
createShipmentFromOrder()
S
79 1 3
registerModel()
S
80 1 3
initializeShipLogicApiPayload()
S
73 1 5
setShipLogicApiPayload()
S
81 1 3
getLogging()
S
80 1 3
getAccessToken()
S
80 1 3
initializeShipLogicApi()
S
64 1 10
overrideAddressFields()
S
82 1 3
registerJavascriptResources()
S
72 1 5
registerCSSResources()
S
81 1 3
intiatePluginActivation()
S
77 1 4
registerShippingMethod()
S
65 1 10