1 viewer
rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off
crates/cre8-app-politics/src/connection.rs
Items
const SPECS struct StanceVector struct PoliticsInput struct CandidateInput struct VoterBlockInput type StanceStore const KIND_STANCE type ConnectionHandlerEntry static HANDLERS static STORE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| connectsrc/connection.rs:88 | fn | 10 | 4 | 4 | 3 | 2.2 | |
| fallback_storesrc/connection.rs:257 | fn | 4 | 1 | 1 | 0 | 2 | |
| lock_fallback_storesrc/connection.rs:249 | fn | 6 | 2 | 3 | 1 | 1.8 | |
| set_stancessrc/connection.rs:117 | fn | 15 | 1 | 1 | 2 | 1.1 | |
| predict_votesrc/connection.rs:133 | fn | 42 | 5 | 1 | 3 | 1.1 | |
| simulate_electionsrc/connection.rs:176 | fn | 19 | 3 | 1 | 1 | 1.1 | |
| stance_vidsrc/connection.rs:76 | fn | 3 | 1 | 2 | 0 | 1 | |
| save_stancessrc/connection.rs:210 | fn | 12 | 2 | 1 | 3 | 1 | |
| load_stancessrc/connection.rs:197 | fn | 6 | 1 | 1 | 3 | 0.8 | |
| list_stance_peerssrc/connection.rs:230 | fn | 12 | 1 | 1 | 2 | 0.8 | |
| handle_set_stancessrc/connection.rs:99 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| handle_predict_votesrc/connection.rs:105 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| handle_simulate_electionsrc/connection.rs:111 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| load_stancessrc/connection.rs:205 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| save_stancessrc/connection.rs:224 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| list_stance_peerssrc/connection.rs:244 | fn | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.