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/clock.rs
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| elapsedsrc/clock.rs:11 | fn | 7 | 2 | 4 | 0 | 2.2 | |
| is_wallsrc/clock.rs:6 | fn | 4 | 2 | 5 | 0 | 1.9 | |
| timersrc/clock.rs:63 | fn | 1 | 1 | 5 | 0 | 1.2 | |
| expiredsrc/clock.rs:27 | fn | 11 | 4 | 4 | 1 | 1.1 | |
| controlsrc/clock.rs:62 | fn | 1 | 1 | 4 | 0 | 1 | |
| advancesrc/clock.rs:39 | fn | 19 | 5 | 4 | 1 | 1 | |
| remainingsrc/clock.rs:19 | fn | 5 | 3 | 2 | 1 | 0.8 | |
| only_the_active_clock_counts_downsrc/clock.rs:66 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| the_first_move_arms_the_clock_without_charging_waiting_timesrc/clock.rs:73 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| time_and_increment_settle_once_at_the_movesrc/clock.rs:81 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| expiry_uses_the_saved_deadline_and_cannot_be_rescued_by_incrementsrc/clock.rs:88 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| legacy_and_armed_games_do_not_expire_by_wall_timesrc/clock.rs:97 | fn | 5 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.