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-device/src/print_gate.rs
Items
const PRINT_ACCESS_ENV const MACHINE_ACCESS_ENV const OPERATOR_ENV struct Guarded const PRINTER const MACHINE enum PrintAccess impl PrintAccess
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| check_guardedsrc/print_gate.rs:181 | fn | 18 | 2 | 2 | 5 | 2.3 | |
| refusalsrc/print_gate.rs:96 | fn | 3 | 1 | 1 | 0 | 2.3 | |
| decide_guardedsrc/print_gate.rs:112 | fn | 47 | 10 | 3 | 1 | 2.1 | |
| PrintAccess::parsesrc/print_gate.rs:77 | method | 8 | 4 | 2 | 0 | 1.3 | |
| checksrc/print_gate.rs:170 | fn | 3 | 1 | 1 | 1 | 1.3 | |
| decidesrc/print_gate.rs:101 | fn | 9 | 1 | 3 | 1 | 1.2 | |
| opssrc/print_gate.rs:204 | fn | 3 | 1 | 3 | 0 | 1 | |
| operatorssrc/print_gate.rs:160 | fn | 7 | 1 | 1 | 1 | 0.9 | |
| check_machinesrc/print_gate.rs:176 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| codesrc/print_gate.rs:208 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| PrintAccess::keywordsrc/print_gate.rs:86 | method | 8 | 4 | 0 | 0 | 0.5 | |
| parse_fails_closedsrc/print_gate.rs:213 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| simulator_is_never_gatedsrc/print_gate.rs:222 | fn | 5 | 2 | 0 | 1 | 0.5 | |
| auto_is_open_locally_and_operator_only_when_enforcingsrc/print_gate.rs:229 | fn | 11 | 1 | 0 | 3 | 0.5 | |
| the_machine_gate_has_its_own_key_code_and_wordssrc/print_gate.rs:242 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| explicit_policiessrc/print_gate.rs:255 | fn | 9 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.