Total Complexity | 26 |
Dependencies | 12 |
Dependents | 2 |
Total lines | 335 |
Lines of code | 205 |
Logical lines of code | 125 |
Comment lines | 62 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle() | 38 | 6 | 75 | |
getInvoiceDataFromCheckoutSession() | 46 | 5 | 41 | |
setMetadataAndDescriptionForPaymentIntent() | 60 | 4 | 12 | |
findOrCreateStripeCustomer() | 54 | 3 | 23 | |
setMetadataAndDescriptionForStripeCustomer() | 63 | 4 | 10 | |
fireAfterCheckoutPaymentAction() | 56 | 1 | 17 | |
fireAfterCheckoutSaveCardAction() | 60 | 1 | 13 | |
setTransactionDataFromContext() | 67 | 1 | 8 | |
getContextDataFromStripeObjects() | 70 | 1 | 6 |