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-donation/src/model.rs
Items
const KIND_DONATION struct DonationLine struct Donation impl Donation
Functions
By call-graph weight (PageRank; 1.0 is the average function). 23 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| new_donation_idsrc/model.rs:58 | fn | 3 | 1 | 2 | 1 | 1.7 | |
| list_donationssrc/model.rs:188 | fn | 5 | 1 | 8 | 2 | 1.5 | |
| parse_donationsrc/model.rs:199 | fn | 16 | 1 | 2 | 4 | 1.5 | |
| load_donationsrc/model.rs:184 | fn | 3 | 1 | 9 | 3 | 1.4 | |
| legacy_donation_idsrc/model.rs:67 | fn | 3 | 1 | 4 | 1 | 1.4 | |
| upsert_donationsrc/model.rs:171 | fn | 12 | 5 | 11 | 3 | 1.3 | |
| Donation::newsrc/model.rs:132 | method | 16 | 1 | 10 | 1 | 1.3 | |
| graphsrc/model.rs:221 | fn | 3 | 1 | 7 | 0 | 1 | |
| linesrc/model.rs:225 | fn | 3 | 1 | 7 | 0 | 1 | |
| has_legacy_idsrc/model.rs:72 | fn | 3 | 1 | 4 | 1 | 0.8 | |
| Donation::donor_identitysrc/model.rs:150 | method | 3 | 1 | 3 | 0 | 0.7 | |
| find_donation_for_itemsrc/model.rs:195 | fn | 3 | 1 | 2 | 1 | 0.6 | |
| rekey_legacy_donationssrc/model.rs:82 | fn | 19 | 2 | 2 | 4 | 0.6 | |
| Donation::est_total_value_minorsrc/model.rs:156 | method | 3 | 1 | 1 | 0 | 0.6 | |
| donation_ref_idsrc/model.rs:27 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| Donation::propssrc/model.rs:160 | method | 9 | 1 | 0 | 0 | 0.5 | |
| donation_round_trip_with_lines_and_estimate_totalsrc/model.rs:230 | fn | 14 | 1 | 0 | 7 | 0.5 | |
| donor_ref_wins_identity_and_lookup_by_item_finds_rootsrc/model.rs:246 | fn | 11 | 1 | 0 | 6 | 0.5 | |
| a_new_id_is_drawn_at_random_and_a_legacy_id_still_openssrc/model.rs:259 | fn | 21 | 3 | 0 | 8 | 0.5 | |
| rekeying_moves_a_legacy_donation_to_a_random_id_and_retires_the_old_onesrc/model.rs:282 | fn | 26 | 2 | 0 | 9 | 0.5 | |
| validation_rejects_empty_donor_and_empty_linessrc/model.rs:310 | fn | 5 | 1 | 0 | 4 | 0.5 | |
| list_is_newest_firstsrc/model.rs:317 | fn | 8 | 1 | 0 | 5 | 0.5 | |
| persisted_owner_cannot_change_or_claim_a_legacy_recordsrc/model.rs:327 | fn | 16 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.