Mollie_WC_Gateway_Abstract D

Total Complexity 323
Dependencies 16
Dependents 5
Total lines 2,696
Lines of code 1,671
Logical lines of code 791
Comment lines 508
Methods 79
Properties 5

Methods 79

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
processAsMolliePayment()
A
45 11 41
processRefunds()
A
36 7 94
getReturnRedirectUrlForOrder()
A
44 10 45
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 40
displayInstructions()
S
52 7 24
processAdminOptionSurcharge()
S
54 7 22
process_refund()
S
49 6 32
name_fixed_fee_percentage()
S
58 7 15
admin_options()
S
49 6 30
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
getSupportedCurrencies()
S
50 1 33
mollieComponentsFields()
S
59 2 18
name_fixed_fee()
S
64 3 9
name_percentage()
S
66 3 8
init_form_fields()
S
57 1 18
updateStateRefund()
S
59 1 17
getReturnUrl()
S
57 1 17
getInitialOrderStatus()
S
70 2 7
hasFieldsIfMollieComponentsIsEnabled()
S
79 2 3
process_admin_options()
S
69 2 7
_initIcon()
S
69 2 7
get_icon()
S
74 2 4
getPaymentMethodTitle()
S
69 2 7
validate_multi_select_countries_field()
S
77 2 3
paymentTestModeNote()
S
71 2 5
processUpdateStateRefund()
S
66 2 10
isMollieComponentsEnabled()
S
69 2 7
iconFactory()
S
69 2 7
get_transaction_url()
S
71 2 5
isValidApiKeyProvided()
S
69 2 6
getWebhookUrl()
S
58 1 15
getSelectedIssuer()
S
73 2 4
activePaymentObject()
S
64 2 10
renderNote()
S
61 1 14
appendOrderArgumentsToUrl()
S
64 1 11
mollieLogo()
S
75 1 5
_initDescription()
S
77 1 4
getProcessPaymentRedirect()
S
81 1 3
getIconUrl()
S
75 1 5
getMollieMethod()
S
70 1 7
isCurrencySupported()
S
79 1 3
lockIcon()
S
75 1 5
isOrderPaidAndProcessed()
S
79 1 3
paymentObject()
S
81 1 3
isOrderPaidByOtherGateway()
S
79 1 3
paymentConfirmationAfterCoupleOfDays()
S
82 1 3
getMollieMethodId()
S
100 1 0
getUserMollieCustomerId()
S
75 1 4
getAmountValue()
S
73 1 6
includeMollieComponentsFields()
S
71 1 6
saveMollieInfo()
S
70 1 6
getDefaultTitle()
S
100 1 0
getSettingsDescription()
S
100 1 0
getDefaultDescription()
S
100 1 0
isPartialRefund()
S
78 1 3
handlePaidOrderWebhook()
S
68 1 6