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-app-derivatives/src/e2e_tests.rs
Items
const BTC const USD const EXPIRY const DAY const MINUTE const T0 const CALL_100 const PUT_100 struct Harness impl Harness
Functions
By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Harness::applysrc/e2e_tests.rs:105 | method | 9 | 1 | 2 | 0 | 2.5 | |
| option_inputsrc/e2e_tests.rs:82 | fn | 15 | 2 | 3 | 0 | 1.6 | |
| harnesssrc/e2e_tests.rs:44 | fn | 25 | 1 | 15 | 10 | 1.3 | |
| Harness::fundsrc/e2e_tests.rs:115 | method | 3 | 1 | 15 | 1 | 1.3 | |
| call_inputsrc/e2e_tests.rs:78 | fn | 3 | 1 | 13 | 1 | 1.2 | |
| Harness::balancesrc/e2e_tests.rs:125 | method | 3 | 1 | 13 | 0 | 1.1 | |
| as_peersrc/e2e_tests.rs:70 | fn | 3 | 1 | 9 | 1 | 1.1 | |
| Harness::tradesrc/e2e_tests.rs:120 | method | 4 | 1 | 11 | 1 | 1 | |
| ratiosrc/e2e_tests.rs:74 | fn | 3 | 1 | 10 | 1 | 1 | |
| Harness::marksrc/e2e_tests.rs:142 | method | 3 | 1 | 10 | 1 | 1 | |
| Harness::reservedsrc/e2e_tests.rs:129 | method | 3 | 1 | 2 | 0 | 0.9 | |
| Harness::seriessrc/e2e_tests.rs:146 | method | 3 | 1 | 2 | 2 | 0.9 | |
| Harness::writer_reservedsrc/e2e_tests.rs:158 | method | 3 | 1 | 7 | 3 | 0.8 | |
| Harness::poolsrc/e2e_tests.rs:162 | method | 3 | 1 | 4 | 3 | 0.7 | |
| Harness::obligationssrc/e2e_tests.rs:150 | method | 3 | 1 | 2 | 2 | 0.6 | |
| Harness::unlocksrc/e2e_tests.rs:138 | method | 3 | 1 | 1 | 1 | 0.5 | |
| Harness::writesrc/e2e_tests.rs:99 | method | 5 | 1 | 0 | 2 | 0.5 | |
| Harness::locksrc/e2e_tests.rs:133 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Harness::expiresrc/e2e_tests.rs:154 | method | 3 | 1 | 0 | 1 | 0.5 | |
| an_itm_call_pays_the_buyer_in_the_underlier_and_releases_the_writers_residualsrc/e2e_tests.rs:168 | fn | 35 | 1 | 0 | 9 | 0.5 | |
| an_otm_call_pays_nothing_burns_and_releases_everythingsrc/e2e_tests.rs:205 | fn | 15 | 1 | 0 | 7 | 0.5 | |
| a_put_posts_strike_in_the_quote_and_pays_the_shortfallsrc/e2e_tests.rs:222 | fn | 18 | 1 | 0 | 9 | 0.5 | |
| a_missing_or_stale_mark_retries_and_settles_once_a_fresh_mark_arrivessrc/e2e_tests.rs:242 | fn | 27 | 1 | 0 | 8 | 0.5 | |
| the_first_write_queues_one_expiry_obligation_that_the_dispatcher_retries_within_gracesrc/e2e_tests.rs:271 | fn | 40 | 1 | 0 | 11 | 0.5 | |
| american_exercise_pays_intrinsic_from_writers_pro_ratasrc/e2e_tests.rs:313 | fn | 31 | 2 | 0 | 10 | 0.5 | |
| european_series_refuse_early_exercisesrc/e2e_tests.rs:346 | fn | 8 | 1 | 0 | 7 | 0.5 | |
| a_writer_closes_contracts_it_still_holdssrc/e2e_tests.rs:356 | fn | 19 | 1 | 0 | 8 | 0.5 | |
| capped_futures_pay_long_and_short_at_both_caps_and_mid_bandsrc/e2e_tests.rs:377 | fn | 35 | 3 | 0 | 9 | 0.5 | |
| rounding_favors_writers_and_dust_returns_to_themsrc/e2e_tests.rs:414 | fn | 26 | 4 | 0 | 9 | 0.5 | |
| units_locked_at_expiry_redeem_later_at_the_frozen_termssrc/e2e_tests.rs:442 | fn | 27 | 1 | 0 | 12 | 0.5 | |
| a_write_without_collateral_moves_nothingsrc/e2e_tests.rs:471 | fn | 14 | 1 | 0 | 8 | 0.5 | |
| caller_binding_is_strictsrc/e2e_tests.rs:487 | fn | 11 | 1 | 0 | 7 | 0.5 | |
| equal_strikes_are_one_series_and_fixed_terms_cannot_changesrc/e2e_tests.rs:500 | fn | 16 | 1 | 0 | 7 | 0.5 | |
| get_and_list_report_positionssrc/e2e_tests.rs:518 | fn | 14 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.