1 viewer
rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off
crates/cre8-app-tv/src/state.rs
Items
struct Channel struct Program struct TvState static STATE static COUNTER
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| normalize_handlesrc/state.rs:62 | fn | 14 | 6 | 32 | 0 | 12.8 | |
| tv_statesrc/state.rs:53 | fn | 4 | 1 | 10 | 0 | 10.4 | |
| get_channelsrc/state.rs:108 | fn | 4 | 1 | 16 | 2 | 3.7 | |
| programs_forsrc/state.rs:156 | fn | 6 | 1 | 5 | 2 | 2.9 | |
| upsert_channelsrc/state.rs:95 | fn | 12 | 2 | 21 | 2 | 2.3 | |
| list_channelssrc/state.rs:113 | fn | 6 | 1 | 4 | 1 | 2.1 | |
| add_programsrc/state.rs:129 | fn | 9 | 1 | 5 | 1 | 1.1 | |
| all_programssrc/state.rs:163 | fn | 6 | 1 | 2 | 1 | 1.1 | |
| remove_programs_with_prefixsrc/state.rs:142 | fn | 13 | 2 | 3 | 2 | 1.1 | |
| remove_channelsrc/state.rs:120 | fn | 8 | 1 | 4 | 2 | 1 | |
| now_playingsrc/state.rs:170 | fn | 3 | 2 | 3 | 1 | 0.9 | |
| insert_loaded_channelsrc/state.rs:81 | fn | 3 | 1 | 2 | 1 | 0.9 | |
| insert_loaded_programsrc/state.rs:87 | fn | 7 | 1 | 2 | 1 | 0.9 | |
| fresh_namesrc/state.rs:182 | fn | 6 | 1 | 2 | 1 | 0.7 | |
| next_upsrc/state.rs:174 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| normalize_handle_rejects_special_charssrc/state.rs:190 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| upsert_preserves_created_atsrc/state.rs:198 | fn | 31 | 1 | 0 | 3 | 0.5 | |
| schedule_now_and_nextsrc/state.rs:231 | fn | 46 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.