1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-network-model/src/router.rs
Items
struct NetworkRoute struct ConsensusPolicy impl Default for ConsensusPolicy struct NetworkState
Functions
By call-graph weight (PageRank; 1.0 is the average function). 7 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ConsensusPolicy::defaultsrc/router.rs:20 | trait impl | 3 | 1 | 5 | 0 | 4.2 | |
| parse_network_statesrc/router.rs:68 | fn | 3 | 1 | 3 | 0 | 1.7 | |
| resolve_next_hopsrc/router.rs:42 | fn | 25 | 4 | 2 | 0 | 0.9 | |
| statesrc/router.rs:77 | fn | 20 | 1 | 1 | 1 | 0.7 | |
| consensus_policy_default_is_stablesrc/router.rs:99 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| resolve_next_hop_covers_local_explicit_known_and_missing_routessrc/router.rs:107 | fn | 18 | 1 | 0 | 2 | 0.5 | |
| parse_network_state_accepts_valid_json_and_rejects_bad_shapessrc/router.rs:127 | fn | 31 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.