Mollie_WC_Gateway_Abstract D

Total Complexity 294
Dependencies 14
Dependents 5
Total lines 2,576
Lines of code 1,560
Logical lines of code 727
Comment lines 506
Methods 71
Properties 5

Methods 71

Method Rating Maintainability Complexity Lines of code
process_payment()
C
30 20 121
processChargebacks()
B
29
17 154
is_available()
B
36 18 77
processAsMollieOrder()
B
36 15 82
onWebhookAction()
A
36 13 81
onOrderReceivedTitle()
A
42 15 49
getReturnRedirectUrlForOrder()
A
44 13 44
processAsMolliePayment()
A
45 11 41
processRefunds()
A
36 7 94
isValidForUse()
A
46 10 40
getSiteUrlWithLanguage()
A
52 8 24
updateOrderStatus()
A
53 8 23
displayInstructions()
S
52 7 24
process_refund()
S
49 6 32
admin_options()
S
49 6 30
orderNeedsPayment()
S
54 6 20
paymentTypeBasedOnProducts()
S
50 5 32
getReturnUrl()
S
49 5 30
getWebhookUrl()
S
49 5 30
getInstructions()
S
56 5 21
multiSelectCountry()
S
48 4 33
get_recurring_total()
S
58 5 17
debugGiftcardDetails()
S
51 4 32
__construct()
S
50 4 27
init_form_fields()
S
43 2 54
getFilters()
S
53 4 22
onOrderReceivedText()
S
60 4 14
processPaymentForMollie()
S
52 3 29
isAvailableMethodInCheckout()
S
60 3 13
thankyou_page()
S
63 3 11
mollieComponentsFields()
S
59 2 18
getSupportedCurrencies()
S
50 1 33
paymentTypeBasedOnGateway()
S
68 3 7
updateStateRefund()
S
59 1 17
processUpdateStateRefund()
S
66 2 10
paymentTestModeNote()
S
71 2 5
iconFactory()
S
69 2 7
isMollieComponentsEnabled()
S
69 2 7
get_icon()
S
74 2 4
_initIcon()
S
69 2 7
hasFieldsIfMollieComponentsIsEnabled()
S
79 2 3
get_transaction_url()
S
71 2 5
activePaymentObject()
S
64 2 10
validate_multi_select_countries_field()
S
77 2 3
getPaymentMethodTitle()
S
69 2 7
isValidApiKeyProvided()
S
69 2 6
getSelectedIssuer()
S
73 2 4
getInitialOrderStatus()
S
70 2 7
renderNote()
S
61 1 14
saveMollieInfo()
S
70 1 6
getIconUrl()
S
75 1 5
handlePaidOrderWebhook()
S
68 1 6
getProcessPaymentRedirect()
S
81 1 3
getAmountValue()
S
73 1 6
getUserMollieCustomerId()
S
75 1 4
_initDescription()
S
75 1 4
getMollieMethod()
S
70 1 7
getMollieMethodId()
S
100 1 0
isPartialRefund()
S
78 1 3
getDefaultTitle()
S
100 1 0
paymentConfirmationAfterCoupleOfDays()
S
82 1 3
mollieLogo()
S
75 1 5
lockIcon()
S
75 1 5
isCurrencySupported()
S
79 1 3
includeMollieComponentsFields()
S
71 1 6
isOrderPaidAndProcessed()
S
79 1 3
isOrderPaidByOtherGateway()
S
79 1 3
paymentObject()
S
81 1 3
getDefaultDescription()
S
100 1 0
getSettingsDescription()
S
100 1 0
appendOrderArgumentsToUrl()
S
66 1 10