rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-protocol/src/view_program_graph.rs
Items
const PROGRAMS_VIEW_ID const PROGRAM_DETAIL_VIEW_ID const PROGRAMS_VIEW_PATH const PROGRAM_DETAIL_VIEW_PATH const MAX_DRAWN_UNITS const MAX_DRAWN_LINKS const MAX_INDEX_ROWS static PROGRAMS_ROUTES static PROGRAM_DETAIL_ROUTES static PROGRAMS_TEMPLATE_SPEC static PROGRAM_DETAIL_TEMPLATE_SPEC struct ProgramUnit struct ProgramLink struct ProgramGraphFrame struct ProgramIndexRow struct ProgramIndexLink struct ProgramIndexFrame struct ProgramCensus impl ProgramCensus const MAX_DRAWN_PROGRAMS const NODE_W const NODE_H const HEADER_H const H_GAP const V_GAP const MARGIN const LABEL_MAX_CHARS const COLORS const PROGRAM_STYLE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 54 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| unitsrc/view_program_graph.rs:1189 | fn | 9 | 1 | 7 | 0 | 2.8 | |
| programs_index_htmlsrc/view_program_graph.rs:875 | fn | 3 | 1 | 5 | 2 | 2 | |
| programs_index_treesrc/view_program_graph.rs:879 | fn | 102 | 10 | 3 | 7 | 2 | |
| shellsrc/view_program_graph.rs:1142 | fn | 12 | 1 | 2 | 5 | 1.8 | |
| detail_framesrc/view_program_graph.rs:588 | fn | 50 | 9 | 5 | 0 | 1.6 | |
| program_graph_svgsrc/view_program_graph.rs:720 | fn | 109 | 8 | 5 | 8 | 1.5 | |
| program_detail_treesrc/view_program_graph.rs:1022 | fn | 57 | 4 | 3 | 6 | 1.5 | |
| program_detail_htmlsrc/view_program_graph.rs:983 | fn | 3 | 1 | 3 | 3 | 1.4 | |
| program_detail_route_contextsrc/view_program_graph.rs:153 | fn | 4 | 1 | 2 | 1 | 1.3 | |
| two_unit_framesrc/view_program_graph.rs:1199 | fn | 23 | 1 | 4 | 1 | 1.3 | |
| program_is_missingsrc/view_program_graph.rs:1014 | fn | 7 | 1 | 4 | 0 | 1.3 | |
| preview_listsrc/view_program_graph.rs:847 | fn | 6 | 2 | 2 | 0 | 1.2 | |
| program_document_titlesrc/view_program_graph.rs:990 | fn | 7 | 2 | 2 | 3 | 1.1 | |
| link_pairssrc/view_program_graph.rs:704 | fn | 7 | 1 | 2 | 0 | 1 | |
| program_not_foundsrc/view_program_graph.rs:999 | fn | 10 | 1 | 2 | 1 | 1 | |
| index_framesrc/view_program_graph.rs:440 | fn | 76 | 13 | 3 | 2 | 1 | |
| programs_route_contextsrc/view_program_graph.rs:146 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| rank_unitssrc/view_program_graph.rs:697 | fn | 4 | 1 | 2 | 2 | 0.9 | |
| ProgramCensus::unit_countsrc/view_program_graph.rs:279 | method | 3 | 1 | 1 | 0 | 0.9 | |
| ProgramCensus::link_countsrc/view_program_graph.rs:283 | method | 3 | 1 | 1 | 0 | 0.9 | |
| last_run_labelsrc/view_program_graph.rs:1134 | fn | 7 | 2 | 2 | 1 | 0.9 | |
| programs_overview_svgsrc/view_program_graph.rs:531 | fn | 49 | 6 | 2 | 9 | 0.8 | |
| language_colorsrc/view_program_graph.rs:668 | fn | 19 | 1 | 2 | 0 | 0.8 | |
| program_censussrc/view_program_graph.rs:645 | fn | 3 | 1 | 2 | 3 | 0.7 | |
| graph_program_censussrc/view_program_graph.rs:294 | fn | 144 | 26 | 1 | 2 | 0.7 | |
| units_table_htmlsrc/view_program_graph.rs:1080 | fn | 52 | 5 | 1 | 5 | 0.7 | |
| fxsrc/view_program_graph.rs:660 | fn | 4 | 2 | 1 | 0 | 0.7 | |
| unit_tooltipsrc/view_program_graph.rs:830 | fn | 16 | 5 | 1 | 1 | 0.7 | |
| programs_template_contextsrc/view_program_graph.rs:1157 | fn | 10 | 3 | 0 | 3 | 0.5 | |
| program_detail_template_contextsrc/view_program_graph.rs:1168 | fn | 16 | 5 | 0 | 4 | 0.5 | |
| detail_route_requires_a_protocol_idsrc/view_program_graph.rs:1226 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| detail_route_percent_decodes_the_idsrc/view_program_graph.rs:1236 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| index_route_needs_no_paramssrc/view_program_graph.rs:1244 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| svg_draws_a_node_per_unit_and_a_marked_edge_per_linksrc/view_program_graph.rs:1251 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| index_frame_folds_cross_protocol_links_and_draws_themsrc/view_program_graph.rs:1270 | fn | 37 | 2 | 0 | 4 | 0.5 | |
| svg_ranks_the_exporter_left_of_its_importersrc/view_program_graph.rs:1309 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| rank_terminates_on_a_cyclesrc/view_program_graph.rs:1317 | fn | 26 | 1 | 0 | 2 | 0.5 | |
| svg_carries_language_colour_and_escapes_contentsrc/view_program_graph.rs:1345 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| svg_keeps_every_unit_inside_the_viewboxsrc/view_program_graph.rs:1359 | fn | 42 | 2 | 0 | 2 | 0.5 | |
| svg_is_deterministicsrc/view_program_graph.rs:1403 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| detail_page_renders_units_links_and_the_derivation_caveatsrc/view_program_graph.rs:1409 | fn | 12 | 2 | 0 | 1 | 0.5 | |
| missing_program_renders_an_honest_notesrc/view_program_graph.rs:1423 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| index_lists_rows_and_links_themsrc/view_program_graph.rs:1431 | fn | 31 | 1 | 0 | 1 | 0.5 | |
| index_without_a_store_says_so_rather_than_showing_zerosrc/view_program_graph.rs:1464 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| index_with_an_empty_store_says_nothing_is_ingestedsrc/view_program_graph.rs:1470 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| index_frame_groups_units_by_protocol_idsrc/view_program_graph.rs:1480 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| detail_frame_pulls_in_linked_neighbours_and_marks_them_externalsrc/view_program_graph.rs:1502 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| detail_frame_for_an_unknown_protocol_is_emptysrc/view_program_graph.rs:1523 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| view_ids_follow_the_crate_conventionsrc/view_program_graph.rs:1532 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| page_shape_programssrc/view_program_graph.rs:1542 | fn | 18 | 1 | 0 | 1 | 0.5 | |
| page_shape_program_detailsrc/view_program_graph.rs:1562 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| a_protocol_id_with_no_units_in_a_read_store_is_the_not_found_pagesrc/view_program_graph.rs:1568 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| a_missing_program_is_titled_not_found_and_a_found_one_is_notsrc/view_program_graph.rs:1578 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| an_index_without_rows_is_one_items_region_with_one_empty_statesrc/view_program_graph.rs:1592 | fn | 10 | 2 | 0 | 2 | 0.5 |
Source not readable from this process.