MM_WPFS_Admin D

Total Complexity 411
Dependencies 42
Dependents 7
Total lines 3,143
Lines of code 2,369
Logical lines of code 1,216
Comment lines 411
Methods 95
Properties 5

Methods 95

Method Rating Maintainability Complexity Lines of code
getPaymentMethodStyleForPayment()
B
35 17 101
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
deleteSubscription()
S
46 5 40
deletePayment()
S
46 5 40
deleteDonation()
S
46 5 40
refundPayment()
S
46 5 40
refundDonation()
S
46 5 40
capturePayment()
S
46 5 40
deleteSavedCard()
S
46 5 40
saveEmailOptions()
S
47 5 38
saveEmailTemplates()
S
47 5 38
saveFormsOptions()
S
47 5 38
saveFormsAppearance()
S
47 5 38
saveInlineSaveCardForm()
S
48 5 34
saveInlinePaymentForm()
S
48 5 34
saveCheckoutPaymentForm()
S
48 5 34
saveInlineSubscriptionForm()
S
48 5 34
saveCheckoutSubscriptionForm()
S
48 5 34
saveInlineDonationForm()
S
48 5 34
saveCheckoutDonationForm()
S
48 5 34
saveCheckoutSaveCardForm()
S
48 5 34
saveStripeAccount()
S
48 5 33
saveMyAccount()
S
48 5 33
saveWordpressDashboard()
S
48 5 33
saveLogs()
S
48 5 33
saveSecurity()
S
48 5 33
createForm()
S
48 5 33
formatIntervalLabelAdmin()
S
52 5 25
getSubscriberStatusLabel()
S
56 5 19
deleteForm()
S
49 4 29
emptyLogs()
S
51 4 27
sendTestEmail()
S
50 4 27
getSubscriptionAmountLabel()
S
57 4 18
getDonationStatusLabel()
S
58 4 16
saveEmailOptionsSettings()
S
58 4 16
getSubscriptionDetails()
S
53 3 24
getPaymentDetails()
S
53 3 24
getDonationDetails()
S
53 3 24
getSavedCardDetails()
S
53 3 24
hooks()
S
42 1 53
getRecurringProductsForSelector()
S
54 3 21
wpfp_coupon_notice()
S
58 3 17
decodeCustomFieldsJSON()
S
64 4 10
getOnetimeProducts()
S
57 2 18
getTaxRatesForSelector()
S
56 2 18
getTaxRates()
S
57 2 18
getRecurringProducts()
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
getSubscriberStatusLabelByForm()
S
68 2 7
getApiModeLabelFromInteger()
S
72 2 5
getApiModeLabelFromString()
S
72 2 5
getApiModeIntegerFromString()
S
78 2 3
getLocalizedApiMode()
S
72 2 5
buildStripeBaseUrlStatic()
S
69 2 7
__construct()
S
60 1 14
translateLabelAdmin()
S
79 1 3
updateInlineSaveCardFormEmailTemplates()
S
75 1 4
updateCheckoutSaveCardFormEmailTemplates()
S
75 1 4
updateInlinePaymentFormEmailTemplates()
S
75 1 4
updateCheckoutPaymentFormEmailTemplates()
S
75 1 4
updateInlineSubscriptionFormEmailTemplates()
S
75 1 4
updateCheckoutSubscriptionFormEmailTemplates()
S
75 1 4
updateInlineDonationFormEmailTemplates()
S
75 1 4
updateCheckoutDonationFormEmailTemplates()
S
75 1 4
buildStripeProductsUrlStatic()
S
73 1 5
buildStripeBaseUrl()
S
80 1 3
buildStripeSubscriptionUrl()
S
72 1 5
buildStripePaymentUrl()
S
72 1 5
buildStripeCustomerUrl()
S
72 1 5
saveStripeSettings()
S
65 1 9
saveMyAccountSettings()
S
64 1 10
saveWordpressDashboardSettings()
S
67 1 8
saveLogSettings()
S
69 1 7
saveSecuritySettings()
S
65 1 9
saveEmailTemplatesSettings()
S
79 1 3
saveFormsOptionsSettings()
S
71 1 6
saveFormsAppearanceSettings()
S
80 1 3
fullstripe_handle_wpfs_event()
S
83 1 3