1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-runtime-contracts/src/amount_template.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 9 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| AmountTemplate::literalsrc/amount_template.rs:43 | method | 3 | 1 | 20 | 0 | 7.8 | |
| AmountTemplate::evaluatesrc/amount_template.rs:47 | method | 18 | 5 | 0 | 0 | 0.5 | |
| amount_receipt_uses_receipt_amountsrc/amount_template.rs:73 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| amount_literal_ignores_receiptsrc/amount_template.rs:79 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| amount_scaled_70_percentsrc/amount_template.rs:85 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| amount_scaled_div_zero_yields_zerosrc/amount_template.rs:92 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| amount_payload_reads_integer_fieldsrc/amount_template.rs:99 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| amount_payload_missing_key_yields_zerosrc/amount_template.rs:107 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| amount_payload_non_numeric_yields_zerosrc/amount_template.rs:114 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.