Mollie_WC_Plugin D

Total Complexity 176
Dependencies 28
Dependents 33
Total lines 1,485
Lines of code 928
Logical lines of code 441
Comment lines 264
Methods 52
Properties 2

Methods 52

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