Mollie_WC_Helper_Settings A

Total Complexity 75
Dependencies 10
Dependents 3
Total lines 709
Lines of code 379
Logical lines of code 179
Comment lines 158
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
getMollieMethods()
A
42 8 49
extractValidLanguageCode()
S
54 7 23
addGlobalSettingsFields()
S
36 2 93
mergeSettings()
S
56 7 18
updateMerchantIdOnApiKeyChanges()
S
55 5 19
browserLanguage()
S
56 5 18
getPluginStatus()
S
49 3 32
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
warnAboutRequiredCheckoutFieldForKlarna()
S
60 3 14
getPaymentConfirmationCheckTime()
S
63 2 11
updateGatewaySettings()
S
68 2 7
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