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-metering/src/preflight.rs
Items
struct AffordabilityQuote struct CapHeadroomEntry const ASSET_TOKENS_IN
Functions
By call-graph weight (PageRank; 1.0 is the average function). 31 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| compute_cap_headroomsrc/preflight.rs:245 | fn | 51 | 7 | 14 | 7 | 2.2 | |
| cap_scope_labelsrc/preflight.rs:204 | fn | 8 | 4 | 2 | 0 | 1.4 | |
| check_llm_preflightsrc/preflight.rs:40 | fn | 27 | 3 | 8 | 2 | 1.3 | |
| check_manifold_cap_preflightsrc/preflight.rs:138 | fn | 29 | 3 | 2 | 3 | 1.3 | |
| cap_contractsrc/preflight.rs:491 | fn | 10 | 1 | 8 | 2 | 1.2 | |
| read_flow_historysrc/preflight.rs:297 | fn | 60 | 12 | 2 | 5 | 1.1 | |
| llm_affordability_quotesrc/preflight.rs:81 | fn | 22 | 3 | 1 | 2 | 1.1 | |
| seed_flowsrc/preflight.rs:505 | fn | 27 | 2 | 6 | 9 | 1 | |
| llm_denom_candidatessrc/preflight.rs:104 | fn | 15 | 3 | 1 | 1 | 0.9 | |
| estimated_llm_costsrc/preflight.rs:120 | fn | 16 | 3 | 1 | 1 | 0.9 | |
| parent_cap_contractsrc/preflight.rs:381 | fn | 10 | 1 | 4 | 2 | 0.9 | |
| run_check_genericsrc/preflight.rs:168 | fn | 16 | 1 | 1 | 2 | 0.9 | |
| unsupported_cap_headroom_entrysrc/preflight.rs:213 | fn | 22 | 1 | 1 | 1 | 0.8 | |
| scope_key_matchessrc/preflight.rs:358 | fn | 13 | 6 | 1 | 0 | 0.7 | |
| no_contract_means_uncapped_passsrc/preflight.rs:393 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| under_cap_passessrc/preflight.rs:400 | fn | 6 | 1 | 0 | 4 | 0.5 | |
| over_cap_denies_with_named_rulesrc/preflight.rs:408 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| specific_contract_does_not_hide_parent_capsrc/preflight.rs:418 | fn | 18 | 1 | 0 | 7 | 0.5 | |
| unsupported_scoped_cap_is_reported_not_hiddensrc/preflight.rs:438 | fn | 24 | 1 | 0 | 5 | 0.5 | |
| zero_estimate_is_always_oksrc/preflight.rs:464 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| headroom_per_peer_matches_cap_minus_spentsrc/preflight.rs:534 | fn | 12 | 1 | 0 | 5 | 0.5 | |
| headroom_per_peer_isolated_between_peerssrc/preflight.rs:548 | fn | 11 | 1 | 0 | 5 | 0.5 | |
| headroom_global_shared_across_peerssrc/preflight.rs:561 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| headroom_per_role_reported_as_unsupportedsrc/preflight.rs:578 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| headroom_by_attribute_reported_as_unsupportedsrc/preflight.rs:595 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| per_role_cap_survives_serde_round_trip_via_storagesrc/preflight.rs:606 | fn | 23 | 1 | 0 | 6 | 0.5 | |
| headroom_no_matching_rule_is_emptysrc/preflight.rs:631 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| headroom_strictest_of_multiple_rules_visiblesrc/preflight.rs:640 | fn | 35 | 1 | 0 | 6 | 0.5 | |
| headroom_exhausted_returns_zero_not_negativesrc/preflight.rs:677 | fn | 20 | 1 | 0 | 5 | 0.5 | |
| headroom_exactly_equals_cap_is_zerosrc/preflight.rs:699 | fn | 18 | 1 | 0 | 6 | 0.5 | |
| affordability_denial_when_balance_insufficientsrc/preflight.rs:719 | fn | 30 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.