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-runtime-contracts/src/effect.rs
Items
struct AssetEffect impl AssetEffect struct GraphEffect impl GraphEffect struct Obligation impl Obligation
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Obligation::newsrc/effect.rs:158 | method | 10 | 1 | 30 | 0 | 4.2 | |
| AssetEffect::releasesrc/effect.rs:62 | method | 13 | 1 | 11 | 0 | 3.1 | |
| Obligation::obligorsrc/effect.rs:190 | method | 6 | 2 | 5 | 0 | 1.2 | |
| GraphEffect::newsrc/effect.rs:117 | method | 3 | 1 | 3 | 0 | 1.1 | |
| AssetEffect::mintsrc/effect.rs:31 | method | 3 | 1 | 4 | 0 | 0.9 | |
| AssetEffect::burnsrc/effect.rs:35 | method | 3 | 1 | 1 | 0 | 0.6 | |
| AssetEffect::transfersrc/effect.rs:39 | method | 8 | 1 | 1 | 0 | 0.6 | |
| AssetEffect::reservesrc/effect.rs:48 | method | 13 | 1 | 1 | 0 | 0.6 | |
| AssetEffect::settlesrc/effect.rs:79 | method | 14 | 1 | 1 | 0 | 0.6 | |
| GraphEffect::with_payloadsrc/effect.rs:121 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Obligation::with_connectionsrc/effect.rs:169 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Obligation::with_obligorsrc/effect.rs:174 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Obligation::with_payloadsrc/effect.rs:179 | method | 4 | 1 | 0 | 0 | 0.5 | |
| asset_effect_constructors_set_op_correctlysrc/effect.rs:204 | fn | 24 | 1 | 0 | 6 | 0.5 | |
| graph_effect_with_payloadsrc/effect.rs:230 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| obligation_builders_chainsrc/effect.rs:237 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| obligation_skips_optional_fields_when_unsetsrc/effect.rs:247 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| obligor_prefers_the_field_then_the_payload_keysrc/effect.rs:256 | fn | 19 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.