Mollie_WC_ApplePayButton_AjaxRequests A

Total Complexity 62
Dependencies 10
Dependents 2
Total lines 746
Lines of code 489
Logical lines of code 201
Comment lines 161
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
updateShippingContact()
A
45 7 49
calculateTotalsSingleProduct()
A
45 6 49
cartCalculationResults()
S
49 6 32
calculateTotalsCartPage()
S
48 5 40
cartShippingMethods()
S
49 5 35
customerAddress()
S
55 5 24
validateMerchant()
S
46 3 41
responseAfterSuccessfulResult()
S
49 3 35
bootstrapAjaxRequest()
S
47 1 52
updateShippingMethod()
S
57 3 19
whichCalculateTotals()
S
59 3 17
addAddressesToOrder()
S
57 2 20
createWcOrder()
S
57 2 18
reloadCart()
S
73 2 5
emptyCurrentCart()
S
70 2 6
getShippingPackages()
S
60 1 13
createWCCountries()
S
77 1 4
validationApiWalletsEndpointCall()
S
67 1 10
isNonceValid()
S
70 1 7
applePayDataObjectHttp()
S
81 1 3
createWcOrderFromCart()
S
69 1 7
__construct()
S
81 1 3