1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-chess/src/model.rs
Items
struct ChessRoomRef impl ChessRoomRef struct ChessPieceRecord impl ChessPieceRecord struct ChessMoveRecord struct ChessPieceEvent struct ChessMatchRecord impl ChessMatchRecord
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| normalize_tokensrc/model.rs:177 | fn | 9 | 4 | 3 | 0 | 1.9 | |
| asset_id_for_piecesrc/model.rs:166 | fn | 3 | 1 | 3 | 0 | 1.8 | |
| piece_idsrc/model.rs:156 | fn | 9 | 1 | 2 | 1 | 1.5 | |
| sample_piecesrc/model.rs:206 | fn | 21 | 1 | 2 | 0 | 1.3 | |
| ChessRoomRef::newsrc/model.rs:11 | method | 3 | 1 | 1 | 0 | 0.9 | |
| non_empty_stringsrc/model.rs:192 | fn | 4 | 2 | 2 | 0 | 0.7 | |
| normalize_objectsrc/model.rs:197 | fn | 3 | 2 | 2 | 0 | 0.7 | |
| normalize_textsrc/model.rs:172 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| normalize_actorsrc/model.rs:187 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| ChessPieceRecord::normalizesrc/model.rs:38 | method | 25 | 3 | 0 | 5 | 0.5 | |
| ChessMatchRecord::normalizesrc/model.rs:121 | method | 33 | 6 | 0 | 5 | 0.5 | |
| piece_id_normalizes_tokens_and_slug_formatsrc/model.rs:229 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| asset_id_for_piece_prefixes_cre8_itemsrc/model.rs:239 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| chess_piece_record_normalize_trims_lowercases_and_seeds_timestampssrc/model.rs:244 | fn | 23 | 1 | 0 | 1 | 0.5 | |
| chess_piece_record_serde_round_tripsrc/model.rs:269 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| chess_match_record_normalize_supplies_defaults_and_completessrc/model.rs:277 | fn | 39 | 1 | 0 | 1 | 0.5 | |
| chess_room_ref_carries_kindsrc/model.rs:318 | fn | 8 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.