1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-schedule/src/practice/model.rs
Items
const KIND_PRACTICE const MAX_SERVICE_MINUTES const DEFAULT_SERVICE_MINUTES const MAX_BUFFER_MINUTES struct PracticeRef struct Practice impl Default for Practice struct Location struct Room struct Staff impl Default for Staff impl Staff enum Modality impl Modality struct Service impl Default for Service const IMPLICIT_VARIANT_ID impl Service struct ServiceVariant struct Shift impl Practice
Functions
By call-graph weight (PageRank; 1.0 is the average function). 27 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| normalize_practicesrc/practice/model.rs:371 | fn | 92 | 13 | 4 | 7 | 4 | |
| list_practicessrc/practice/model.rs:488 | fn | 5 | 1 | 5 | 2 | 1.8 | |
| parse_practicesrc/practice/model.rs:478 | fn | 5 | 1 | 2 | 1 | 1.6 | |
| Practice::staff_membersrc/practice/model.rs:299 | method | 3 | 1 | 8 | 0 | 1.5 | |
| load_practicesrc/practice/model.rs:484 | fn | 3 | 1 | 7 | 3 | 1.3 | |
| room_resource_idsrc/practice/model.rs:43 | fn | 3 | 1 | 3 | 0 | 1.3 | |
| practice_vidsrc/practice/model.rs:28 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| assign_idssrc/practice/model.rs:325 | fn | 21 | 5 | 1 | 1 | 1 | |
| slug_listsrc/practice/model.rs:347 | fn | 9 | 3 | 1 | 1 | 1 | |
| known_zonesrc/practice/model.rs:357 | fn | 4 | 1 | 1 | 1 | 1 | |
| valid_datesrc/practice/model.rs:362 | fn | 4 | 1 | 1 | 1 | 1 | |
| list_practices_for_ownersrc/practice/model.rs:494 | fn | 3 | 1 | 4 | 1 | 0.9 | |
| Service::offered_variantssrc/practice/model.rs:249 | method | 7 | 2 | 5 | 0 | 0.9 | |
| Practice::rooms_atsrc/practice/model.rs:308 | method | 3 | 1 | 1 | 0 | 0.8 | |
| upsert_practicesrc/practice/model.rs:464 | fn | 13 | 4 | 2 | 2 | 0.7 | |
| Staff::offerssrc/practice/model.rs:164 | method | 3 | 2 | 3 | 0 | 0.7 | |
| Service::minutes_forsrc/practice/model.rs:258 | method | 3 | 1 | 3 | 0 | 0.7 | |
| staff_resource_idsrc/practice/model.rs:35 | fn | 6 | 2 | 3 | 0 | 0.7 | |
| Practice::defaultsrc/practice/model.rs:84 | trait impl | 18 | 1 | 2 | 0 | 0.7 | |
| Staff::works_atsrc/practice/model.rs:168 | method | 3 | 2 | 2 | 0 | 0.7 | |
| Modality::fitssrc/practice/model.rs:185 | method | 7 | 3 | 2 | 0 | 0.7 | |
| Practice::zone_name_forsrc/practice/model.rs:313 | method | 3 | 1 | 2 | 0 | 0.6 | |
| Staff::defaultsrc/practice/model.rs:147 | trait impl | 14 | 1 | 0 | 0 | 0.5 | |
| Service::defaultsrc/practice/model.rs:221 | trait impl | 20 | 1 | 0 | 0 | 0.5 | |
| Practice::locationsrc/practice/model.rs:295 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Practice::servicesrc/practice/model.rs:303 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Practice::zonesrc/practice/model.rs:318 | method | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.