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

payoff_series

cre8_app_derivatives::view::payoff_series

fn · cre8-app-derivatives · crates/cre8-app-derivatives/src/view.rs:756 pub documented

32lines
3cyclomatic
2max nesting
17statements
0? exits
2params
2callers
7callees
0.6 (p52)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitemethod · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 4 sitesref · 1 sitepath · 1 siteref · 1 sitepath · 1 sitemethod · 1 sitepath · 1 sitename · 2 sitesmethod · 1 sitederivative_bodyapp-derivatives · cc 1cre8_app_derivatives::view::derivative_bodypage_shapes_holdapp-derivatives · cc 1cre8_app_derivatives::view::tests::page_shapes_holdbuild_detail_treeapp-derivatives · cc 11cre8_app_derivatives::view::build_detail_treethe_detail_page_shows_terms…app-derivatives · cc 2cre8_app_derivatives::view::tests::the_detail_page_shows_terms_forms_and_a_payoff_curvepayoff_seriesapp-derivatives · cc 3cre8_app_derivatives::view::payoff_seriesRatio::to_f64util-options · cc 1cre8_util_options::ratio::Ratio::to_f64DerivativeSeries::strike_ra…app-derivatives · cc 1cre8_app_derivatives::model::DerivativeSeries::strike_ratioLeg::callutil-options · cc 1cre8_util_options::payoff::Leg::callDerivativeSeries::ref_ratioapp-derivatives · cc 1cre8_app_derivatives::model::DerivativeSeries::ref_ratioLeg::pututil-options · cc 1cre8_util_options::payoff::Leg::putfuture_bandapp-derivatives · cc 1cre8_app_derivatives::model::future_bandpayoff_curveutil-options · cc 7cre8_util_options::payoff::payoff_curveRatio::is_positiveutil-options · cc 1cre8_util_options::ratio::Ratio::is_positiveRatio::from_decimal_strutil-options · cc 9cre8_util_options::ratio::Ratio::from_decimal_strpayoff_atutil-options · cc 1cre8_util_options::payoff::payoff_atcapped_bandutil-options · cc 4cre8_util_options::settle::capped_band

Control flow

Source not readable from this process.

Callers 2

Callees 7

Source not readable from this process.