Mollie_WC_Gateway_Abstract D

Total Complexity 322
Dependencies 14
Dependents 4
Total lines 2,699
Lines of code 1,658
Logical lines of code 778
Comment lines 515
Methods 71
Properties 5

Methods 71

Method Rating Maintainability Complexity Lines of code
process_payment()
C
29 21 121
processChargebacks()
C
28
18 158
is_available()
B
36 19 79
onOrderReceivedTitle()
B
39 18 61
processAsMollieOrder()
B
36 16 83
onWebhookAction()
B
35 14 85
updateOrderStatus()
B
44 16 46
getReturnRedirectUrlForOrder()
A
44 13 44
processRefunds()
A
35 8 98
processAsMolliePayment()
A
45 11 41
isValidForUse()
A
46 10 40
displayInstructions()
A
49 9 32
getSiteUrlWithLanguage()
A
52 8 24
orderNeedsPayment()
S
52 7 24
process_refund()
S
49 6 32
admin_options()
S
49 6 30
paymentTypeBasedOnProducts()
S
50 5 32
getReturnUrl()
S
49 5 30
getWebhookUrl()
S
49 5 30
getInstructions()
S
56 5 21
onOrderReceivedText()
S
56 5 18
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
processPaymentForMollie()
S
52 3 29
get_transaction_url()
S
63 4 9
isAvailableMethodInCheckout()
S
60 3 13
thankyou_page()
S
63 3 11
mollieComponentsFields()
S
59 2 18
getSupportedCurrencies()
S
50 1 33
processUpdateStateRefund()
S
61 2 15
paymentTypeBasedOnGateway()
S
68 3 7
saveMollieInfo()
S
60 2 13
updateStateRefund()
S
59 1 17
validate_multi_select_countries_field()
S
77 2 3
_initIcon()
S
69 2 7
get_icon()
S
74 2 4
getPaymentMethodTitle()
S
69 2 7
paymentTestModeNote()
S
71 2 5
handlePaidOrderWebhook()
S
62 2 10
iconFactory()
S
69 2 7
hasFieldsIfMollieComponentsIsEnabled()
S
79 2 3
getUserMollieCustomerId()
S
73 2 4
isMollieComponentsEnabled()
S
69 2 7
activePaymentObject()
S
64 2 10
isOrderPaidAndProcessed()
S
65 2 9
getSelectedIssuer()
S
73 2 4
getInitialOrderStatus()
S
70 2 7
isValidApiKeyProvided()
S
69 2 6
isOrderPaidByOtherGateway()
S
65 2 9
renderNote()
S
61 1 14
paymentConfirmationAfterCoupleOfDays()
S
82 1 3
_initDescription()
S
75 1 4
paymentObject()
S
81 1 3
getIconUrl()
S
75 1 5
getSettingsDescription()
S
100 1 0
getDefaultTitle()
S
100 1 0
getAmountValue()
S
73 1 6
isCurrencySupported()
S
79 1 3
includeMollieComponentsFields()
S
71 1 6
lockIcon()
S
75 1 5
getProcessPaymentRedirect()
S
81 1 3
getMollieMethod()
S
70 1 7
isPartialRefund()
S
78 1 3
appendOrderArgumentsToUrl()
S
66 1 10
getMollieMethodId()
S
100 1 0
mollieLogo()
S
75 1 5
getDefaultDescription()
S
100 1 0