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-credit/src/exact.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| integer_unitssrc/exact.rs:150 | fn | 3 | 3 | 2 | 0 | 2.2 | |
| to_i64src/exact.rs:121 | fn | 3 | 1 | 3 | 0 | 1.6 | |
| amount_owedsrc/exact.rs:36 | fn | 6 | 1 | 2 | 2 | 1.4 | |
| interest_ceilsrc/exact.rs:27 | fn | 7 | 4 | 2 | 2 | 1.3 | |
| optional_unitssrc/exact.rs:138 | fn | 10 | 2 | 4 | 1 | 1.3 | |
| pro_ratasrc/exact.rs:70 | fn | 27 | 7 | 4 | 3 | 1.2 | |
| holdingssrc/exact.rs:187 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| default_slashsrc/exact.rs:115 | fn | 4 | 1 | 3 | 0 | 1.1 | |
| collateral_for_ratiosrc/exact.rs:45 | fn | 4 | 1 | 2 | 1 | 1 | |
| largest_holdersrc/exact.rs:100 | fn | 10 | 4 | 1 | 0 | 0.8 | |
| positive_unitssrc/exact.rs:128 | fn | 8 | 2 | 4 | 1 | 0.8 | |
| interest_rounds_up_against_the_borrowersrc/exact.rs:160 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| ratio_collateral_rounds_upsrc/exact.rs:181 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| pro_rata_floors_each_holder_and_gives_the_remainder_to_the_largestsrc/exact.rs:192 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| partial_coverage_leaves_the_remainder_for_the_units_still_outsrc/exact.rs:206 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| a_pool_smaller_than_the_supply_pays_dust_to_the_largest_onlysrc/exact.rs:217 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| default_slash_is_logarithmic_and_never_zerosrc/exact.rs:223 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| request_amounts_must_be_positive_integerssrc/exact.rs:235 | fn | 14 | 2 | 0 | 3 | 0.5 |
Source not readable from this process.