1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-legal-code/src/statute_view_model.rs
Items
const LIFT_PREFIX const MAX_TOC_DEPTH struct SectionRow struct SectionProps struct SectionHead impl SectionRow struct ProvisionRow impl ProvisionRow const ADOPT_PREFIX struct CodeSummary impl CodeSummary struct CorpusAtlas impl CorpusAtlas struct CodeToc impl CodeToc struct StatuteDetail impl StatuteDetail
Functions
By call-graph weight (PageRank; 1.0 is the average function). 41 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| CodeToc::childrensrc/statute_view_model.rs:502 | method | 10 | 4 | 4 | 0 | 2.2 | |
| section_sort_keysrc/statute_view_model.rs:83 | fn | 5 | 1 | 3 | 0 | 1.6 | |
| statute_detail_from_graphsrc/statute_view_model.rs:679 | fn | 62 | 13 | 5 | 9 | 1.3 | |
| corpus_from_graphsrc/statute_view_model.rs:328 | fn | 69 | 19 | 5 | 10 | 1.2 | |
| CodeToc::collect_idssrc/statute_view_model.rs:570 | method | 9 | 4 | 1 | 1 | 1.1 | |
| split_section_idsrc/statute_view_model.rs:58 | fn | 7 | 1 | 4 | 0 | 1.1 | |
| code_toc_from_graphsrc/statute_view_model.rs:434 | fn | 35 | 4 | 6 | 4 | 1 | |
| SectionRow::from_propssrc/statute_view_model.rs:133 | method | 22 | 2 | 2 | 1 | 0.8 | |
| node_from_propssrc/statute_view_model.rs:180 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| CodeToc::topssrc/statute_view_model.rs:490 | method | 9 | 1 | 2 | 0 | 0.8 | |
| ProvisionRow::section_idsrc/statute_view_model.rs:233 | method | 11 | 2 | 2 | 0 | 0.8 | |
| StatuteDetail::is_stalesrc/statute_view_model.rs:749 | method | 6 | 2 | 3 | 0 | 0.8 | |
| CodeToc::count_intosrc/statute_view_model.rs:538 | method | 21 | 5 | 1 | 1 | 0.8 | |
| CodeToc::scope_section_idssrc/statute_view_model.rs:562 | method | 7 | 2 | 1 | 1 | 0.8 | |
| citation_section_idsrc/statute_view_model.rs:69 | fn | 10 | 4 | 2 | 1 | 0.7 | |
| ProvisionRow::from_propssrc/statute_view_model.rs:218 | method | 3 | 1 | 2 | 0 | 0.7 | |
| SectionRow::summarysrc/statute_view_model.rs:167 | method | 11 | 3 | 1 | 0 | 0.7 | |
| load_corpussrc/statute_view_model.rs:307 | fn | 6 | 2 | 1 | 2 | 0.7 | |
| CodeToc::section_countssrc/statute_view_model.rs:530 | method | 7 | 2 | 2 | 2 | 0.6 | |
| lifted_provision_idsrc/statute_view_model.rs:52 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| section_existssrc/statute_view_model.rs:675 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| CodeToc::searchsrc/statute_view_model.rs:594 | method | 38 | 8 | 2 | 2 | 0.6 | |
| StatuteDetail::is_ingestedsrc/statute_view_model.rs:757 | method | 3 | 1 | 1 | 0 | 0.6 | |
| load_code_tocsrc/statute_view_model.rs:421 | fn | 12 | 2 | 1 | 3 | 0.6 | |
| ProvisionRow::is_referencesrc/statute_view_model.rs:222 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ProvisionRow::is_adoptedsrc/statute_view_model.rs:227 | method | 3 | 2 | 1 | 0 | 0.6 | |
| summary_forsrc/statute_view_model.rs:314 | fn | 13 | 1 | 1 | 1 | 0.6 | |
| CorpusAtlas::codesrc/statute_view_model.rs:399 | method | 3 | 1 | 1 | 0 | 0.6 | |
| load_statute_detailsrc/statute_view_model.rs:661 | fn | 13 | 2 | 1 | 3 | 0.6 | |
| CodeToc::fixture_sectionssrc/statute_view_model.rs:484 | method | 3 | 1 | 1 | 0 | 0.6 | |
| CodeToc::unplacedsrc/statute_view_model.rs:581 | method | 8 | 1 | 1 | 1 | 0.5 | |
| SectionRow::code_idsrc/statute_view_model.rs:156 | method | 3 | 1 | 0 | 1 | 0.5 | |
| SectionRow::labelsrc/statute_view_model.rs:161 | method | 3 | 1 | 0 | 0 | 0.5 | |
| active_statussrc/statute_view_model.rs:184 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| ProvisionRow::scopesrc/statute_view_model.rs:247 | method | 10 | 6 | 0 | 0 | 0.5 | |
| CodeSummary::display_namesrc/statute_view_model.rs:285 | method | 3 | 2 | 0 | 0 | 0.5 | |
| CodeToc::is_emptysrc/statute_view_model.rs:472 | method | 3 | 2 | 0 | 0 | 0.5 | |
| CodeToc::display_namesrc/statute_view_model.rs:476 | method | 3 | 2 | 0 | 0 | 0.5 | |
| CodeToc::nodesrc/statute_view_model.rs:480 | method | 3 | 1 | 0 | 0 | 0.5 | |
| CodeToc::ancestorssrc/statute_view_model.rs:514 | method | 14 | 4 | 0 | 0 | 0.5 | |
| StatuteDetail::not_foundsrc/statute_view_model.rs:744 | method | 3 | 3 | 0 | 0 | 0.5 |
Source not readable from this process.