MM_WPFS_CheckoutSubscriptionChargeHandler A

Total Complexity 56
Dependencies 11
Dependents 2
Total lines 477
Lines of code 288
Logical lines of code 184
Comment lines 85
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
updateSubscriptionToRunning()
S
60 6 13
getCouponCode()
S
62 6 12
setPricingPlaceholders()
S
44 3 48
extractPricingDataFromLineItem()
S
50 4 30
handle()
S
45 3 44
processStripeEvents()
S
62 5 12
getInvoiceDataFromCheckoutSession()
S
52 4 26
isSetupFeeLineItem()
S
63 4 11
extractPopupFormSubmit()
S
64 4 10
setMetadataForSubscription()
S
67 3 8
retrieveStripeEventIDs()
S
65 3 10
getLatestInvoice()
S
60 2 15
fireAfterSubscriptionAction()
S
54 1 20
extractPaymentMethod()
S
69 2 7
updateTransactionData()
S
71 2 5
getContextDataFromStripeObjects()
S
70 1 6
setTransactionDataFromContext()
S
76 1 4
retrieveStripeEvent()
S
80 1 3
getLatestInvoiceUrl()
S
76 1 4