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-utility/src/connection.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| consumesrc/connection.rs:65 | fn | 56 | 4 | 4 | 5 | 3.2 | |
| get_non_empty_refsrc/connection.rs:139 | fn | 3 | 1 | 3 | 0 | 2.7 | |
| get_first_non_emptysrc/connection.rs:143 | fn | 3 | 1 | 2 | 1 | 1.5 | |
| connectsrc/connection.rs:34 | fn | 15 | 4 | 3 | 1 | 1.3 | |
| truth_contextsrc/connection.rs:152 | fn | 3 | 1 | 4 | 1 | 1.1 | |
| default_action_kindsrc/connection.rs:122 | fn | 7 | 3 | 1 | 0 | 1 | |
| default_unitsrc/connection.rs:130 | fn | 8 | 4 | 1 | 0 | 1 | |
| handle_utility_consumesrc/connection.rs:50 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| handle_water_consumesrc/connection.rs:55 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| handle_energy_consumesrc/connection.rs:60 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| test_utility_input_deserializationsrc/connection.rs:157 | fn | 17 | 1 | 0 | 0 | 0.5 | |
| test_get_non_empty_refsrc/connection.rs:176 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| first_non_empty_prefers_primary_then_trimmed_fallbacksrc/connection.rs:185 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| connect_status_unknown_and_invalid_inputs_are_stablesrc/connection.rs:198 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| generic_consume_defaults_and_records_utility_eventsrc/connection.rs:214 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| water_handler_applies_drink_defaults_and_preserves_existing_payload_fieldssrc/connection.rs:240 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| energy_handler_maps_to_electricity_and_carries_location_time_and_sourcesrc/connection.rs:266 | fn | 34 | 1 | 0 | 3 | 0.5 | |
| explicit_compute_resource_kind_uses_compute_defaults_and_fallback_object_idsrc/connection.rs:302 | fn | 19 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.