Skip to content
1 viewer

rust 1,880,524 · typescript 232,735 · javascript 134,853 · python 22,539 · 6,529 files · digest 0753164a9f64 · built in 15.6 s · crystals off

prepare_move_submission

cre8_app_chess::connection::moves::prepare_move_submission

fn · cre8-app-chess · crates/cre8-app-chess/src/connection/moves.rs:2878 pub(crate)

85lines
11cyclomatic
2max nesting
25statements
2? exits
4params
1callers
20callees
0.7 (p57)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 direct callers, 20 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 2 sitespath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 4 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitesolver_moveapp-chess · cc 3cre8_app_chess::connection::moves::solver_movehandle_chess_moveapp-chess · cc 1cre8_app_chess::connection::moves::handle_chess_movecomplete_match_demo_moveapp-chess · cc 1cre8_app_chess::connection::moves::complete_match_demo_movescripted_self_play_moveapp-chess · cc 1cre8_app_chess::connection::moves::scripted_self_play_movemove_pieceapp-chess · cc 1cre8_app_chess::connection::moves::move_pieceprepare_move_submissionapp-chess · cc 11cre8_app_chess::connection::moves::prepare_move_submissionnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64parse_fenapp-chess · cc 5cre8_app_chess::rules::parse_fenoutcome_inapp-chess · cc 12cre8_app_chess::rules::outcome_invariant_from_idapp-chess · cc 1cre8_app_chess::connection::moves::variant_from_idget_match_by_sessionapp-chess · cc 1cre8_app_chess::store::get_match_by_sessionelapsedapp-chess · cc 2cre8_app_chess::clock::elapsedis_wallapp-chess · cc 2cre8_app_chess::clock::is_wallVariant::from_tokenapp-chess · cc 3cre8_app_chess::rules::Variant::from_tokenvariant_id_forapp-chess · cc 1cre8_app_chess::connection::moves::variant_id_formove_errorapp-chess · cc 1cre8_app_chess::connection::moves::move_errorexpiredapp-chess · cc 4cre8_app_chess::clock::expiredinitial_timerapp-chess · cc 2cre8_app_chess::connection::moves::initial_timerresolve_time_controlapp-chess · cc 4cre8_app_chess::connection::moves::resolve_time_controlline_outcome_afterapp-chess · cc 3cre8_app_chess::connection::moves::line_outcome_afternow_msplatform-time · cc 1cre8_platform_time::now_mscanonical_tokenapp-chess · cc 3cre8_app_chess::connection::moves::canonical_tokencolor_nameapp-chess · cc 2cre8_app_chess::rules::color_nameproject_match_clockapp-chess · cc 5cre8_app_chess::store::project_match_clockinsufficient_materialapp-chess · cc 5cre8_app_chess::rules::insufficient_materialline_outcome_inapp-chess · cc 7cre8_app_chess::rules::line_outcome_inplayapp-chess · cc 1cre8_app_chess::rules::playget_match_by_session_storageapp-chess · cc 4cre8_app_chess::store::get_match_by_session_storageboard_from_piecesapp-chess · cc 1cre8_app_chess::rules::board_from_piecesreplay_historyapp-chess · cc 2cre8_app_chess::view::model::replay_history

Control flow

Source not readable from this process.

Callers 1

Callees 20

Source not readable from this process.