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

valuation

cre8_app_paper::engine::valuation

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

26lines
5cyclomatic
2max nesting
18statements
11? exits
2params
6callers
6callees
1.1 (p81)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitepath · 1 sitemethod · 2 sitespath · 1 sitepath · 1 sitemethod · 2 sitesmethod · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitename · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 3 sitesname · 2 sitesname · 1 sitename · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 siteself · 1 sitesweepapp-paper · cc 9cre8_app_paper::ops::sweepplace_orderapp-paper · cc 9cre8_app_paper::connection::place_orderhandle_accountsapp-paper · cc 1cre8_app_paper::connection::handle_accountssweep_accountapp-paper · cc 20cre8_app_paper::ops::sweep_accounthandle_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_pagemulti_position_liquidation_…app-paper · cc 1cre8_app_paper::engine::tests::multi_position_liquidation_price_holds_other_marks_fixedthe_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_accountsnapshotapp-paper · cc 3cre8_app_paper::ops::snapshothealthapp-paper · cc 2cre8_app_paper::engine::healthliquidation_priceapp-paper · cc 7cre8_app_paper::engine::liquidation_priceexecuteapp-paper · cc 9cre8_app_paper::ops::executewithin_leverageapp-paper · cc 2cre8_app_paper::engine::within_leveragevaluation_splits_assets_and…app-paper · cc 1cre8_app_paper::engine::tests::valuation_splits_assets_and_debt_and_gates_leveragevaluationapp-paper · cc 5cre8_app_paper::engine::valuationRatio::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_scaleRatio::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_ceilRatio::floor_mulutil-options · cc 1cre8_util_options::ratio::Ratio::floor_mulRatio::ceil_mulutil-options · cc 1cre8_util_options::ratio::Ratio::ceil_mulRatio::checked_absutil-options · cc 2cre8_util_options::ratio::Ratio::checked_abs

Control flow

Source not readable from this process.

Callers 6

Callees 6

Source not readable from this process.