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

compute_tally

cre8_app_proposal::policy::compute_tally

fn · cre8-app-proposal · crates/cre8-app-proposal/src/policy.rs:236 documented

5lines
1cyclomatic
0max nesting
3statements
0? exits
2params
2callers
2callees
0.9 (p76)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 2 sitesname · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitevote_overwrites_on_changeapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_overwrites_on_changesimple_majority_passes_with…app-proposal · cc 1cre8_app_proposal::policy::tests::simple_majority_passes_with_quorum_and_thresholdabstentions_dont_count_towa…app-proposal · cc 1cre8_app_proposal::policy::tests::abstentions_dont_count_toward_threshold_denominatorratify_returns_mutation_and…app-proposal · cc 1cre8_app_proposal::policy::tests::ratify_returns_mutation_and_closesratify_rejects_when_tally_f…app-proposal · cc 1cre8_app_proposal::policy::tests::ratify_rejects_when_tally_failsratify_twice_rejectsapp-proposal · cc 1cre8_app_proposal::policy::tests::ratify_twice_rejectssupermajority_requires_two_…app-proposal · cc 1cre8_app_proposal::policy::tests::supermajority_requires_two_thirdsunanimous_requires_all_yesapp-proposal · cc 1cre8_app_proposal::policy::tests::unanimous_requires_all_yesapproval_winning_option_ret…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_winning_option_returns_its_mutation_on_ratifyapproval_tie_at_top_does_no…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_tie_at_top_does_not_declare_winnertallyapp-proposal · cc 1cre8_app_proposal::policy::tallyratifyapp-proposal · cc 1cre8_app_proposal::policy::ratifycompute_tallyapp-proposal · cc 1cre8_app_proposal::policy::compute_tallybuild_tallyapp-proposal · cc 2cre8_app_proposal::policy::build_tallyaggregate_direct_votesapp-proposal · cc 2cre8_app_proposal::policy::aggregate_direct_votesadd_choice_weightapp-proposal · cc 7cre8_app_proposal::policy::add_choice_weightevaluate_strategyapp-proposal · cc 2cre8_app_proposal::policy::evaluate_strategy

Control flow

Source not readable from this process.

Callers 2

Callees 2

Source not readable from this process.