1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-shape-model/src/recipe.rs
Items
const SCHEMA const SHAPE_ID_HEX struct ParamSpec struct SourceSpec struct GeneratorSpec impl GeneratorSpec struct Recipe impl Recipe const SPEC
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| format_numbersrc/recipe.rs:144 | fn | 4 | 2 | 2 | 0 | 2.4 | |
| Recipe::resolvesrc/recipe.rs:153 | method | 71 | 22 | 9 | 3 | 2.1 | |
| Recipe::canonical_textsrc/recipe.rs:245 | method | 10 | 3 | 2 | 1 | 1.6 | |
| Recipe::getsrc/recipe.rs:227 | method | 3 | 1 | 2 | 0 | 1.5 | |
| Recipe::sha256src/recipe.rs:256 | method | 4 | 1 | 1 | 1 | 1.1 | |
| GeneratorSpec::paramsrc/recipe.rs:84 | method | 3 | 1 | 1 | 0 | 1.1 | |
| numbersrc/recipe.rs:124 | fn | 19 | 9 | 1 | 0 | 1.1 | |
| GeneratorSpec::to_jsonsrc/recipe.rs:88 | method | 24 | 1 | 1 | 0 | 1 | |
| Recipe::sourcesrc/recipe.rs:240 | method | 3 | 1 | 2 | 0 | 0.7 | |
| Recipe::shape_idsrc/recipe.rs:262 | method | 3 | 1 | 2 | 1 | 0.7 | |
| Recipe::flagsrc/recipe.rs:236 | method | 3 | 1 | 2 | 1 | 0.7 | |
| realsrc/recipe.rs:42 | fn | 11 | 1 | 0 | 0 | 0.5 | |
| wholesrc/recipe.rs:55 | fn | 9 | 1 | 0 | 0 | 0.5 | |
| Recipe::countsrc/recipe.rs:232 | method | 3 | 1 | 0 | 1 | 0.5 | |
| Recipe::to_jsonsrc/recipe.rs:266 | method | 3 | 1 | 0 | 0 | 0.5 | |
| defaults_fill_in_and_spelling_does_not_change_the_identitysrc/recipe.rs:287 | fn | 12 | 2 | 0 | 3 | 0.5 | |
| typos_ranges_and_fractions_are_refusedsrc/recipe.rs:301 | fn | 10 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.