rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-chess/src/store.rs
Items
const BUCKET_PIECES const BUCKET_MOVES const BUCKET_PIECE_EVENTS const BUCKET_MATCHES const CAPTURE_REWARD_ASSET const WIN_REWARD_ASSET const PARTICIPATION_REWARD_ASSET const DDL const ABORT_UNSTARTED_TIMED_SECS const ABORT_UNSTARTED_UNTIMED_SECS const OPEN_SEAT_EXPIRES_SECS const SOLVER_GAME_ABANDONED_SECS const UNTIMED_GAME_ABANDONED_SECS struct ChessPieceCoreRow struct ChessPieceIdentityRow struct ChessPieceActorsRow struct ChessPieceBoardRow struct ChessPieceStateRow struct ChessPieceCountersRow struct ChessPieceTailRow struct ChessMoveCoreRow struct ChessMoveScopeRow struct ChessMoveActorsRow struct ChessMoveSquaresRow struct ChessMoveTailRow struct ChessPieceEventCoreRow struct ChessPieceEventTailRow struct ChessMatchCoreRow struct ChessMatchOutcomeRow struct ChessMatchGraphRow struct ChessMatchPayloadRow struct ChessMatchAuditRow
Functions
By call-graph weight (PageRank; 1.0 is the average function). 84 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ensure_tablessrc/store.rs:232 | fn | 3 | 1 | 15 | 1 | 5.9 | |
| ensure_tables_storagesrc/store.rs:236 | fn | 3 | 1 | 1 | 1 | 5.5 | |
| list_pieces_by_sessionsrc/store.rs:363 | fn | 3 | 1 | 21 | 1 | 4.2 | |
| list_pieces_by_session_storagesrc/store.rs:367 | fn | 34 | 4 | 1 | 5 | 4.1 | |
| next_turnsrc/store.rs:517 | fn | 4 | 2 | 5 | 0 | 3 | |
| get_match_by_sessionsrc/store.rs:825 | fn | 3 | 1 | 17 | 2 | 2.7 | |
| initial_state_hashsrc/store.rs:477 | fn | 39 | 1 | 8 | 2 | 2.7 | |
| project_match_clocksrc/store.rs:833 | fn | 37 | 7 | 3 | 9 | 2.4 | |
| upsert_match_storagesrc/store.rs:731 | fn | 65 | 1 | 1 | 4 | 2.4 | |
| upsert_matchsrc/store.rs:727 | fn | 3 | 1 | 14 | 1 | 2.2 | |
| list_pieces_by_room_storagesrc/store.rs:406 | fn | 34 | 4 | 1 | 5 | 2.1 | |
| get_piece_storagesrc/store.rs:339 | fn | 23 | 2 | 1 | 4 | 2.1 | |
| row_piecesrc/store.rs:1567 | fn | 25 | 1 | 3 | 3 | 2 | |
| list_pieces_by_roomsrc/store.rs:402 | fn | 3 | 1 | 4 | 1 | 1.9 | |
| row_json_orsrc/store.rs:1558 | fn | 7 | 1 | 4 | 1 | 1.9 | |
| get_piecesrc/store.rs:335 | fn | 3 | 1 | 3 | 1 | 1.9 | |
| initial_piecesrc/store.rs:110 | fn | 36 | 1 | 1 | 2 | 1.8 | |
| chess_state_payloadsrc/store.rs:441 | fn | 16 | 1 | 4 | 3 | 1.7 | |
| upsert_piece_storagesrc/store.rs:244 | fn | 22 | 1 | 1 | 5 | 1.7 | |
| get_match_by_session_storagesrc/store.rs:960 | fn | 36 | 4 | 1 | 4 | 1.7 | |
| accrue_agent_rewardsrc/store.rs:1290 | fn | 66 | 1 | 4 | 3 | 1.7 | |
| standard_initial_piecessrc/store.rs:35 | fn | 51 | 4 | 7 | 1 | 1.6 | |
| sort_pieces_for_projectionsrc/store.rs:1515 | fn | 10 | 1 | 2 | 0 | 1.5 | |
| list_moves_by_session_storagesrc/store.rs:585 | fn | 34 | 4 | 1 | 4 | 1.5 | |
| record_piece_event_storagesrc/store.rs:684 | fn | 42 | 1 | 1 | 3 | 1.5 | |
| upsert_piecesrc/store.rs:240 | fn | 3 | 1 | 6 | 1 | 1.4 | |
| row_matchsrc/store.rs:1904 | fn | 28 | 1 | 3 | 5 | 1.2 | |
| piece_asset_balancessrc/store.rs:1259 | fn | 11 | 1 | 2 | 2 | 1.2 | |
| get_matchsrc/store.rs:797 | fn | 3 | 1 | 2 | 2 | 1.2 | |
| list_moves_by_sessionsrc/store.rs:581 | fn | 3 | 1 | 4 | 1 | 1.2 | |
| list_piece_events_storagesrc/store.rs:1196 | fn | 35 | 4 | 1 | 4 | 1.2 | |
| record_piece_eventsrc/store.rs:680 | fn | 3 | 1 | 2 | 1 | 1.1 | |
| piece_payloadsrc/store.rs:458 | fn | 18 | 1 | 2 | 0 | 1.1 | |
| list_moves_for_piece_storagesrc/store.rs:624 | fn | 10 | 1 | 1 | 2 | 1.1 | |
| row_piece_coresrc/store.rs:1603 | fn | 9 | 1 | 1 | 1 | 1.1 | |
| row_piece_identitysrc/store.rs:1624 | fn | 13 | 1 | 1 | 2 | 1.1 | |
| row_piece_statesrc/store.rs:1681 | fn | 13 | 1 | 1 | 2 | 1.1 | |
| row_movesrc/store.rs:1728 | fn | 23 | 1 | 2 | 3 | 1 | |
| asset_holderssrc/store.rs:1234 | fn | 24 | 1 | 1 | 2 | 1 | |
| get_match_storagesrc/store.rs:801 | fn | 23 | 2 | 1 | 4 | 1 | |
| list_moves_for_piece_truthsrc/store.rs:636 | fn | 12 | 2 | 1 | 3 | 1 | |
| list_moves_for_piece_sqlsrc/store.rs:666 | fn | 13 | 1 | 1 | 4 | 1 | |
| record_move_storagesrc/store.rs:526 | fn | 54 | 1 | 1 | 3 | 1 | |
| row_piece_actorssrc/store.rs:1645 | fn | 6 | 1 | 1 | 1 | 0.9 | |
| row_piece_boardsrc/store.rs:1661 | fn | 8 | 1 | 1 | 1 | 0.9 | |
| row_piece_counterssrc/store.rs:1703 | fn | 7 | 1 | 1 | 2 | 0.9 | |
| row_piece_tailsrc/store.rs:1719 | fn | 7 | 1 | 1 | 2 | 0.9 | |
| piece_upsert_statementsrc/store.rs:289 | fn | 45 | 1 | 2 | 0 | 0.9 | |
| agent_reward_balancessrc/store.rs:1271 | fn | 18 | 1 | 3 | 1 | 0.9 | |
| row_move_scopesrc/store.rs:1786 | fn | 8 | 1 | 1 | 1 | 0.8 | |
| row_move_actorssrc/store.rs:1802 | fn | 3 | 1 | 1 | 1 | 0.8 | |
| row_piece_event_coresrc/store.rs:1873 | fn | 9 | 1 | 1 | 1 | 0.8 | |
| row_piece_event_tailsrc/store.rs:1893 | fn | 9 | 1 | 1 | 4 | 0.8 | |
| end_unplayedsrc/store.rs:925 | fn | 12 | 2 | 2 | 0 | 0.8 | |
| match_pliessrc/store.rs:943 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| seated_peoplesrc/store.rs:948 | fn | 11 | 2 | 2 | 5 | 0.8 | |
| row_move_coresrc/store.rs:1763 | fn | 13 | 1 | 1 | 2 | 0.8 | |
| row_move_squaressrc/store.rs:1816 | fn | 9 | 1 | 1 | 3 | 0.8 | |
| row_move_tailsrc/store.rs:1835 | fn | 8 | 1 | 1 | 3 | 0.8 | |
| list_piece_eventssrc/store.rs:1192 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| append_piece_move_from_truth_rowsrc/store.rs:650 | fn | 14 | 3 | 1 | 0 | 0.8 | |
| sort_moves_for_projectionsrc/store.rs:1527 | fn | 5 | 1 | 1 | 0 | 0.8 | |
| anchor_match_completionsrc/store.rs:1037 | fn | 154 | 2 | 1 | 3 | 0.8 | |
| settle_capture_transfersrc/store.rs:1359 | fn | 76 | 2 | 1 | 4 | 0.7 | |
| row_piece_eventsrc/store.rs:1845 | fn | 17 | 1 | 1 | 2 | 0.7 | |
| list_moves_for_piecesrc/store.rs:620 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| list_recent_matches_storagesrc/store.rs:1002 | fn | 34 | 3 | 1 | 4 | 0.7 | |
| project_idle_matchsrc/store.rs:890 | fn | 34 | 13 | 1 | 8 | 0.7 | |
| sanitize_graph_keysrc/store.rs:1496 | fn | 16 | 5 | 1 | 0 | 0.7 | |
| with_chess_match_graph_mutsrc/store.rs:1534 | fn | 12 | 1 | 1 | 3 | 0.7 | |
| match_slotssrc/store.rs:938 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| upsert_piecessrc/store.rs:268 | fn | 19 | 2 | 2 | 5 | 0.7 | |
| row_match_coresrc/store.rs:1943 | fn | 9 | 1 | 1 | 1 | 0.7 | |
| row_match_outcomesrc/store.rs:1963 | fn | 9 | 1 | 1 | 2 | 0.7 | |
| row_match_graphsrc/store.rs:1980 | fn | 6 | 1 | 1 | 2 | 0.7 | |
| row_match_payloadsrc/store.rs:1995 | fn | 7 | 1 | 1 | 1 | 0.7 | |
| row_match_auditsrc/store.rs:2011 | fn | 7 | 1 | 1 | 2 | 0.7 | |
| display_asset_idsrc/store.rs:2019 | fn | 4 | 2 | 1 | 0 | 0.7 | |
| initialize_standard_setupsrc/store.rs:90 | fn | 19 | 3 | 1 | 6 | 0.6 | |
| inventory_payloadsrc/store.rs:1436 | fn | 38 | 4 | 1 | 3 | 0.6 | |
| list_recent_matchessrc/store.rs:998 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| record_movesrc/store.rs:522 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| board_payloadsrc/store.rs:1475 | fn | 20 | 4 | 0 | 0 | 0.5 | |
| with_chess_match_graph_mutsrc/store.rs:1548 | fn | 8 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.