Skip to content
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

normalize_ballot

cre8_app_ballot::store::normalize_ballot

fn · cre8-app-ballot · crates/cre8-app-ballot/src/store.rs:603

13lines
4cyclomatic
1max nesting
8statements
0? exits
1params
2callers
1callees
2 (p94)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (2 direct callers, 1 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 2 sitespath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 siteref · 1 sitepath · 1 sitename · 1 sitelist_ballotsapp-ballot · cc 1cre8_app_ballot::store::list_ballotsget_ballotapp-ballot · cc 1cre8_app_ballot::store::get_ballotrun_upsertapp-ballot · cc 3cre8_app_ballot::connection::run_upsertrun_daily_ballot_generateapp-legislation · cc 5cre8_app_legislation::connection::run_daily_ballot_generaterun_generate_from_positionsapp-ballot · cc 1cre8_app_ballot::connection::run_generate_from_positionsconnectapp-location · cc 18cre8_app_location::opportunity::native::connectcommit_program_intentionapp-ballot · cc 1cre8_app_ballot::connection::commit_program_intentionmark_closedapp-ballot · cc 1cre8_app_ballot::close_tally::mark_closedtally_weights_votes_by_rep_…app-ballot · cc 1cre8_app_ballot::close_tally::tests::tally_weights_votes_by_rep_and_picks_winnerlatest_response_per_peer_su…app-ballot · cc 1cre8_app_ballot::close_tally::tests::latest_response_per_peer_supersedes_earlier_onesupsert_ballotapp-ballot · cc 1cre8_app_ballot::store::upsert_ballotballot_from_payloadapp-ballot · cc 1cre8_app_ballot::store::ballot_from_payloadnormalize_ballotapp-ballot · cc 4cre8_app_ballot::store::normalize_ballotnow_secsplatform-time · cc 1cre8_platform_time::now_secsnow_msplatform-time · cc 1cre8_platform_time::now_ms

Control flow

Source not readable from this process.

Callers 2

Callees 1

Source not readable from this process.