Mollie_WC_Gateway_Abstract D

Total Complexity 328
Dependencies 16
Dependents 5
Total lines 2,724
Lines of code 1,694
Logical lines of code 798
Comment lines 511
Methods 80
Properties 5

Methods 80

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