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/funding.rs
Items
const PPM const HOURS_PER_YEAR struct FundingAccumulator impl FundingAccumulator
Functions
By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| intervals_per_yearsrc/funding.rs:129 | fn | 3 | 1 | 3 | 0 | 1.9 | |
| rate_intervalssrc/funding.rs:30 | fn | 3 | 1 | 3 | 0 | 1.6 | |
| FundingAccumulator::newsrc/funding.rs:72 | method | 3 | 1 | 2 | 0 | 1.2 | |
| accrue_unitssrc/funding.rs:40 | fn | 3 | 1 | 3 | 2 | 1.1 | |
| rate_ppm_from_fractionsrc/funding.rs:112 | fn | 10 | 3 | 3 | 0 | 1 | |
| accrue_displaysrc/funding.rs:106 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| FundingAccumulator::accruesrc/funding.rs:79 | method | 12 | 2 | 2 | 2 | 0.7 | |
| accrue_units_ceilsrc/funding.rs:47 | fn | 8 | 3 | 1 | 2 | 0.7 | |
| FundingAccumulator::carrysrc/funding.rs:93 | method | 3 | 1 | 1 | 1 | 0.6 | |
| accrue_exactsrc/funding.rs:100 | fn | 4 | 1 | 1 | 2 | 0.6 | |
| rate_fraction_from_ppmsrc/funding.rs:124 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| annualized_from_intervalsrc/funding.rs:134 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| interval_from_annualizedsrc/funding.rs:139 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| apy_from_intervalsrc/funding.rs:144 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| accrual_is_exact_and_truncates_toward_zerosrc/funding.rs:153 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| ceiled_accrual_makes_the_payer_cover_the_fractionsrc/funding.rs:165 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| accumulator_carries_the_remainder_so_totals_are_exactsrc/funding.rs:179 | fn | 32 | 3 | 0 | 3 | 0.5 | |
| accrual_overflow_is_refusedsrc/funding.rs:213 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| conversions_round_tripsrc/funding.rs:223 | fn | 11 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.