1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-charter-model/src/model.rs
Items
enum CharterStatus enum CharterPurpose impl CharterPurpose struct CharterRule impl CharterRule struct CharterAttachment impl CharterAttachment struct CharterRecord impl CharterRecord
Functions
By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| CharterRecord::attachsrc/model.rs:154 | method | 10 | 3 | 8 | 0 | 2.3 | |
| slugifysrc/model.rs:231 | fn | 3 | 1 | 3 | 1 | 1.3 | |
| CharterAttachment::scope_keysrc/model.rs:75 | method | 3 | 1 | 3 | 0 | 1.1 | |
| CharterRule::purpose_countsrc/model.rs:59 | method | 3 | 1 | 3 | 0 | 1 | |
| CharterRecord::upsert_rulesrc/model.rs:138 | method | 9 | 2 | 3 | 0 | 0.9 | |
| CharterRecord::is_effectivesrc/model.rs:134 | method | 3 | 1 | 4 | 0 | 0.8 | |
| normalize_namesrc/model.rs:199 | fn | 4 | 2 | 2 | 0 | 0.8 | |
| CharterRecord::newsrc/model.rs:105 | method | 24 | 2 | 4 | 3 | 0.8 | |
| CharterRecord::touchsrc/model.rs:130 | method | 3 | 1 | 3 | 0 | 0.7 | |
| connectionsrc/model.rs:239 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| CharterRecord::remove_rulesrc/model.rs:148 | method | 5 | 1 | 2 | 0 | 0.7 | |
| CharterRule::allowssrc/model.rs:51 | method | 7 | 3 | 1 | 0 | 0.6 | |
| CharterRecord::summary_jsonsrc/model.rs:165 | method | 28 | 1 | 2 | 1 | 0.6 | |
| normalize_tagssrc/model.rs:213 | fn | 10 | 4 | 2 | 0 | 0.6 | |
| normalize_scope_kindsrc/model.rs:204 | fn | 4 | 2 | 1 | 1 | 0.6 | |
| normalize_scope_idsrc/model.rs:209 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| normalize_optional_textsrc/model.rs:224 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| CharterPurpose::as_strsrc/model.rs:26 | method | 7 | 3 | 0 | 0 | 0.5 | |
| default_truesrc/model.rs:195 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| normalization_helpers_trim_slug_and_dedupe_valuessrc/model.rs:244 | fn | 16 | 1 | 0 | 6 | 0.5 | |
| charter_rule_reports_allowed_purposessrc/model.rs:262 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| charter_record_lifecycle_updates_rules_attachments_and_summarysrc/model.rs:288 | fn | 80 | 1 | 0 | 11 | 0.5 | |
| charter_record_empty_name_uses_fallback_and_retired_is_not_effectivesrc/model.rs:370 | fn | 29 | 1 | 0 | 5 | 0.5 | |
| charter_rule_serde_defaults_invoke_and_optional_notesrc/model.rs:401 | fn | 17 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.