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

health

cre8_app_paper::engine::health

fn · cre8-app-paper · crates/cre8-app-paper/src/engine.rs:94 pub documented

7lines
2cyclomatic
1max nesting
4statements
1? exits
2params
4callers
3callees
0.7 (p58)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitepath · 1 sitemethod · 2 sitesmethod · 1 sitename · 1 sitename · 3 sitesname · 2 sitesmethod · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitesweepapp-paper · cc 9cre8_app_paper::ops::sweephandle_accountsapp-paper · cc 1cre8_app_paper::connection::handle_accountshandle_positionsapp-paper · cc 1cre8_app_paper::connection::handle_positionsload_indexapp-paper · cc 2cre8_app_paper::view::load_indexload_account_pageapp-paper · cc 2cre8_app_paper::view::load_account_pagethe_index_labels_paper_and_…app-paper · cc 2cre8_app_paper::view::tests::the_index_labels_paper_and_lists_accountsthe_account_page_renders_se…app-paper · cc 2cre8_app_paper::view::tests::the_account_page_renders_sections_and_a_missing_accountpage_shapes_holdapp-paper · cc 1cre8_app_paper::view::tests::page_shapes_holdsnapshotapp-paper · cc 3cre8_app_paper::ops::snapshotsweep_accountapp-paper · cc 20cre8_app_paper::ops::sweep_accountvaluation_splits_assets_and…app-paper · cc 1cre8_app_paper::engine::tests::valuation_splits_assets_and_debt_and_gates_leveragemulti_position_liquidation_…app-paper · cc 1cre8_app_paper::engine::tests::multi_position_liquidation_price_holds_other_marks_fixedhealthapp-paper · cc 2cre8_app_paper::engine::healthmeets_maintenance_unitsutil-options · cc 6cre8_util_options::margin::meets_maintenance_unitsvaluationapp-paper · cc 5cre8_app_paper::engine::valuationValuation::completeapp-paper · cc 1cre8_app_paper::engine::Valuation::completeRatio::is_positiveutil-options · cc 1cre8_util_options::ratio::Ratio::is_positiveRatio::checked_negutil-options · cc 1cre8_util_options::ratio::Ratio::checked_negminor_scaleapp-paper · cc 1cre8_app_paper::model::minor_scalecmp_mulutil-options · cc 1cre8_util_options::ratio::cmp_mulRatio::is_negativeutil-options · cc 1cre8_util_options::ratio::Ratio::is_negativenotional_floorapp-paper · cc 1cre8_app_paper::engine::notional_floornotional_ceilapp-paper · cc 1cre8_app_paper::engine::notional_ceil

Control flow

Source not readable from this process.

Callers 4

Callees 3

Source not readable from this process.