1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.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). 27 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Fixture::callsrc/connection/subscription_actions/tests.rs:86 | method | 7 | 2 | 7 | 3 | 5.3 | |
| Fixture::as_accountsrc/connection/subscription_actions/tests.rs:68 | method | 5 | 1 | 2 | 0 | 2.3 | |
| Fixture::anonymoussrc/connection/subscription_actions/tests.rs:80 | method | 5 | 1 | 1 | 0 | 2 | |
| Fixture::newsrc/connection/subscription_actions/tests.rs:43 | method | 24 | 1 | 12 | 2 | 1.4 | |
| Fixture::plansrc/connection/subscription_actions/tests.rs:94 | method | 18 | 1 | 11 | 1 | 1.4 | |
| Fixture::subscribesrc/connection/subscription_actions/tests.rs:113 | method | 4 | 1 | 6 | 1 | 0.9 | |
| Fixture::simulatesrc/connection/subscription_actions/tests.rs:118 | method | 7 | 1 | 6 | 1 | 0.8 | |
| Fixture::subscribe_forsrc/connection/subscription_actions/tests.rs:544 | method | 7 | 1 | 4 | 1 | 0.8 | |
| Fixture::subscriptionsrc/connection/subscription_actions/tests.rs:126 | method | 3 | 1 | 4 | 0 | 0.7 | |
| Fixture::entitledsrc/connection/subscription_actions/tests.rs:130 | method | 9 | 1 | 3 | 1 | 0.7 | |
| Fixture::webhooksrc/connection/subscription_actions/tests.rs:140 | method | 7 | 1 | 2 | 1 | 0.6 | |
| Fixture::with_sessionsrc/connection/subscription_actions/tests.rs:74 | method | 5 | 1 | 2 | 2 | 0.6 | |
| Fixture::client_entitlementsrc/connection/subscription_actions/tests.rs:552 | method | 7 | 1 | 1 | 1 | 0.6 | |
| capturesrc/connection/subscription_actions/tests.rs:21 | fn | 4 | 1 | 1 | 1 | 0.5 | |
| 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 | |
| full_lifecycle_through_signed_events_on_the_preview_railsrc/connection/subscription_actions/tests.rs:214 | fn | 116 | 1 | 0 | 12 | 0.5 | |
| only_the_subscriber_and_owner_touch_a_subscriptionsrc/connection/subscription_actions/tests.rs:332 | fn | 51 | 2 | 0 | 5 | 0.5 | |
| events_on_the_wrong_route_or_for_unknown_subscriptions_are_handledsrc/connection/subscription_actions/tests.rs:385 | fn | 67 | 2 | 0 | 6 | 0.5 | |
| a_plan_unlocks_its_protected_download_while_subscribedsrc/connection/subscription_actions/tests.rs:454 | fn | 39 | 1 | 0 | 13 | 0.5 | |
| subscription_pages_render_for_the_right_viewerssrc/connection/subscription_actions/tests.rs:495 | fn | 42 | 1 | 0 | 6 | 0.5 | |
| only_the_shop_owner_subscribes_a_clientsrc/connection/subscription_actions/tests.rs:562 | 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:621 | 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:657 | fn | 29 | 3 | 0 | 4 | 0.5 | |
| entitlement_resolves_for_the_client_key_only_through_the_ownersrc/connection/subscription_actions/tests.rs:688 | fn | 30 | 1 | 0 | 7 | 0.5 |
Source not readable from this process.