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-view-preview/src/lib.rs
Items
const DEFAULT_PREVIEW_PORT const FIXTURE_ROUTE struct Preview impl Preview static DEMO_SPEC
Functions
By call-graph weight (PageRank; 1.0 is the average function). 22 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Preview::newsrc/lib.rs:112 | method | 3 | 1 | 5 | 0 | 1.5 | |
| Preview::with_argssrc/lib.rs:137 | method | 24 | 6 | 3 | 0 | 1.3 | |
| Preview::routesrc/lib.rs:213 | method | 17 | 6 | 4 | 8 | 1.2 | |
| tree_pagesrc/lib.rs:72 | fn | 14 | 1 | 1 | 1 | 0.9 | |
| spec_renderersrc/lib.rs:98 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| Preview::load_fixturesrc/lib.rs:162 | method | 15 | 2 | 2 | 0 | 0.7 | |
| Preview::render_pagesrc/lib.rs:233 | method | 17 | 2 | 1 | 5 | 0.6 | |
| panic_messagesrc/lib.rs:252 | fn | 9 | 3 | 1 | 0 | 0.6 | |
| html_textsrc/lib.rs:264 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| layout_wrapsrc/lib.rs:89 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| Preview::portsrc/lib.rs:116 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Preview::fixturesrc/lib.rs:125 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Preview::from_argssrc/lib.rs:133 | method | 3 | 1 | 0 | 1 | 0.5 | |
| Preview::servesrc/lib.rs:180 | method | 32 | 7 | 0 | 4 | 0.5 | |
| args_overlay_defaults_and_ignore_unknown_flagssrc/lib.rs:274 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| a_trailing_flag_without_a_value_does_not_panicsrc/lib.rs:283 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| theme_and_shared_scripts_are_served_from_view_lib_constssrc/lib.rs:289 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| root_renders_the_page_and_unknown_paths_are_404src/lib.rs:304 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| a_panicking_render_becomes_a_500_page_not_a_dead_serversrc/lib.rs:312 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| demo_contextsrc/lib.rs:323 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| spec_renderer_goes_through_the_real_document_pipelinesrc/lib.rs:335 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| tree_page_produces_a_full_styled_documentsrc/lib.rs:341 | fn | 13 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.