Mollie_WC_Plugin D

Total Complexity 200
Dependencies 33
Dependents 35
Total lines 1,635
Lines of code 1,057
Logical lines of code 506
Comment lines 270
Methods 58
Properties 2

Methods 58

Method Rating Maintainability Complexity Lines of code
maybeDisableApplePayGateway()
A
48 14 31
shipAndCaptureOrderAtMollie()
A
44 11 42
enqueuePayPalButtonScripts()
A
47 11 37
cancelOrderAtMollie()
A
46 10 37
maybeDisableBankTransferGateway()
A
52 11 22
enqueueComponentsAssets()
A
41 7 65
init()
A
36 3 95
cancelOrderOnExpiryDate()
A
47 7 34
disableMollieOnPaymentMethodChange()
S
60 7 12
orderByRequest()
S
54 6 21
checkPendingPaymentOrdersExpiration()
S
49 5 31
debug()
S
57 6 15
registerFrontendScripts()
S
40 1 87
enqueueApplePayDirectScripts()
S
55 5 22
onMollieReturn()
S
50 4 29
handleExpiryDateCancelation()
S
57 4 18
addNotice()
S
58 4 16
maybeLetWCCancelOrder()
S
60 4 14
setHttpResponseCode()
S
61 4 13
enqueueFrontendScripts()
S
61 4 12
onOrderDetails()
S
62 4 12
mollieOptionsProductTabContent()
S
47 2 42
initDb()
S
54 3 22
voucherEnabledHooks()
S
50 2 27
mollieApplePayDirectHandling()
S
62 3 11
schedulePendingPaymentOrdersExpirationCheck()
S
62 3 11
addGateways()
S
63 3 11
voucherFieldInVariations()
S
55 2 20
maybeTestModeNotice()
S
57 2 18
saveVoucherFieldVariations()
S
66 3 7
molliePayPalButtonHandling()
S
64 3 10
mollieReturnRedirect()
S
66 3 8
setOrderPaidByOtherGateway()
S
62 3 10
saveProductVoucherOptionFields()
S
62 2 13
voucherTaxonomyFieldOnEditPage()
S
56 1 19
voucherBulkEditInput()
S
59 1 18
getOrderLinesHelper()
S
68 2 8
voucherBulkEditSave()
S
66 2 8
extractRemoteItemsIds()
S
70 2 6
voucherTaxonomyFieldOnCreatePage()
S
61 1 15
disableSEPAInCheckout()
S
71 2 6
getSettingsHelper()
S
68 2 8
getApiHelper()
S
68 2 8
getDataHelper()
S
68 2 8
getStatusHelper()
S
68 2 8
getPaymentFactoryHelper()
S
70 2 7
getPaymentObject()
S
69 2 7
addOrderNoteForCancelledLineItems()
S
64 1 11
addOrderNoteForRefundCreated()
S
64 1 11
gatewaySurchargeHandling()
S
80 1 3
getPluginFile()
S
78 1 3
maybeFixSubscriptions()
S
76 1 4
addPluginActionLinks()
S
66 1 8
getPluginPath()
S
77 1 3
getPluginUrl()
S
77 1 3
addVoucherVariationData()
S
72 1 5
voucherTaxonomyCustomMetaSave()
S
75 1 4
__construct()
S
98 1 1