Skip to content
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

headroom

cre8_app_budget::policy::headroom

fn · cre8-app-budget · crates/cre8-app-budget/src/policy.rs:62 pub documented

18lines
2cyclomatic
1max nesting
6statements
2? exits
3params
5callers
5callees
2.2 (p95)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (5 direct callers, 5 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

ref · 1 sitename · 1 sitename · 2 sitesname · 2 sitesname · 3 sitespath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitebudget_connection_handlerapp-budget · cc 1cre8_app_budget::connection::budget_connection_handlerprepare_task_budget_on_crea…app-task · cc 2cre8_app_task::connection::prepare_task_budget_on_createconnection_dispatch_covers_…app-budget · cc 1cre8_app_budget::connection::tests::connection_dispatch_covers_budget_queries_and_filtersbody_wrapped_set_and_altern…app-budget · cc 1cre8_app_budget::connection::tests::body_wrapped_set_and_alternate_status_scopes_are_coveredhandle_budget_statusapp-budget · cc 4cre8_app_budget::connection::handle_budget_statusmaybe_check_task_budget_hea…app-task · cc 6cre8_app_task::connection::maybe_check_task_budget_headroomhandle_budget_headroomapp-budget · cc 4cre8_app_budget::connection::handle_budget_headroomheadroom_returns_min_across…app-budget · cc 1cre8_app_budget::policy::tests::headroom_returns_min_across_chainno_match_headroom_and_nonpo…app-budget · cc 1cre8_app_budget::policy::tests::no_match_headroom_and_nonpositive_commit_are_coveredheadroomapp-budget · cc 2cre8_app_budget::policy::headroomnow_msplatform-time · cc 1cre8_platform_time::now_mslock_storeapp-budget · cc 1cre8_app_budget::store::lock_storefind_leaf_lockedapp-budget · cc 8cre8_app_budget::store::find_leaf_lockedmaybe_reset_chain_windows_l…app-budget · cc 2cre8_app_budget::policy::maybe_reset_chain_windows_lockedwalk_ancestor_ids_lockedapp-budget · cc 3cre8_app_budget::store::walk_ancestor_ids_lockedstoreapp-budget · cc 1cre8_app_budget::store::storelock_budget_storeapp-budget · cc 1cre8_app_budget::store::lock_budget_storecategory_coversapp-budget · cc 5cre8_app_budget::store::category_coversmaybe_reset_one_window_lock…app-budget · cc 6cre8_app_budget::policy::maybe_reset_one_window_locked

Control flow

Source not readable from this process.

Callers 5

Callees 5

Source not readable from this process.