1 viewer
rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off
crates/cre8-app-prediction/src/ballot_store.rs
Items
const KIND_RESOLUTION_BALLOT enum BallotStatus struct StoredBallot impl StoredBallot
Functions
By call-graph weight (PageRank; 1.0 is the average function). 20 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| derive_ballot_idsrc/ballot_store.rs:38 | fn | 5 | 1 | 4 | 0 | 3.5 | |
| StoredBallot::newsrc/ballot_store.rs:72 | method | 13 | 1 | 7 | 1 | 2 | |
| list_ballotssrc/ballot_store.rs:147 | fn | 10 | 3 | 3 | 4 | 1.9 | |
| list_open_ballotssrc/ballot_store.rs:158 | fn | 6 | 1 | 5 | 2 | 1.9 | |
| ballot_vidsrc/ballot_store.rs:32 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| upsert_ballotsrc/ballot_store.rs:112 | fn | 26 | 4 | 4 | 2 | 1.2 | |
| parse_ballotsrc/ballot_store.rs:188 | fn | 16 | 1 | 2 | 0 | 1.1 | |
| StoredBallot::has_votedsrc/ballot_store.rs:105 | method | 3 | 1 | 3 | 0 | 1 | |
| find_open_ballot_for_eventsrc/ballot_store.rs:168 | fn | 5 | 2 | 3 | 2 | 1 | |
| load_ballotsrc/ballot_store.rs:139 | fn | 7 | 1 | 2 | 4 | 0.9 | |
| with_ballot_mutsrc/ballot_store.rs:176 | fn | 11 | 1 | 3 | 3 | 0.9 | |
| StoredBallot::as_ballotsrc/ballot_store.rs:89 | method | 7 | 1 | 3 | 0 | 0.8 | |
| StoredBallot::merge_from_ballotsrc/ballot_store.rs:100 | method | 3 | 1 | 3 | 0 | 0.8 | |
| derive_ballot_id_is_deterministicsrc/ballot_store.rs:210 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| derive_ballot_id_distinct_per_eventsrc/ballot_store.rs:218 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| derive_ballot_id_distinct_per_open_tssrc/ballot_store.rs:225 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| new_ballot_starts_open_with_no_votessrc/ballot_store.rs:232 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| min_quorum_clamps_to_onesrc/ballot_store.rs:242 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| has_voted_detects_repeatssrc/ballot_store.rs:248 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| as_ballot_round_trips_through_pure_structsrc/ballot_store.rs:265 | fn | 17 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.