1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-vehicle/src/capability.rs
Items
struct SupportedPidBlock impl SupportedPidBlock struct SupportedPidDiscovery impl SupportedPidDiscovery enum CapabilityParseError impl Display for CapabilityParseError impl Error for CapabilityParseError
Functions
By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SupportedPidBlock::parsesrc/capability.rs:26 | method | 4 | 1 | 6 | 2 | 3.4 | |
| SupportedPidDiscovery::parse_allsrc/capability.rs:65 | method | 16 | 2 | 7 | 4 | 2.9 | |
| capability_parse_error_block_textsrc/capability.rs:199 | fn | 15 | 5 | 2 | 0 | 2 | |
| SupportedPidBlock::from_bytessrc/capability.rs:32 | method | 20 | 4 | 1 | 2 | 2 | |
| parse_hex_bytessrc/capability.rs:139 | fn | 20 | 4 | 1 | 0 | 2 | |
| supported_pids_from_blocksrc/capability.rs:118 | fn | 16 | 3 | 1 | 0 | 1.3 | |
| pid_to_hexsrc/capability.rs:135 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| capability_parse_error_payload_textsrc/capability.rs:187 | fn | 11 | 3 | 1 | 1 | 1.3 | |
| parse_expected_blocksrc/capability.rs:83 | fn | 9 | 3 | 1 | 1 | 1.1 | |
| record_supported_pidssrc/capability.rs:93 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| next_expected_blocksrc/capability.rs:97 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| reject_missing_follow_upsrc/capability.rs:101 | fn | 6 | 2 | 1 | 0 | 1.1 | |
| capability_parse_error_textsrc/capability.rs:180 | fn | 6 | 2 | 1 | 1 | 0.9 | |
| supported_pid_ids_from_responsesrc/capability.rs:109 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| supported_pid_ids_from_responsessrc/capability.rs:114 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| CapabilityParseError::fmtsrc/capability.rs:173 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| capability_parse_error_block_text_has_safe_fallbacksrc/capability.rs:220 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| parse_single_bitmap_responsesrc/capability.rs:228 | fn | 14 | 1 | 0 | 1 | 0.5 | |
| parse_single_block_picks_up_last_data_bit_and_continuation_flagsrc/capability.rs:244 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| walk_multiple_blocks_in_ordersrc/capability.rs:252 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| reject_unexpected_block_ordersrc/capability.rs:264 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| reject_truncated_responsesrc/capability.rs:270 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| capability_parse_errors_explain_response_shape_failuressrc/capability.rs:276 | fn | 19 | 2 | 0 | 2 | 0.5 | |
| supported_pid_id_helpers_delegate_to_single_and_chained_discoverysrc/capability.rs:297 | fn | 21 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.