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-metering/src/budget_policy.rs
Items
enum BudgetDenial impl Display for BudgetDenial impl Error for BudgetDenial impl From for FlowError
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| check_budgetsrc/budget_policy.rs:79 | fn | 49 | 6 | 6 | 3 | 1.1 | |
| scope_key_matchessrc/budget_policy.rs:194 | fn | 13 | 6 | 2 | 0 | 1 | |
| read_flow_historysrc/budget_policy.rs:133 | fn | 60 | 12 | 1 | 6 | 0.8 | |
| capped_contractsrc/budget_policy.rs:218 | fn | 10 | 1 | 2 | 2 | 0.6 | |
| BudgetDenial::fmtsrc/budget_policy.rs:38 | trait impl | 10 | 2 | 0 | 0 | 0.5 | |
| FlowError::fromsrc/budget_policy.rs:53 | trait impl | 15 | 2 | 0 | 0 | 0.5 | |
| empty_estimate_passes_triviallysrc/budget_policy.rs:230 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| estimate_under_cap_passessrc/budget_policy.rs:238 | fn | 8 | 1 | 0 | 6 | 0.5 | |
| estimate_over_cap_deniessrc/budget_policy.rs:248 | fn | 14 | 2 | 0 | 6 | 0.5 | |
| missing_manifold_for_estimated_asset_errorssrc/budget_policy.rs:264 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| zero_amount_skipped_silentlysrc/budget_policy.rs:274 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| scope_key_matches_all_supported_scope_shapessrc/budget_policy.rs:284 | fn | 52 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.