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-app-molecule/src/view_templates.rs
Items
const LIBRARY_VIEW_ID const LIBRARY_TITLE const COMPOUND_VIEW_ID const COMPOUND_TITLE const LIBRARY_PATH const COMPOUND_PATH_PREFIX const COMPOUND_ROUTE const SYNC_ENDPOINT const LIBRARY_PAGE_SIZE const SYNONYMS_SHOWN const PUBCHEM_HOME const INTRO static LIBRARY_DOCUMENT_ROUTES static COMPOUND_DOCUMENT_ROUTES static LIBRARY_TEMPLATE_SPEC static COMPOUND_TEMPLATE_SPEC const PAGE_STYLE const SUBSCRIPTS const SUPERSCRIPTS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 42 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| split_chargesrc/view_templates.rs:205 | fn | 6 | 3 | 3 | 0 | 1.4 | |
| temp_dbsrc/view_templates.rs:627 | fn | 3 | 1 | 9 | 1 | 1.2 | |
| external_linksrc/view_templates.rs:129 | fn | 3 | 1 | 2 | 0 | 1 | |
| bodysrc/view_templates.rs:631 | fn | 3 | 1 | 7 | 0 | 1 | |
| render_compoundsrc/view_templates.rs:388 | fn | 47 | 3 | 5 | 5 | 1 | |
| render_librarysrc/view_templates.rs:229 | fn | 26 | 1 | 4 | 7 | 1 | |
| seedsrc/view_templates.rs:635 | fn | 3 | 1 | 6 | 2 | 1 | |
| utc_datesrc/view_templates.rs:134 | fn | 13 | 2 | 3 | 0 | 0.9 | |
| document_runtimesrc/view_templates.rs:106 | fn | 3 | 1 | 2 | 2 | 0.9 | |
| countsrc/view_templates.rs:639 | fn | 3 | 1 | 4 | 0 | 0.8 | |
| weight_textsrc/view_templates.rs:212 | fn | 3 | 1 | 4 | 0 | 0.8 | |
| compound_treesrc/view_templates.rs:436 | fn | 32 | 8 | 2 | 14 | 0.7 | |
| library_treesrc/view_templates.rs:256 | fn | 85 | 6 | 2 | 16 | 0.7 | |
| formula_textsrc/view_templates.rs:151 | fn | 21 | 5 | 3 | 1 | 0.7 | |
| formula_htmlsrc/view_templates.rs:174 | fn | 28 | 6 | 2 | 2 | 0.7 | |
| page_querysrc/view_templates.rs:121 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| pull_linesrc/view_templates.rs:218 | fn | 8 | 2 | 1 | 2 | 0.6 | |
| codesrc/view_templates.rs:508 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| compound_hrefsrc/view_templates.rs:125 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| viewer_htmlsrc/view_templates.rs:471 | fn | 36 | 4 | 1 | 5 | 0.5 | |
| properties_htmlsrc/view_templates.rs:512 | fn | 34 | 11 | 1 | 5 | 0.5 | |
| composition_htmlsrc/view_templates.rs:547 | fn | 23 | 2 | 1 | 4 | 0.5 | |
| synonyms_htmlsrc/view_templates.rs:571 | fn | 24 | 5 | 1 | 2 | 0.5 | |
| source_htmlsrc/view_templates.rs:596 | fn | 24 | 3 | 1 | 5 | 0.5 | |
| compound_cardsrc/view_templates.rs:342 | fn | 16 | 5 | 1 | 9 | 0.5 | |
| empty_library_htmlsrc/view_templates.rs:359 | fn | 5 | 1 | 1 | 1 | 0.5 | |
| library_pager_htmlsrc/view_templates.rs:365 | fn | 13 | 4 | 1 | 1 | 0.5 | |
| library_source_htmlsrc/view_templates.rs:379 | fn | 6 | 1 | 1 | 1 | 0.5 | |
| empty_route_contextsrc/view_templates.rs:95 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| compound_route_contextsrc/view_templates.rs:99 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| library_template_contextsrc/view_templates.rs:110 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| compound_template_contextsrc/view_templates.rs:114 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| empty_library_explains_how_to_add_a_compoundsrc/view_templates.rs:644 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| library_lists_compounds_with_formula_weight_and_atom_countsrc/view_templates.rs:655 | fn | 21 | 3 | 0 | 5 | 0.5 | |
| library_paginates_and_keeps_the_searchsrc/view_templates.rs:678 | fn | 21 | 2 | 0 | 6 | 0.5 | |
| compound_page_shows_identifiers_composition_synonyms_source_and_a_drawingsrc/view_templates.rs:701 | fn | 26 | 3 | 0 | 6 | 0.5 | |
| compound_page_resolves_a_cid_and_draws_aspirinsrc/view_templates.rs:729 | fn | 9 | 2 | 0 | 6 | 0.5 | |
| missing_key_renders_the_labelled_not_found_statesrc/view_templates.rs:740 | fn | 9 | 1 | 0 | 6 | 0.5 | |
| a_compound_without_a_structure_still_renderssrc/view_templates.rs:751 | fn | 18 | 1 | 0 | 6 | 0.5 | |
| page_shape_molecule_librarysrc/view_templates.rs:771 | fn | 16 | 1 | 0 | 5 | 0.5 | |
| page_shape_molecule_compoundsrc/view_templates.rs:789 | fn | 8 | 1 | 0 | 5 | 0.5 | |
| helpers_format_dates_and_formulassrc/view_templates.rs:799 | fn | 14 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.