TCG_Plugin D

Total Complexity 239
Dependencies 9
Dependents 1
Total lines 1,585
Lines of code 1,086
Logical lines of code 575
Comment lines 204
Methods 62
Properties 5

Methods 62

Method Rating Maintainability Complexity Lines of code
updateShippingPropertiesFromCheckout()
C
36 25 71
updateShippingPackages()
B
38 20 66
compareCachedQuoteRequest()
A
43 15 47
createShipment()
A
39 9 65
getSuburbFormFieldMarkUp()
A
42 9 52
printWaybillFromOrder()
A
45 8 40
addAddressFields()
S
45 6 43
setCollectionFromOrderListingPage()
S
48 6 36
getCachedQuoteResponse()
S
55 7 19
updateShippingPropertiesOnOrder()
S
50 6 30
sendPdf()
S
51 5 28
emptyUploadsDirectory()
S
60 6 12
hasTcgShippingMethod()
S
57 5 17
getShippingMethodSettings()
S
58 5 16
flyer_fits_flyer_filter()
S
58 5 15
getRateName()
S
59 5 14
getShippingCustomProperties()
S
62 5 12
localizeJSVariables()
S
60 5 12
collectActionAndPrintWaybillOnOrderlistContent()
S
54 4 23
updateCachedQuoteResponse()
S
57 4 18
addExtraEmailFields()
S
57 4 16
savePdfWaybill()
S
53 3 21
updateCachedQuoteRequest()
S
58 3 17
clearCachedQuote()
S
59 3 17
__construct()
S
44 1 47
add_shipping_selector()
S
60 3 16
getCartTotalCost()
S
65 4 8
checkIfQuoteIsEmpty()
S
59 3 15
removeCachedShippingPackages()
S
61 3 12
addIihtcgFields()
S
61 3 12
addCustomJavascriptForOrderList()
S
63 1 40
getSuburbs()
S
57 2 17
setShippingCustomProperties()
S
63 3 10
createShipmentOnOrderProcessing()
S
65 3 9
addSendCollectionActionToOrderMetaBox()
S
62 3 10
addPrintWayBillActionToOrderMetaBox()
S
62 3 10
addCollectionActionAndPrintWaybillToOrderList()
S
63 3 10
clearShippingCustomProperties()
S
67 3 8
addShippingMetaToOrder()
S
52 1 29
addDisclaimer()
S
65 2 14
addCustomAdimCssForOrderList()
S
71 1 16
ajax_notice_handler()
S
69 2 6
getShippingMethodParameters()
S
70 2 6
getShippingInstanceId()
S
65 2 8
test_ajax()
S
67 1 8
overrideAddressFields()
S
82 1 3
registerJavascriptResources()
S
72 1 5
registerCSSResources()
S
81 1 3
createShipmentFromOrder()
S
81 1 3
intiatePluginActivation()
S
77 1 4
getPlacesByName()
S
76 1 4
registerModel()
S
80 1 3
registerShippingMethod()
S
65 1 10
initializeShipLogicApiPayload()
S
73 1 5
setShipLogicApiPayload()
S
81 1 3
getPassword()
S
80 1 3
getEmailAddress()
S
80 1 3
getAccessKey()
S
80 1 3
getAccessKeyId()
S
80 1 3
getShipLogicApi()
S
82 1 3
redirectToPrintWaybillUrl()
S
76 1 4
initializeShipLogicApi()
S
69 1 6