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-auction/src/model.rs
Items
const LOT_ID_PREFIX const BID_ID_PREFIX const MIN_DURATION_MS const MAX_DURATION_MS const MAX_SCHEDULE_AHEAD_MS const PRESET_DURATION_DAYS const DEFAULT_PAYMENT_WINDOW_H const MIN_PAYMENT_WINDOW_H const MAX_PAYMENT_WINDOW_H const MIN_EXTEND_WINDOW_S const MAX_EXTEND_WINDOW_S const MAX_TOTAL_EXTENSION_MS enum LotState impl LotState enum Phase impl Phase enum Outcome impl Outcome enum Settlement impl Settlement struct Terms impl Terms struct BidRecord struct Leader struct Standing impl Standing struct Lot enum Audience impl Lot
Functions
By call-graph weight (PageRank; 1.0 is the average function). 37 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| format_minorsrc/model.rs:375 | fn | 5 | 2 | 6 | 0 | 3.3 | |
| bid_increment_minorsrc/model.rs:41 | fn | 14 | 10 | 5 | 0 | 3 | |
| termssrc/model.rs:569 | fn | 11 | 1 | 9 | 0 | 1.9 | |
| bidsrc/model.rs:581 | fn | 12 | 1 | 8 | 0 | 1.5 | |
| standingsrc/model.rs:284 | fn | 44 | 8 | 9 | 1 | 1.4 | |
| parse_majorsrc/model.rs:383 | fn | 21 | 11 | 2 | 0 | 1.4 | |
| Lot::phasesrc/model.rs:449 | method | 9 | 7 | 10 | 0 | 1.3 | |
| Standing::leader_idsrc/model.rs:277 | method | 3 | 1 | 6 | 0 | 1 | |
| Standing::minimum_next_bidsrc/model.rs:269 | method | 7 | 2 | 2 | 1 | 0.8 | |
| Lot::settlement_atsrc/model.rs:461 | method | 6 | 3 | 4 | 0 | 0.8 | |
| extended_endsrc/model.rs:357 | fn | 11 | 5 | 2 | 0 | 0.7 | |
| public_historysrc/model.rs:539 | fn | 25 | 3 | 2 | 0 | 0.7 | |
| buy_now_opensrc/model.rs:370 | fn | 3 | 2 | 3 | 0 | 0.7 | |
| check_bidsrc/model.rs:331 | fn | 23 | 6 | 2 | 2 | 0.6 | |
| Lot::audiencesrc/model.rs:468 | method | 7 | 5 | 1 | 0 | 0.6 | |
| Settlement::as_strsrc/model.rs:158 | method | 8 | 4 | 3 | 0 | 0.6 | |
| LotState::parsesrc/model.rs:76 | method | 8 | 4 | 1 | 0 | 0.6 | |
| Outcome::parsesrc/model.rs:131 | method | 9 | 5 | 1 | 0 | 0.6 | |
| Settlement::parsesrc/model.rs:167 | method | 9 | 5 | 1 | 0 | 0.6 | |
| Outcome::has_winnersrc/model.rs:141 | method | 3 | 1 | 1 | 0 | 0.5 | |
| Outcome::as_strsrc/model.rs:122 | method | 8 | 4 | 1 | 0 | 0.5 | |
| LotState::as_strsrc/model.rs:68 | method | 7 | 3 | 0 | 0 | 0.5 | |
| Phase::as_strsrc/model.rs:99 | method | 9 | 5 | 0 | 0 | 0.5 | |
| Terms::validatesrc/model.rs:193 | method | 35 | 12 | 0 | 0 | 0.5 | |
| Lot::to_jsonsrc/model.rs:479 | method | 56 | 4 | 0 | 3 | 0.5 | |
| increments_follow_the_price_tierssrc/model.rs:595 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| a_lone_bidder_holds_the_lead_at_the_starting_pricesrc/model.rs:605 | fn | 7 | 1 | 0 | 5 | 0.5 | |
| the_price_is_the_second_maximum_plus_one_incrementsrc/model.rs:614 | fn | 6 | 1 | 0 | 4 | 0.5 | |
| the_price_never_passes_the_leaders_maximumsrc/model.rs:622 | fn | 6 | 1 | 0 | 4 | 0.5 | |
| equal_maximums_go_to_whoever_reached_it_firstsrc/model.rs:630 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| a_higher_maximum_takes_the_leadsrc/model.rs:640 | fn | 6 | 1 | 0 | 4 | 0.5 | |
| a_reserve_lifts_the_price_when_met_and_holds_the_sale_when_notsrc/model.rs:648 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| bids_below_the_minimum_and_leader_lowballs_are_refusedsrc/model.rs:662 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| anti_sniping_extends_only_late_moving_bids_and_stays_cappedsrc/model.rs:676 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| terms_are_checked_against_ebays_rulessrc/model.rs:689 | fn | 18 | 1 | 0 | 1 | 0.5 | |
| money_inputs_parse_to_minor_unitssrc/model.rs:709 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| public_history_hides_every_maximum_but_the_viewers_ownsrc/model.rs:721 | fn | 13 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.