1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-app-payment/src/subscription/fake.rs
Items
struct FakeSubscriptionProvider impl SubscriptionProvider for FakeSubscriptionProvider struct FakeSubscriptionRef impl FakeSubscriptionRef struct FakeSubscriptionState struct FakeInvoice
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| short_hashsrc/subscription/fake.rs:25 | fn | 3 | 1 | 5 | 1 | 5.5 | |
| envelopesrc/subscription/fake.rs:172 | fn | 11 | 1 | 4 | 1 | 2.3 | |
| fake_customer_idsrc/subscription/fake.rs:37 | fn | 3 | 1 | 2 | 1 | 1.1 | |
| fake_subscription_idsrc/subscription/fake.rs:33 | fn | 3 | 1 | 2 | 1 | 1 | |
| fake_invoice_idsrc/subscription/fake.rs:43 | fn | 3 | 1 | 1 | 1 | 0.8 | |
| fake_checkout_session_idsrc/subscription/fake.rs:29 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| subscription_eventsrc/subscription/fake.rs:215 | fn | 45 | 1 | 2 | 1 | 0.6 | |
| invoice_eventsrc/subscription/fake.rs:262 | fn | 31 | 1 | 2 | 2 | 0.6 | |
| next_periodsrc/subscription/fake.rs:168 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| checkout_completed_eventsrc/subscription/fake.rs:184 | fn | 14 | 1 | 1 | 1 | 0.6 | |
| checkout_expired_eventsrc/subscription/fake.rs:199 | fn | 14 | 1 | 1 | 1 | 0.6 | |
| FakeSubscriptionProvider::create_checkoutsrc/subscription/fake.rs:48 | trait impl | 25 | 1 | 0 | 2 | 0.5 | |
| FakeSubscriptionProvider::set_cancel_at_period_endsrc/subscription/fake.rs:74 | trait impl | 22 | 1 | 0 | 0 | 0.5 | |
| FakeSubscriptionProvider::portal_sessionsrc/subscription/fake.rs:97 | trait impl | 17 | 1 | 0 | 0 | 0.5 | |
| FakeSubscriptionRef::metadatasrc/subscription/fake.rs:128 | method | 8 | 1 | 0 | 0 | 0.5 | |
| FakeSubscriptionRef::provider_subscription_idsrc/subscription/fake.rs:137 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FakeSubscriptionRef::customer_idsrc/subscription/fake.rs:141 | method | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.