Skip to content
1 viewer

rust 1,860,550 · typescript 235,740 · javascript 132,956 · python 20,426 · 6,409 files · digest 3d1ed3bf6fd3 · built in 1.5 s · crystals off

plan_purchase

cre8_app_event::connection::purchase::plan_purchase

fn · cre8-app-event · crates/cre8-app-event/src/connection/purchase.rs:103 pub(crate) documented

78lines
16cyclomatic
2max nesting
51statements
1? exits
5params
6callers
8callees
1 (p77)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (6 direct callers, 8 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 3 sitespath · 1 sitepath · 1 sitename · 3 sitespath · 2 sitesname · 4 sitesname · 3 sitesname · 1 sitename · 4 sitespath · 2 sitespath · 2 sitesname · 1 sitepath · 3 sitesmethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitemethod · 1 sitename · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitename · 1 siteticket_reserve_handlerapp-event · cc 14cre8_app_event::connection::ticket_reserve_handlerreserving_writes_every_seat…app-event · cc 1cre8_app_event::connection::purchase::tests::reserving_writes_every_seat_and_the_promo_tally_in_one_stepreserve_seatsapp-event · cc 3cre8_app_event::connection::purchase::reserve_seatsseveral_seats_keep_seat_zer…app-event · cc 2cre8_app_event::connection::purchase::tests::several_seats_keep_seat_zero_and_derive_the_resttoo_few_seats_refuse_severa…app-event · cc 1cre8_app_event::connection::purchase::tests::too_few_seats_refuse_several_and_waitlist_onea_promo_code_discounts_each…app-event · cc 3cre8_app_event::connection::purchase::tests::a_promo_code_discounts_each_new_seat_and_takes_one_use_per_seatnew_seats_respect_the_sales…app-event · cc 1cre8_app_event::connection::purchase::tests::new_seats_respect_the_sales_windowa_seat_passed_on_is_neither…app-event · cc 1cre8_app_event::connection::purchase::tests::a_seat_passed_on_is_neither_the_old_holders_nor_written_overplan_purchaseapp-event · cc 16cre8_app_event::connection::purchase::plan_purchasederive_seat_ticket_idapp-event · cc 2cre8_app_event::model::derive_seat_ticket_idfind_promoapp-event · cc 2cre8_app_event::sales::find_promobuild_reservation_ticketapp-event · cc 5cre8_app_event::connection::build_reservation_ticketPromoCode::refusalapp-event · cc 8cre8_app_event::sales::PromoCode::refusalsales_refusalapp-event · cc 3cre8_app_event::sales::sales_refusalseat_priceapp-event · cc 1cre8_app_event::sales::seat_priceholder_seat_slotsapp-event · cc 11cre8_app_event::connection::purchase::holder_seat_slotsseats_leftapp-event · cc 2cre8_app_event::sales::seats_leftBarBuilder::finalizeapp-provider · cc 2cre8_app_provider::sink::BarBuilder::finalizederive_ticket_idapp-event · cc 1cre8_app_event::model::derive_ticket_idTicket::newapp-event · cc 1cre8_app_event::model::Ticket::newHostZone::local_textapp-schedule · cc 2cre8_app_schedule::tz::HostZone::local_textoccupied_countapp-event · cc 2cre8_app_event::model::occupied_countnormalize_promo_codeapp-event · cc 1cre8_app_event::sales::normalize_promo_codeTicketTier::is_freeapp-event · cc 1cre8_app_event::model::TicketTier::is_freetier_occupied_countapp-event · cc 3cre8_app_event::model::tier_occupied_countSalesState::ofapp-event-api · cc 5cre8_app_event_api::SalesState::ofPromoCode::seat_discountapp-event · cc 3cre8_app_event::sales::PromoCode::seat_discount

Control flow

Source not readable from this process.

Callees 8

Source not readable from this process.