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
crates/cre8-util-view-html/src/lens.rs
Items
const LENS_HELP const LENS_HELP_LABEL const LENS_UNAVAILABLE const LENS_SENTENCE_NAMES const LENS_SENTENCE_EQUIVALENTS enum LensState impl LensState struct LensAsset impl LensAsset struct LensAmount struct LensThin struct LensLine struct LensUnit struct LensPill struct LensRow struct LensView impl LensView const NO_OPEN_PRICE const EXCHANGE const BANNED
Functions
By call-graph weight (PageRank; 1.0 is the average function). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| asset_wordssrc/lens.rs:201 | fn | 4 | 1 | 3 | 0 | 2.6 | |
| lens_htmlsrc/lens.rs:218 | fn | 9 | 2 | 10 | 2 | 2 | |
| LensAsset::ofsrc/lens.rs:101 | method | 3 | 1 | 7 | 2 | 2 | |
| line_paragraph_tosrc/lens.rs:276 | fn | 24 | 4 | 2 | 6 | 1.5 | |
| viewsrc/lens.rs:489 | fn | 13 | 1 | 7 | 0 | 1.4 | |
| more_tosrc/lens.rs:419 | fn | 57 | 14 | 1 | 5 | 1.4 | |
| lens_unavailable_htmlsrc/lens.rs:266 | fn | 3 | 1 | 7 | 1 | 1.2 | |
| workedsrc/lens.rs:512 | fn | 20 | 1 | 6 | 3 | 1.1 | |
| strip_tagssrc/lens.rs:534 | fn | 13 | 6 | 3 | 0 | 1.1 | |
| asset_tosrc/lens.rs:364 | fn | 18 | 5 | 2 | 2 | 1 | |
| LensView::is_partialsrc/lens.rs:188 | method | 3 | 1 | 2 | 0 | 0.9 | |
| lens_pair_htmlsrc/lens.rs:234 | fn | 29 | 6 | 3 | 4 | 0.8 | |
| pillsrc/lens.rs:507 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| help_idsrc/lens.rs:385 | fn | 15 | 7 | 1 | 0 | 0.8 | |
| num_cell_tosrc/lens.rs:477 | fn | 5 | 1 | 1 | 1 | 0.7 | |
| LensView::is_thinsrc/lens.rs:193 | method | 3 | 1 | 1 | 0 | 0.7 | |
| bool_literalsrc/lens.rs:270 | fn | 3 | 2 | 1 | 0 | 0.7 | |
| sentence_tosrc/lens.rs:302 | fn | 60 | 15 | 1 | 2 | 0.7 | |
| help_tosrc/lens.rs:402 | fn | 12 | 1 | 1 | 2 | 0.7 | |
| amountsrc/lens.rs:503 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| verdict_sentencesrc/lens.rs:207 | fn | 8 | 4 | 1 | 0 | 0.7 | |
| LensState::parsesrc/lens.rs:77 | method | 10 | 6 | 1 | 0 | 0.6 | |
| sentencesrc/lens.rs:550 | fn | 6 | 1 | 1 | 1 | 0.6 | |
| LensState::as_strsrc/lens.rs:65 | method | 10 | 6 | 0 | 0 | 0.5 | |
| each_state_renders_its_sentencesrc/lens.rs:558 | fn | 41 | 2 | 0 | 6 | 0.5 | |
| the_pair_reads_give_get_and_a_verdict_only_when_both_sides_are_wholesrc/lens.rs:601 | fn | 31 | 4 | 0 | 3 | 0.5 | |
| absent_renders_no_elementsrc/lens.rs:634 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| lens_copy_has_no_em_dash_and_none_of_the_banned_wordssrc/lens.rs:645 | fn | 35 | 4 | 0 | 8 | 0.5 | |
| every_asset_name_in_the_lens_links_to_its_pagesrc/lens.rs:682 | fn | 37 | 1 | 0 | 6 | 0.5 | |
| the_disclosure_lists_units_rows_and_notessrc/lens.rs:721 | fn | 34 | 1 | 0 | 3 | 0.5 | |
| text_is_escaped_and_the_help_names_its_topicsrc/lens.rs:757 | fn | 20 | 2 | 0 | 2 | 0.5 | |
| asset_words_drops_the_house_root_and_the_item_familysrc/lens.rs:779 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.