MM_WPFS_Admin D

Total Complexity 476
Dependencies 43
Dependents 7
Total lines 3,599
Lines of code 2,732
Logical lines of code 1,341
Comment lines 457
Methods 105
Properties 5

Methods 105

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
getSubscriptionIntervalLabel()
A
43 10 56
createProduct()
A
48 10 28
formatIntervalLabelAdmin()
A
46 9 42
voidOrRefundDonation()
A
48 9 36
previewForm()
A
48 8 37
toggleLicense()
A
47 8 34
wpfp_config_notice()
A
46 7 46
getPaymentStatusLabel()
A
51 8 28
cancelSubscription()
A
44 6 46
cancelDonation()
S
45 6 44
cloneForm()
S
45 6 41
adminBarNotice()
S
46 6 41
clearStripeSettings()
S
48 6 33
addStripeAccount()
S
55 7 17
refundDonation()
S
46 5 40
deleteSubscription()
S
46 5 40
deleteSavedCard()
S
46 5 40
capturePayment()
S
46 5 40
refundPayment()
S
46 5 40
deleteDonation()
S
46 5 40
deletePayment()
S
46 5 40
saveFormsOptions()
S
47 5 38
saveEmailTemplates()
S
47 5 38
saveEmailOptions()
S
47 5 38
saveFormsAppearance()
S
47 5 38
saveInlineSaveCardForm()
S
48 5 34
saveCheckoutPaymentForm()
S
48 5 34
saveInlineDonationForm()
S
48 5 34
saveCheckoutSaveCardForm()
S
48 5 34
saveInlinePaymentForm()
S
48 5 34
saveCheckoutSubscriptionForm()
S
48 5 34
saveInlineSubscriptionForm()
S
48 5 34
saveCheckoutDonationForm()
S
48 5 34
saveSecurity()
S
48 5 33
saveWordpressDashboard()
S
48 5 33
saveMyAccount()
S
48 5 33
createForm()
S
48 5 33
saveStripeAccount()
S
48 5 33
saveLogs()
S
48 5 33
maybeRedirect()
S
59 6 14
enqueue_inline_script()
S
45 2 73
getSubscriberStatusLabel()
S
56 5 19
deleteForm()
S
49 4 29
triggerWebhook()
S
51 4 27
sendTestEmail()
S
50 4 27
emptyLogs()
S
51 4 27
hooks()
S
39 1 63
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
getRecurringProductsForSelector()
S
54 3 21
wpfp_coupon_notice()
S
58 3 17
decodeCustomFieldsJSON()
S
64 4 10
adminBarNoticeCSS()
S
64 3 13
getTaxRatesForSelector()
S
56 2 18
getOnetimeProducts()
S
57 2 18
getRecurringProducts()
S
57 2 18
getTaxRates()
S
57 2 18
wpfp_dismiss_notice()
S
65 3 8
isSupportedRecurringPrice()
S
66 3 9
updateFormEmailTemplates()
S
64 3 9
getOnetimeProductsForSelector()
S
60 2 13
buildStripeBaseUrlStatic()
S
69 2 7
getLocalizedApiMode()
S
72 2 5
getApiModeIntegerFromString()
S
78 2 3
getApiModeLabelFromString()
S
72 2 5
activate()
S
73 2 5
getApiModeLabelFromInteger()
S
72 2 5
getSubscriberStatusLabelByForm()
S
68 2 7
saveWordpressDashboardSettings()
S
59 1 14
__construct()
S
60 1 14
saveMyAccountSettings()
S
63 1 11
translateLabelAdmin()
S
79 1 3
fullstripe_handle_wpfs_event()
S
83 1 3
updateInlineSaveCardFormEmailTemplates()
S
75 1 4
updateCheckoutSaveCardFormEmailTemplates()
S
75 1 4
updateInlinePaymentFormEmailTemplates()
S
75 1 4
saveStripeSettings()
S
65 1 9
updateInlineSubscriptionFormEmailTemplates()
S
75 1 4
saveFormsAppearanceSettings()
S
80 1 3
updateCheckoutSubscriptionFormEmailTemplates()
S
75 1 4
saveFormsOptionsSettings()
S
69 1 7
updateInlineDonationFormEmailTemplates()
S
75 1 4
saveEmailTemplatesSettings()
S
79 1 3
updateCheckoutDonationFormEmailTemplates()
S
75 1 4
saveSecuritySettings()
S
65 1 9
buildStripeProductsUrlStatic()
S
73 1 5
buildStripeBaseUrl()
S
80 1 3
buildStripeSubscriptionUrl()
S
72 1 5
saveLogSettings()
S
69 1 7
buildStripePaymentUrl()
S
72 1 5
buildStripeCustomerUrl()
S
72 1 5
updateCheckoutPaymentFormEmailTemplates()
S
75 1 4