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-metering/src/pricing.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 14 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| unit_prices_forsrc/pricing.rs:45 | fn | 26 | 6 | 8 | 0 | 6.8 | |
| cheapest_pricesrc/pricing.rs:74 | fn | 6 | 1 | 5 | 1 | 2.9 | |
| possrc/pricing.rs:120 | fn | 22 | 3 | 9 | 0 | 2.4 | |
| total_cost_to_fillsrc/pricing.rs:87 | fn | 27 | 4 | 3 | 1 | 1.1 | |
| no_positions_no_pricessrc/pricing.rs:144 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| unit_price_milli_uses_milli_scalesrc/pricing.rs:150 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| one_position_multi_denom_yields_multiple_pricessrc/pricing.rs:161 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| cheapest_picks_lowest_pricesrc/pricing.rs:171 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| cheapest_returns_none_for_unknown_denomsrc/pricing.rs:184 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| cheapest_returns_none_when_no_position_offers_assetsrc/pricing.rs:190 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| total_cost_walks_book_cheapest_firstsrc/pricing.rs:196 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| total_cost_partial_fill_when_book_shortsrc/pricing.rs:214 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| zero_quantity_is_zero_costsrc/pricing.rs:222 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| skips_zero_offer_or_zero_wantsrc/pricing.rs:230 | fn | 6 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.