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
crates/cre8-app-legal-code/src/statute_views.rs
Items
const STATUTE_CORPUS_VIEW_ID const STATUTE_CORPUS_TITLE const STATUTE_CODE_VIEW_ID const STATUTE_CODE_TITLE const STATUTE_SECTION_VIEW_ID const STATUTE_SECTION_TITLE const STATUTE_CORPUS_PATH const STATUTE_CODE_ROUTE const STATUTE_SECTION_ROUTE const EVALUATE_ENDPOINT const ENACT_ENDPOINT const SECTION_LIST_BOUND const SEARCH_RESULT_BOUND const ADOPTED_PREVIEW_ROWS const SNIPPET_CHARS const STATUTE_PAGE_STYLE const REFERENCE_HEADLINE const REFERENCE_NOTICE static STATUTE_CORPUS_DOCUMENT_ROUTES static STATUTE_CODE_DOCUMENT_ROUTES static STATUTE_SECTION_DOCUMENT_ROUTES static STATUTE_CORPUS_TEMPLATE_SPEC static STATUTE_CODE_TEMPLATE_SPEC static STATUTE_SECTION_TEMPLATE_SPEC const CORPUS_METRICS struct CodeRequest impl CodeRequest struct CitationLink impl CitationLink const ADOPTION_SCOPE_KINDS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 95 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| dollarssrc/statute_views.rs:1261 | fn | 5 | 2 | 2 | 1 | 2.4 | |
| code_hrefsrc/statute_views.rs:163 | fn | 3 | 1 | 11 | 0 | 2.2 | |
| statute_hrefsrc/statute_views.rs:172 | fn | 3 | 1 | 6 | 0 | 1.5 | |
| level_labelsrc/statute_views.rs:536 | fn | 8 | 2 | 4 | 0 | 1.3 | |
| CodeRequest::from_contextsrc/statute_views.rs:420 | method | 8 | 1 | 2 | 2 | 1.3 | |
| subdivision_anchorsrc/statute_views.rs:179 | fn | 8 | 3 | 4 | 0 | 1.2 | |
| build_statute_treesrc/statute_views.rs:815 | fn | 75 | 8 | 5 | 29 | 1.2 | |
| fixture_badge_htmlsrc/statute_views.rs:1366 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| short_code_namesrc/statute_views.rs:806 | fn | 4 | 2 | 1 | 0 | 1.2 | |
| context_textsrc/statute_views.rs:211 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| short_hashsrc/statute_views.rs:1782 | fn | 4 | 2 | 5 | 0 | 1.1 | |
| build_corpus_treesrc/statute_views.rs:251 | fn | 41 | 6 | 5 | 13 | 1.1 | |
| query_textsrc/statute_views.rs:218 | fn | 8 | 4 | 1 | 0 | 1.1 | |
| code_display_namesrc/statute_views.rs:811 | fn | 3 | 2 | 3 | 0 | 1.1 | |
| kv_htmlsrc/statute_views.rs:1752 | fn | 3 | 1 | 3 | 1 | 1 | |
| internal_links_htmlsrc/statute_views.rs:1757 | fn | 8 | 2 | 2 | 0 | 1 | |
| text_table_htmlsrc/statute_views.rs:1748 | fn | 3 | 1 | 5 | 1 | 1 | |
| build_code_treesrc/statute_views.rs:467 | fn | 46 | 6 | 6 | 13 | 1 | |
| code_node_hrefsrc/statute_views.rs:168 | fn | 3 | 1 | 5 | 1 | 0.9 | |
| CitationLink::anchor_htmlsrc/statute_views.rs:1062 | method | 7 | 2 | 2 | 0 | 0.9 | |
| citation_linksrc/statute_views.rs:1076 | fn | 44 | 11 | 2 | 7 | 0.9 | |
| at_link_htmlsrc/statute_views.rs:1143 | fn | 7 | 2 | 4 | 2 | 0.9 | |
| linked_text_htmlsrc/statute_views.rs:1021 | fn | 29 | 5 | 2 | 2 | 0.8 | |
| section_titlesrc/statute_views.rs:800 | fn | 5 | 1 | 3 | 1 | 0.8 | |
| table_htmlsrc/statute_views.rs:1742 | fn | 3 | 1 | 4 | 1 | 0.8 | |
| status_labelsrc/statute_views.rs:1347 | fn | 9 | 5 | 3 | 0 | 0.8 | |
| section_row_item_htmlsrc/statute_views.rs:704 | fn | 13 | 2 | 3 | 3 | 0.8 | |
| node_labelsrc/statute_views.rs:545 | fn | 3 | 1 | 3 | 1 | 0.8 | |
| render_corpus_documentsrc/statute_views.rs:230 | fn | 17 | 1 | 2 | 3 | 0.7 | |
| render_code_documentsrc/statute_views.rs:434 | fn | 32 | 3 | 2 | 6 | 0.7 | |
| render_statute_documentsrc/statute_views.rs:762 | fn | 35 | 2 | 2 | 8 | 0.7 | |
| fact_labelsrc/statute_views.rs:1560 | fn | 19 | 5 | 2 | 0 | 0.7 | |
| penalty_row_htmlsrc/statute_views.rs:1284 | fn | 16 | 3 | 1 | 5 | 0.7 | |
| inactive_badge_htmlsrc/statute_views.rs:1357 | fn | 8 | 2 | 1 | 3 | 0.7 | |
| scope_labelsrc/statute_views.rs:1676 | fn | 6 | 4 | 3 | 0 | 0.7 | |
| code_route_contextsrc/statute_views.rs:136 | fn | 5 | 1 | 1 | 1 | 0.7 | |
| section_route_contextsrc/statute_views.rs:142 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| custody_labelsrc/statute_views.rs:1233 | fn | 27 | 14 | 2 | 4 | 0.7 | |
| fine_labelsrc/statute_views.rs:1267 | fn | 12 | 6 | 2 | 1 | 0.7 | |
| opt_textsrc/statute_views.rs:1778 | fn | 3 | 2 | 4 | 0 | 0.7 | |
| sections_labelsrc/statute_views.rs:549 | fn | 3 | 2 | 3 | 1 | 0.7 | |
| errors_linesrc/statute_views.rs:1803 | fn | 3 | 1 | 3 | 0 | 0.7 | |
| unavailable_htmlsrc/statute_views.rs:1766 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| consequence_labelsrc/statute_views.rs:1447 | fn | 12 | 3 | 3 | 1 | 0.7 | |
| subdivision_item_htmlsrc/statute_views.rs:989 | fn | 27 | 5 | 1 | 3 | 0.6 | |
| definition_scope_labelsrc/statute_views.rs:1318 | fn | 13 | 9 | 1 | 0 | 0.6 | |
| facility_labelsrc/statute_views.rs:1193 | fn | 9 | 5 | 1 | 0 | 0.6 | |
| unitssrc/statute_views.rs:1203 | fn | 8 | 4 | 1 | 0 | 0.6 | |
| unit_pluralsrc/statute_views.rs:1212 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| either_listsrc/statute_views.rs:1221 | fn | 9 | 3 | 1 | 0 | 0.6 | |
| percentsrc/statute_views.rs:1280 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| section_item_htmlsrc/statute_views.rs:690 | fn | 13 | 3 | 2 | 3 | 0.6 | |
| provision_section_link_htmlsrc/statute_views.rs:394 | fn | 11 | 2 | 2 | 3 | 0.6 | |
| date_or_dashsrc/statute_views.rs:1787 | fn | 3 | 2 | 2 | 1 | 0.6 | |
| class_labelsrc/statute_views.rs:1181 | fn | 11 | 7 | 1 | 0 | 0.6 | |
| cite_pathsrc/statute_views.rs:191 | fn | 8 | 2 | 2 | 0 | 0.6 | |
| provision_status_badge_htmlsrc/statute_views.rs:1470 | fn | 7 | 3 | 2 | 2 | 0.6 | |
| code_source_htmlsrc/statute_views.rs:346 | fn | 15 | 4 | 1 | 2 | 0.6 | |
| deontic_labelsrc/statute_views.rs:1439 | fn | 7 | 3 | 2 | 0 | 0.6 | |
| reference_panel_htmlsrc/statute_views.rs:293 | fn | 15 | 1 | 1 | 1 | 0.6 | |
| explore_htmlsrc/statute_views.rs:309 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| codes_table_htmlsrc/statute_views.rs:317 | fn | 28 | 2 | 1 | 5 | 0.6 | |
| adopted_table_htmlsrc/statute_views.rs:362 | fn | 31 | 3 | 1 | 8 | 0.6 | |
| disclaimer_htmlsrc/statute_views.rs:1807 | fn | 7 | 1 | 1 | 0 | 0.6 | |
| monosrc/statute_views.rs:1770 | fn | 7 | 2 | 2 | 0 | 0.6 | |
| citation_kind_labelsrc/statute_views.rs:1121 | fn | 9 | 5 | 1 | 0 | 0.6 | |
| describe_targetsrc/statute_views.rs:1131 | fn | 11 | 3 | 1 | 0 | 0.6 | |
| code_query_formsrc/statute_views.rs:517 | fn | 17 | 2 | 1 | 2 | 0.6 | |
| scope_breadcrumb_htmlsrc/statute_views.rs:553 | fn | 13 | 1 | 1 | 4 | 0.6 | |
| toc_htmlsrc/statute_views.rs:567 | fn | 73 | 17 | 1 | 10 | 0.6 | |
| search_htmlsrc/statute_views.rs:718 | fn | 38 | 7 | 1 | 10 | 0.6 | |
| node_item_htmlsrc/statute_views.rs:642 | fn | 45 | 9 | 1 | 5 | 0.5 | |
| copy_badge_htmlsrc/statute_views.rs:1370 | fn | 7 | 2 | 1 | 1 | 0.5 | |
| stamp_or_dashsrc/statute_views.rs:1791 | fn | 11 | 2 | 1 | 2 | 0.5 | |
| intro_linesrc/statute_views.rs:891 | fn | 12 | 3 | 1 | 1 | 0.5 | |
| stale_linesrc/statute_views.rs:904 | fn | 13 | 1 | 1 | 1 | 0.5 | |
| labelled_subdivisionssrc/statute_views.rs:918 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| section_breadcrumb_htmlsrc/statute_views.rs:922 | fn | 19 | 1 | 1 | 6 | 0.5 | |
| text_htmlsrc/statute_views.rs:944 | fn | 44 | 9 | 1 | 3 | 0.5 | |
| citations_htmlsrc/statute_views.rs:1151 | fn | 27 | 5 | 1 | 7 | 0.5 | |
| penalties_htmlsrc/statute_views.rs:1301 | fn | 16 | 1 | 1 | 2 | 0.5 | |
| definitions_htmlsrc/statute_views.rs:1332 | fn | 12 | 2 | 1 | 3 | 0.5 | |
| source_htmlsrc/statute_views.rs:1378 | fn | 58 | 4 | 1 | 11 | 0.5 | |
| lifted_htmlsrc/statute_views.rs:1499 | fn | 57 | 4 | 1 | 17 | 0.5 | |
| evaluate_formsrc/statute_views.rs:1585 | fn | 17 | 2 | 1 | 3 | 0.5 | |
| adoption_formsrc/statute_views.rs:1609 | fn | 62 | 1 | 1 | 2 | 0.5 | |
| adoptions_htmlsrc/statute_views.rs:1683 | fn | 21 | 3 | 1 | 6 | 0.5 | |
| equivalents_htmlsrc/statute_views.rs:1705 | fn | 29 | 3 | 1 | 6 | 0.5 | |
| origin_labelsrc/statute_views.rs:1460 | fn | 9 | 5 | 1 | 0 | 0.5 | |
| freshness_htmlsrc/statute_views.rs:1478 | fn | 10 | 3 | 1 | 0 | 0.5 | |
| tag_badge_htmlsrc/statute_views.rs:1489 | fn | 9 | 4 | 1 | 1 | 0.5 | |
| corpus_template_contextsrc/statute_views.rs:149 | fn | 3 | 1 | 0 | 3 | 0.5 | |
| code_template_contextsrc/statute_views.rs:153 | fn | 3 | 1 | 0 | 3 | 0.5 | |
| section_template_contextsrc/statute_views.rs:157 | fn | 3 | 1 | 0 | 3 | 0.5 | |
| endpointssrc/statute_views.rs:200 | fn | 10 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.