MM_WPFS_Admin D

Total Complexity 350
Dependencies 42
Dependents 7
Total lines 3,196
Lines of code 2,348
Logical lines of code 1,037
Comment lines 386
Methods 92
Properties 5

Methods 92

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 14 46
captureChargeAndPaymentIntent()
A
43 11 50
voidOrRefundDonation()
A
47 10 37
createStripeConnectAccount()
A
42 8 56
getPaymentStatusLabel()
A
51 8 28
getSubscriptionIntervalLabel()
S
47 6 41
cancelSubscription()
S
43 5 55
cancelDonation()
S
43 5 53
cloneForm()
S
45 5 44
deleteSavedCard()
S
45 4 49
capturePayment()
S
45 4 49
deleteSubscription()
S
45 4 49
deletePayment()
S
45 4 49
refundPayment()
S
45 4 49
refundDonation()
S
45 4 49
deleteDonation()
S
45 4 49
saveEmailOptions()
S
46 4 46
saveEmailTemplates()
S
46 4 46
saveFormsOptions()
S
46 4 46
saveFormsAppearance()
S
46 4 46
formatIntervalLabelAdmin()
S
52 5 25
saveCheckoutSaveCardForm()
S
48 4 37
saveCheckoutDonationForm()
S
48 4 37
saveInlineSaveCardForm()
S
48 4 37
saveCheckoutSubscriptionForm()
S
48 4 37
saveInlinePaymentForm()
S
48 4 37
saveInlineSubscriptionForm()
S
48 4 37
saveInlineDonationForm()
S
48 4 37
saveCheckoutPaymentForm()
S
48 4 37
saveMyAccount()
S
48 4 36
saveStripeAccount()
S
48 4 36
createForm()
S
48 4 36
saveSecurity()
S
48 4 36
saveWordpressDashboard()
S
48 4 36
saveLogs()
S
48 4 36
getSubscriberStatusLabel()
S
56 5 19
addStripeAccount()
S
61 5 11
getSubscriptionAmountLabel()
S
57 4 18
deleteForm()
S
49 3 32
saveEmailOptionsSettings()
S
58 4 16
getDonationStatusLabel()
S
58 4 16
emptyLogs()
S
51 3 30
getSavedCardDetails()
S
53 3 24
getPaymentDetails()
S
53 3 24
getSubscriptionDetails()
S
53 3 24
getDonationDetails()
S
53 3 24
getRecurringProductsForSelector()
S
54 3 21
hooks()
S
43 1 47
decodeCustomFieldsJSON()
S
64 4 10
sendTestEmail()
S
54 2 21
getRecurringProducts()
S
57 2 18
getTaxRates()
S
57 2 18
getTaxRatesForSelector()
S
56 2 18
getOnetimeProducts()
S
57 2 18
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
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
buildStripeBaseUrl()
S
80 1 3
saveStripeSettings()
S
65 1 9
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