1 viewer
rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off
crates/cre8-test-helpers/src/lib.rs
Items
static LOCK static LOCK struct EnvVarGuard impl EnvVarGuard impl Default for EnvVarGuard impl Drop for EnvVarGuard
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| EnvVarGuard::newsrc/lib.rs:56 | method | 3 | 1 | 21 | 1 | 38.2 | |
| env_test_locksrc/lib.rs:36 | fn | 3 | 1 | 2 | 1 | 33.2 | |
| env_test_mutexsrc/lib.rs:40 | fn | 4 | 1 | 1 | 0 | 28.7 | |
| EnvVarGuard::setsrc/lib.rs:60 | method | 7 | 2 | 121 | 1 | 21.8 | |
| open_test_graphsrc/lib.rs:21 | fn | 3 | 1 | 194 | 0 | 18.7 | |
| EnvVarGuard::unsetsrc/lib.rs:68 | method | 7 | 2 | 87 | 1 | 17.1 | |
| process_test_mutexsrc/lib.rs:31 | fn | 4 | 1 | 2 | 0 | 4 | |
| process_test_locksrc/lib.rs:27 | fn | 3 | 1 | 25 | 1 | 3.4 | |
| EnvVarGuard::set_varsrc/lib.rs:76 | method | 6 | 1 | 3 | 1 | 0.9 | |
| test_env_namesrc/lib.rs:116 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| EnvVarGuard::defaultsrc/lib.rs:92 | trait impl | 3 | 1 | 1 | 1 | 0.6 | |
| EnvVarGuard::remove_varsrc/lib.rs:83 | method | 6 | 1 | 0 | 1 | 0.5 | |
| EnvVarGuard::dropsrc/lib.rs:98 | trait impl | 12 | 3 | 0 | 0 | 0.5 | |
| open_test_graph_returns_empty_memory_graphsrc/lib.rs:121 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| process_and_env_locks_are_reentrant_after_dropsrc/lib.rs:129 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| env_var_guard_sets_unsets_and_restores_in_reverse_ordersrc/lib.rs:137 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| env_var_guard_constructors_restore_absent_and_present_valuessrc/lib.rs:158 | fn | 26 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.