Mollie_WC_Helper_Settings B

Total Complexity 82
Dependencies 10
Dependents 3
Total lines 731
Lines of code 390
Logical lines of code 193
Comment lines 162
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
getMollieMethods()
A
40 11 55
addGlobalSettingsFields()
A
36 3 93
extractValidLanguageCode()
S
54 7 23
mergeSettings()
S
56 7 18
updateMerchantIdOnApiKeyChanges()
S
55 5 19
browserLanguage()
S
56 5 18
getPluginStatus()
S
49 3 32
warnWoo3xRequiredForKlarna()
S
60 4 13
warnAboutRequiredCheckoutFieldForKlarna()
S
60 4 13
checkDirectDebitStatus()
S
61 4 12
getPaymentLocale()
S
64 4 10
getCurrentLocale()
S
67 4 7
getApiKey()
S
64 4 9
getSettingId()
S
59 3 14
getPaymentConfirmationCheckTime()
S
63 2 11
getPaymentLocaleSetting()
S
67 2 8
checkMollieBankTransferNotBACS()
S
64 2 10
isTestModeEnabled()
S
78 1 3
updateMerchantIdAfterApiKeyChanges()
S
75 1 4
getLogsUrl()
S
80 1 3
getGlobalSettingsUrl()
S
79 1 3
isDebugEnabled()
S
78 1 3
shouldStoreCustomer()
S
78 1 3
getOrderStatusCancelledPayments()
S
79 1 3
getGatewaySettingsUrl()
S
78 1 3