Mollie_WC_ApplePayButton_AjaxRequests A

Total Complexity 66
Dependencies 11
Dependents 2
Total lines 805
Lines of code 514
Logical lines of code 224
Comment lines 185
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
calculateTotalsSingleProduct()
A
43 8 54
updateShippingContact()
A
46 7 43
createWcOrder()
A
44 6 50
calculateTotalsCartPage()
S
48 5 40
cartShippingMethods()
S
49 5 35
createWcOrderFromCart()
S
45 4 46
customerAddress()
S
55 5 24
validateMerchant()
S
48 3 33
cartCalculationResults()
S
59 4 15
whichCalculateTotals()
S
59 3 17
updateShippingMethod()
S
61 3 13
bootstrapAjaxRequest()
S
50 1 42
addShippingMethodsToOrder()
S
52 2 27
updateOrderPostMeta()
S
61 1 14
getShippingPackages()
S
60 1 13
createOrderFromCart()
S
68 1 7
isNonceValid()
S
70 1 7
processOrderPayment()
S
73 1 5
__construct()
S
81 1 3
addAddressesToOrder()
S
65 1 9
createWCCountries()
S
77 1 4
applePayDataObjectHttp()
S
81 1 3
validationApiWalletsEndpointCall()
S
67 1 10