1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-legislation/src/model.rs
Items
struct Bill impl Bill struct VoteRecord struct Legislator impl Legislator struct RollCallVote struct AlignmentMint enum MintKind impl Default for MintKind impl MintKind enum VotePosition impl Default for VotePosition impl VotePosition
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| MintKind::as_strsrc/model.rs:139 | method | 6 | 2 | 1 | 0 | 1.9 | |
| VotePosition::parsesrc/model.rs:181 | method | 8 | 4 | 6 | 0 | 1.8 | |
| MintKind::asset_id_forsrc/model.rs:151 | method | 3 | 1 | 3 | 1 | 1.7 | |
| ballot_descriptionsrc/model.rs:268 | fn | 23 | 6 | 2 | 0 | 1.3 | |
| billsrc/model.rs:297 | fn | 13 | 1 | 2 | 0 | 1.1 | |
| ballot_id_for_billsrc/model.rs:8 | fn | 3 | 1 | 2 | 0 | 1 | |
| bill_to_ballotsrc/model.rs:208 | fn | 59 | 1 | 3 | 2 | 1 | |
| VotePosition::ballot_option_idsrc/model.rs:192 | method | 7 | 3 | 1 | 0 | 0.6 | |
| Bill::normalizesrc/model.rs:38 | method | 6 | 1 | 0 | 0 | 0.5 | |
| Legislator::normalizesrc/model.rs:86 | method | 5 | 1 | 0 | 0 | 0.5 | |
| MintKind::defaultsrc/model.rs:133 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| VotePosition::defaultsrc/model.rs:165 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| VotePosition::as_strsrc/model.rs:171 | method | 7 | 3 | 0 | 0 | 0.5 | |
| bill_and_legislator_normalize_stable_ids_and_tagssrc/model.rs:312 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| vote_and_mint_kinds_expose_canonical_contract_stringssrc/model.rs:329 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| bill_to_ballot_builds_single_question_with_legislation_assetssrc/model.rs:346 | fn | 18 | 1 | 0 | 2 | 0.5 | |
| ballot_description_prefers_body_text_and_truncates_long_copysrc/model.rs:366 | fn | 15 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.