1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-sports/src/provider.rs
Items
const FAKE const MANUAL const DEFAULT_FAKE_GAMES const MAX_FAKE_GAMES const DAY_MS const HOUR_MS const FAKE_GAME_LENGTH_MS const FAKE_FIRST_START_MS const FAKE_WAVES const FAKE_WAVE_GAP_MS enum GameStatus impl GameStatus struct FeedGame impl FeedGame struct FeedPlayer struct SlateQuery trait ScoreProvider static PROVIDER_IDS struct FakeProvider struct FakeLeague static FAKE_LEAGUES impl ScoreProvider for FakeProvider const FAKE_PLAYERS_PER_TEAM const FAKE_POSITIONS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 31 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| date_to_mssrc/provider.rs:345 | fn | 19 | 10 | 14 | 1 | 4 | |
| days_in_monthsrc/provider.rs:365 | fn | 8 | 7 | 1 | 0 | 3.9 | |
| slugsrc/provider.rs:332 | fn | 11 | 5 | 7 | 0 | 3.2 | |
| FeedGame::game_idsrc/provider.rs:88 | method | 3 | 1 | 8 | 1 | 1.3 | |
| ms_to_clocksrc/provider.rs:389 | fn | 4 | 1 | 7 | 0 | 1.2 | |
| fnv1a_64src/provider.rs:326 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| FakeProvider::fetch_slatesrc/provider.rs:210 | trait impl | 12 | 2 | 7 | 2 | 1.1 | |
| GameStatus::parsesrc/provider.rs:52 | method | 10 | 6 | 4 | 0 | 1 | |
| querysrc/provider.rs:398 | fn | 3 | 1 | 5 | 0 | 1 | |
| fake_gamesrc/provider.rs:274 | fn | 44 | 6 | 1 | 2 | 1 | |
| ms_to_datesrc/provider.rs:375 | fn | 12 | 2 | 4 | 0 | 0.9 | |
| fake_playerssrc/provider.rs:236 | fn | 34 | 6 | 1 | 3 | 0.9 | |
| provider_forsrc/provider.rs:167 | fn | 6 | 2 | 4 | 0 | 0.9 | |
| fake_slate_final_mssrc/provider.rs:320 | fn | 3 | 1 | 6 | 1 | 0.8 | |
| FeedGame::winning_outcomesrc/provider.rs:95 | method | 11 | 4 | 3 | 0 | 0.7 | |
| FeedGame::outcomessrc/provider.rs:107 | method | 7 | 2 | 3 | 0 | 0.7 | |
| provider_jsonsrc/provider.rs:174 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| GameStatus::as_strsrc/provider.rs:42 | method | 9 | 5 | 0 | 0 | 0.5 | |
| ScoreProvider::replayablesrc/provider.rs:153 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| ScoreProvider::fetch_playerssrc/provider.rs:160 | trait default | 3 | 1 | 0 | 0 | 0.5 | |
| FakeProvider::idsrc/provider.rs:198 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeProvider::namesrc/provider.rs:202 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeProvider::replayablesrc/provider.rs:206 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeProvider::fetch_playerssrc/provider.rs:223 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| dates_round_trip_and_reject_malformed_inputsrc/provider.rs:403 | fn | 12 | 3 | 0 | 3 | 0.5 | |
| slug_keeps_one_path_segmentsrc/provider.rs:417 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| fake_slate_is_deterministic_and_ids_are_uniquesrc/provider.rs:426 | fn | 15 | 2 | 0 | 4 | 0.5 | |
| fake_games_move_from_scheduled_through_live_to_finalsrc/provider.rs:443 | fn | 20 | 3 | 0 | 7 | 0.5 | |
| fake_players_are_stable_and_score_only_once_play_startssrc/provider.rs:465 | fn | 25 | 4 | 0 | 4 | 0.5 | |
| league_filter_and_unknown_providersrc/provider.rs:492 | fn | 13 | 3 | 0 | 4 | 0.5 | |
| level_score_is_a_draw_only_where_draws_existsrc/provider.rs:507 | fn | 13 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.