SubscriptionController

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total76 of 1,49794%29 of 13578%239816342029
extractSubscriptionFromSubscriptionObject(Map)36920%7112%457901
subscriptionFromPriceId(String)21416%7112%453401
extractSubscriptionFromInvoice(Map)93680%3562%352901
lambda$handleSubscriptionUpdated$2(Map, String, Boolean, Number, User)35094%2675%2511201
lambda$handleInvoicePaymentSucceeded$0(Map, double, String, User)34593%2466%2411001
toPublicSubscriptionId(Subscription)571%1150%120101
handleInvoicePaymentSucceeded(Map)6598%2675%2511401
applySubscriptionResult(User, String, Map)6298%11191%1711401
changeSubscription(SubscriptionController.ChangeSubscriptionRequest, Principal)282100%12395%11307401
cancelSubscription(Principal)146100%10100%0603901
reactivateSubscription(Principal)118100%1787%1502801
startSubscription(SubscriptionController.StartSubscriptionRequest, Principal)109100%4100%0302401
confirmSubscription(SubscriptionController.ConfirmSubscriptionRequest, Principal)99100%4100%0302201
createSetupIntent(SubscriptionController.SetupIntentRequest, Principal)86100%2100%0201801
handleWebhook(String, String)76100%5100%0501701
getStatus(Principal)54100%8100%0501101
handleSubscriptionUpdated(Map)32100%n/a010601
lambda$handleSubscriptionDeleted$3(User)23100%n/a010701
shouldApplyScholarPromo(User, String)20100%2675%250401
lambda$handleInvoicePaymentFailed$4(User)17100%n/a010501
withPublicSubscription(Map, Subscription)14100%n/a010301
handleSubscriptionDeleted(Map)13100%n/a010301
handleInvoicePaymentFailed(Map)13100%n/a010301
SubscriptionController(StripeService, UserRepository, OdooService)12100%n/a010101
getUser(Principal)9100%n/a010201
toSubscriptionEnum(String)8100%2100%020101
lambda$getUser$5()5100%n/a010101
lambda$handleInvoicePaymentSucceeded$1(String)5100%n/a010101
static {...}4100%n/a010101