1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-shop/src/connection/subscription_actions/tests.rs
Items
const OWNER const CLIENT const STRANGER const SHOP const DAY struct SessionAccount impl AuthenticatedSessionAccountOrigin for SessionAccount struct Fixture impl Fixture const CLIENT_A const CLIENT_B impl Fixture
Functions
By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Fixture::callsrc/connection/subscription_actions/tests.rs:86 | method | 7 | 2 | 7 | 3 | 6.4 | |
| Fixture::as_accountsrc/connection/subscription_actions/tests.rs:68 | method | 5 | 1 | 2 | 0 | 2.6 | |
| Fixture::anonymoussrc/connection/subscription_actions/tests.rs:80 | method | 5 | 1 | 1 | 0 | 2.3 | |
| Fixture::newsrc/connection/subscription_actions/tests.rs:43 | method | 24 | 1 | 19 | 2 | 2 | |
| Fixture::plansrc/connection/subscription_actions/tests.rs:94 | method | 18 | 1 | 17 | 1 | 1.9 | |
| Fixture::subscribesrc/connection/subscription_actions/tests.rs:113 | method | 4 | 1 | 13 | 1 | 1.4 | |
| Fixture::subscriptionsrc/connection/subscription_actions/tests.rs:126 | method | 3 | 1 | 9 | 0 | 1.1 | |
| Fixture::simulatesrc/connection/subscription_actions/tests.rs:118 | method | 7 | 1 | 7 | 1 | 0.9 | |
| Fixture::subscribe_forsrc/connection/subscription_actions/tests.rs:687 | method | 7 | 1 | 4 | 1 | 0.8 | |
| Fixture::entitledsrc/connection/subscription_actions/tests.rs:130 | method | 9 | 1 | 4 | 1 | 0.7 | |
| Fixture::webhooksrc/connection/subscription_actions/tests.rs:140 | method | 7 | 1 | 3 | 1 | 0.7 | |
| Fixture::with_sessionsrc/connection/subscription_actions/tests.rs:74 | method | 5 | 1 | 2 | 2 | 0.6 | |
| capturesrc/connection/subscription_actions/tests.rs:21 | fn | 4 | 1 | 2 | 1 | 0.6 | |
| Fixture::client_entitlementsrc/connection/subscription_actions/tests.rs:695 | method | 7 | 1 | 1 | 1 | 0.6 | |
| topicssrc/connection/subscription_actions/tests.rs:26 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| SessionAccount::authenticated_session_account_idsrc/connection/subscription_actions/tests.rs:33 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| plans_are_owner_gated_and_pin_a_recurring_railsrc/connection/subscription_actions/tests.rs:150 | fn | 33 | 1 | 0 | 2 | 0.5 | |
| subscribe_is_signed_in_idempotent_and_one_mandate_per_plansrc/connection/subscription_actions/tests.rs:185 | fn | 27 | 1 | 0 | 6 | 0.5 | |
| access_expiry_does_not_open_another_billing_agreementsrc/connection/subscription_actions/tests.rs:214 | fn | 21 | 2 | 0 | 6 | 0.5 | |
| stale_checkout_is_held_for_reconciliation_even_without_a_saved_urlsrc/connection/subscription_actions/tests.rs:237 | fn | 19 | 1 | 0 | 5 | 0.5 | |
| signed_checkout_expiry_releases_one_new_attempt_and_replay_cannot_end_itsrc/connection/subscription_actions/tests.rs:258 | fn | 24 | 1 | 0 | 6 | 0.5 | |
| reservation_rejects_a_second_id_until_the_first_contract_is_terminalsrc/connection/subscription_actions/tests.rs:284 | fn | 14 | 1 | 0 | 4 | 0.5 | |
| lifecycle_updates_cannot_overwrite_saved_benefitssrc/connection/subscription_actions/tests.rs:300 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| legacy_agreements_block_catalog_benefit_edits_but_not_new_pricessrc/connection/subscription_actions/tests.rs:312 | fn | 29 | 1 | 0 | 5 | 0.5 | |
| full_lifecycle_through_signed_events_on_the_preview_railsrc/connection/subscription_actions/tests.rs:343 | fn | 116 | 1 | 0 | 12 | 0.5 | |
| only_the_subscriber_and_owner_touch_a_subscriptionsrc/connection/subscription_actions/tests.rs:461 | fn | 51 | 2 | 0 | 5 | 0.5 | |
| events_on_the_wrong_route_or_for_unknown_subscriptions_are_handledsrc/connection/subscription_actions/tests.rs:514 | fn | 67 | 2 | 0 | 6 | 0.5 | |
| a_plan_unlocks_its_protected_download_while_subscribedsrc/connection/subscription_actions/tests.rs:583 | fn | 53 | 1 | 0 | 14 | 0.5 | |
| subscription_pages_render_for_the_right_viewerssrc/connection/subscription_actions/tests.rs:638 | fn | 42 | 1 | 0 | 5 | 0.5 | |
| only_the_shop_owner_subscribes_a_clientsrc/connection/subscription_actions/tests.rs:705 | fn | 57 | 3 | 0 | 7 | 0.5 | |
| two_clients_on_one_plan_get_two_subscriptions_and_a_retry_reuses_eachsrc/connection/subscription_actions/tests.rs:764 | fn | 34 | 1 | 0 | 6 | 0.5 | |
| billing_for_a_client_opens_for_the_owner_and_never_for_a_key_holdersrc/connection/subscription_actions/tests.rs:800 | fn | 27 | 3 | 0 | 4 | 0.5 | |
| entitlement_resolves_for_the_client_key_only_through_the_ownersrc/connection/subscription_actions/tests.rs:829 | fn | 28 | 1 | 0 | 7 | 0.5 | |
| preview_rail_invoices_settle_only_in_the_shops_preview_creditsrc/connection/subscription_actions/tests.rs:862 | fn | 35 | 1 | 0 | 11 | 0.5 |
Source not readable from this process.