1 viewer
rust 1,884,365 · typescript 233,004 · javascript 136,768 · python 22,871 · 6,554 files · digest 44b2b1fea8fb · built in 13 s · crystals off
crates/cre8-app-proposal/src/model.rs
Items
enum ProposalScope impl ProposalScope struct ProposalAlternative enum WeightingScheme impl Default for WeightingScheme enum TallyStrategy impl TallyStrategy enum ProposalStatus enum VoteChoice struct VoteVertex struct ProposalVertex enum ProposalError
Functions
By call-graph weight (PageRank; 1.0 is the average function). 7 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| TallyStrategy::simple_majoritysrc/model.rs:134 | method | 3 | 1 | 13 | 0 | 1.6 | |
| ProposalScope::tagsrc/model.rs:27 | method | 7 | 3 | 1 | 0 | 0.8 | |
| TallyStrategy::approvalsrc/model.rs:149 | method | 3 | 1 | 4 | 0 | 0.7 | |
| TallyStrategy::supermajoritysrc/model.rs:143 | method | 3 | 1 | 1 | 0 | 0.6 | |
| TallyStrategy::unanimoussrc/model.rs:146 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ProposalScope::idsrc/model.rs:22 | method | 5 | 1 | 0 | 0 | 0.5 | |
| WeightingScheme::defaultsrc/model.rs:93 | trait impl | 3 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.