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-util-options/src/payoff.rs
Items
enum LegKind impl From for LegKind struct Leg impl Leg struct PayoffBounds
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Leg::value_atsrc/payoff.rs:56 | method | 7 | 3 | 2 | 0 | 3 | |
| Leg::profit_atsrc/payoff.rs:65 | method | 3 | 1 | 1 | 1 | 2.3 | |
| payoff_atsrc/payoff.rs:71 | fn | 3 | 1 | 4 | 1 | 2.2 | |
| breakpointssrc/payoff.rs:95 | fn | 12 | 3 | 2 | 0 | 1.4 | |
| Leg::callsrc/payoff.rs:47 | method | 3 | 1 | 7 | 0 | 1.4 | |
| breakevenssrc/payoff.rs:111 | fn | 27 | 12 | 5 | 2 | 1.2 | |
| boundssrc/payoff.rs:151 | fn | 33 | 5 | 4 | 2 | 1 | |
| Leg::putsrc/payoff.rs:51 | method | 3 | 1 | 3 | 0 | 0.9 | |
| payoff_curvesrc/payoff.rs:77 | fn | 15 | 7 | 2 | 1 | 0.8 | |
| Leg::spotsrc/payoff.rs:43 | method | 3 | 1 | 1 | 0 | 0.6 | |
| LegKind::fromsrc/payoff.rs:24 | trait impl | 6 | 2 | 0 | 0 | 0.5 | |
| long_call_shape_and_breakevensrc/payoff.rs:190 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| straddle_has_two_breakevenssrc/payoff.rs:202 | fn | 7 | 2 | 0 | 4 | 0.5 | |
| bull_call_spread_is_bounded_both_wayssrc/payoff.rs:211 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| naked_short_call_and_covered_callsrc/payoff.rs:220 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| curve_samples_both_endssrc/payoff.rs:232 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| flat_zero_segment_reports_its_edgessrc/payoff.rs:243 | fn | 5 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.