Total Complexity | 29 |
Dependencies | 12 |
Dependents | 2 |
Total lines | 346 |
Lines of code | 216 |
Logical lines of code | 133 |
Comment lines | 62 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle() | 37 | 9 | 84 | |
getInvoiceDataFromCheckoutSession() | 46 | 5 | 41 | |
setMetadataAndDescriptionForPaymentIntent() | 60 | 4 | 12 | |
findOrCreateStripeCustomer() | 54 | 3 | 23 | |
setMetadataAndDescriptionForStripeCustomer() | 63 | 4 | 10 | |
fireAfterCheckoutPaymentAction() | 56 | 1 | 18 | |
fireAfterCheckoutSaveCardAction() | 59 | 1 | 14 | |
setTransactionDataFromContext() | 67 | 1 | 8 | |
getContextDataFromStripeObjects() | 70 | 1 | 6 |