Mollie_WC_Plugin D

Total Complexity 196
Dependencies 29
Dependents 33
Total lines 1,566
Lines of code 982
Logical lines of code 475
Comment lines 272
Methods 52
Properties 2

Methods 52

Method Rating Maintainability Complexity Lines of code
maybeDisableApplePayGateway()
A
48 14 31
cancelOrderAtMollie()
A
43 13 44
shipAndCaptureOrderAtMollie()
A
43 12 45
addGateways()
A
51 13 26
maybeDisableBankTransferGateway()
A
52 11 23
enqueueComponentsAssets()
A
41 7 65
checkPendingPaymentOrdersExpiration()
A
43 8 49
debug()
A
52 9 23
init()
S
37 3 90
disableMollieOnPaymentMethodChange()
S
60 7 12
orderByRequest()
S
54 6 22
setOrderPaidByOtherGateway()
S
55 6 18
enqueueApplePayDirectScripts()
S
55 5 22
onMollieReturn()
S
50 4 29
addNotice()
S
58 4 16
maybeLetWCCancelOrder()
S
60 4 14
registerFrontendScripts()
S
44 1 59
setHttpResponseCode()
S
61 4 13
onOrderDetails()
S
62 4 12
mollieOptionsProductTabContent()
S
47 2 42
enqueueFrontendScripts()
S
63 4 11
initDb()
S
54 3 22
mollieApplePayDirectHandling()
S
58 3 15
voucherEnabledHooks()
S
50 2 27
schedulePendingPaymentOrdersExpirationCheck()
S
62 3 11
voucherFieldInVariations()
S
55 2 20
maybeTestModeNotice()
S
57 2 18
saveVoucherFieldVariations()
S
66 3 7
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
addPluginActionLinks()
S
63 2 10
voucherTaxonomyFieldOnCreatePage()
S
61 1 15
voucherBulkEditSave()
S
66 2 8
addOrderNoteForCancelledLineItems()
S
64 1 11
addOrderNoteForRefundCreated()
S
64 1 11
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