MM_WPFS_Admin D

Total Complexity 392
Dependencies 42
Dependents 7
Total lines 3,012
Lines of code 2,256
Logical lines of code 1,161
Comment lines 395
Methods 94
Properties 5

Methods 94

Method Rating Maintainability Complexity Lines of code
gatherSubscriptionDetails()
B
36 18 72
gatherDonationDetails()
B
36 18 71
gatherPaymentDetails()
B
37 17 67
gatherSavedCardDetails()
B
40 17 56
voidOrRefundPayment()
A
44 13 45
createStripeConnectAccount()
A
40 10 67
captureChargeAndPaymentIntent()
A
43 11 50
voidOrRefundDonation()
A
48 9 36
getPaymentStatusLabel()
A
51 8 28
cancelSubscription()
A
44 6 46
cancelDonation()
S
45 6 44
cloneForm()
S
45 6 41
getSubscriptionIntervalLabel()
S
47 6 40
addStripeAccount()
S
55 7 17
clearStripeSettings()
S
48 6 31
refundDonation()
S
46 5 40
refundPayment()
S
46 5 40
deleteSubscription()
S
46 5 40
deleteSavedCard()
S
46 5 40
capturePayment()
S
46 5 40
deleteDonation()
S
46 5 40
deletePayment()
S
46 5 40
saveEmailTemplates()
S
47 5 38
saveEmailOptions()
S
47 5 38
saveFormsOptions()
S
47 5 38
saveFormsAppearance()
S
47 5 38
saveCheckoutSaveCardForm()
S
48 5 34
saveCheckoutDonationForm()
S
48 5 34
saveCheckoutPaymentForm()
S
48 5 34
saveInlineSaveCardForm()
S
48 5 34
saveInlineDonationForm()
S
48 5 34
saveCheckoutSubscriptionForm()
S
48 5 34
saveInlineSubscriptionForm()
S
48 5 34
saveInlinePaymentForm()
S
48 5 34
saveMyAccount()
S
48 5 33
saveStripeAccount()
S
48 5 33
saveSecurity()
S
48 5 33
saveLogs()
S
48 5 33
saveWordpressDashboard()
S
48 5 33
createForm()
S
48 5 33
formatIntervalLabelAdmin()
S
52 5 25
getSubscriberStatusLabel()
S
56 5 19
deleteForm()
S
49 4 29
sendTestEmail()
S
50 4 27
emptyLogs()
S
51 4 27
getSubscriptionAmountLabel()
S
57 4 18
getDonationStatusLabel()
S
58 4 16
saveEmailOptionsSettings()
S
58 4 16
getPaymentDetails()
S
53 3 24
getSavedCardDetails()
S
53 3 24
getSubscriptionDetails()
S
53 3 24
getDonationDetails()
S
53 3 24
hooks()
S
42 1 52
getRecurringProductsForSelector()
S
54 3 21
decodeCustomFieldsJSON()
S
64 4 10
getRecurringProducts()
S
57 2 18
getTaxRates()
S
57 2 18
getTaxRatesForSelector()
S
56 2 18
getOnetimeProducts()
S
57 2 18
wpfp_config_notice()
S
59 2 16
updateFormEmailTemplates()
S
64 3 9
isSupportedRecurringPrice()
S
66 3 9
getOnetimeProductsForSelector()
S
60 2 13
getApiModeLabelFromString()
S
72 2 5
getSubscriberStatusLabelByForm()
S
68 2 7
getApiModeLabelFromInteger()
S
72 2 5
buildStripeBaseUrlStatic()
S
69 2 7
getLocalizedApiMode()
S
72 2 5
getApiModeIntegerFromString()
S
78 2 3
__construct()
S
60 1 14
updateInlineSaveCardFormEmailTemplates()
S
75 1 4
translateLabelAdmin()
S
79 1 3
saveFormsAppearanceSettings()
S
80 1 3
fullstripe_handle_wpfs_event()
S
83 1 3
saveFormsOptionsSettings()
S
71 1 6
getPaymentMethodStyleForPayment()
S
72 1 6
saveEmailTemplatesSettings()
S
79 1 3
updateCheckoutDonationFormEmailTemplates()
S
75 1 4
buildStripePaymentUrl()
S
72 1 5
buildStripeSubscriptionUrl()
S
72 1 5
saveStripeSettings()
S
65 1 9
buildStripeBaseUrl()
S
80 1 3
buildStripeProductsUrlStatic()
S
73 1 5
saveMyAccountSettings()
S
64 1 10
saveWordpressDashboardSettings()
S
67 1 8
buildStripeCustomerUrl()
S
72 1 5
updateInlineDonationFormEmailTemplates()
S
75 1 4
saveLogSettings()
S
69 1 7
updateCheckoutSubscriptionFormEmailTemplates()
S
75 1 4
updateInlineSubscriptionFormEmailTemplates()
S
75 1 4
saveSecuritySettings()
S
65 1 9
updateCheckoutPaymentFormEmailTemplates()
S
75 1 4
updateInlinePaymentFormEmailTemplates()
S
75 1 4
updateCheckoutSaveCardFormEmailTemplates()
S
75 1 4