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-store/src/lib.rs
Items
struct FakeTruth impl FakeTruth impl TruthInterface for FakeTruth
Functions
By call-graph weight (PageRank; 1.0 is the average function). 27 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| device_records_from_profilesrc/lib.rs:83 | fn | 35 | 3 | 3 | 8 | 2.5 | |
| sync_peer_devicessrc/lib.rs:119 | fn | 16 | 3 | 4 | 1 | 2.1 | |
| get_devicesrc/lib.rs:225 | fn | 3 | 1 | 2 | 0 | 1.7 | |
| upsert_peer_devicessrc/lib.rs:173 | fn | 9 | 2 | 3 | 2 | 1.3 | |
| list_devicessrc/lib.rs:183 | fn | 8 | 1 | 2 | 0 | 1.2 | |
| sanitize_device_idsrc/lib.rs:17 | fn | 6 | 6 | 1 | 0 | 1.1 | |
| skip_upsertsrc/lib.rs:136 | fn | 3 | 2 | 1 | 0 | 1 | |
| merge_device_rowssrc/lib.rs:152 | fn | 10 | 2 | 1 | 2 | 1 | |
| prune_offline_devicessrc/lib.rs:197 | fn | 27 | 5 | 2 | 0 | 1 | |
| records_by_device_idsrc/lib.rs:140 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| preserve_created_atsrc/lib.rs:144 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| count_devicessrc/lib.rs:229 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| extract_devicessrc/lib.rs:13 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| device_id_forsrc/lib.rs:24 | fn | 13 | 2 | 1 | 1 | 0.8 | |
| device_kind_forsrc/lib.rs:38 | fn | 9 | 1 | 1 | 0 | 0.8 | |
| device_class_forsrc/lib.rs:50 | fn | 9 | 1 | 1 | 1 | 0.8 | |
| device_last_seen_ms_forsrc/lib.rs:62 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| device_label_forsrc/lib.rs:66 | fn | 9 | 1 | 1 | 0 | 0.8 | |
| profilesrc/lib.rs:293 | fn | 20 | 1 | 2 | 0 | 0.8 | |
| FakeTruth::replace_callssrc/lib.rs:247 | method | 3 | 1 | 1 | 0 | 0.5 | |
| FakeTruth::namesrc/lib.rs:253 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_replace_peer_recordssrc/lib.rs:257 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_listsrc/lib.rs:265 | trait impl | 12 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_getsrc/lib.rs:278 | trait impl | 9 | 2 | 0 | 0 | 0.5 | |
| FakeTruth::device_countsrc/lib.rs:288 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| records_from_profile_normalize_ids_labels_classes_and_livenesssrc/lib.rs:315 | fn | 22 | 1 | 0 | 2 | 0.5 | |
| sync_upsert_list_get_count_and_prune_delegate_to_truthsrc/lib.rs:339 | fn | 44 | 2 | 0 | 8 | 0.5 |
Source not readable from this process.