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-app-course/src/cohort.rs
Items
Functions
By call-graph weight (PageRank; 1.0 is the average function). 20 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| cohort_vidsrc/cohort.rs:24 | fn | 3 | 1 | 2 | 0 | 2.5 | |
| parse_cohortsrc/cohort.rs:218 | fn | 27 | 1 | 2 | 0 | 2.5 | |
| load_cohortsrc/cohort.rs:167 | fn | 6 | 1 | 12 | 2 | 2.3 | |
| CourseCohort::newsrc/cohort.rs:80 | method | 19 | 1 | 8 | 2 | 1.5 | |
| derive_cohort_idsrc/cohort.rs:30 | fn | 3 | 1 | 3 | 1 | 1.4 | |
| upsert_cohortsrc/cohort.rs:126 | fn | 27 | 3 | 7 | 1 | 1.2 | |
| list_cohorts_for_coursesrc/cohort.rs:176 | fn | 12 | 1 | 6 | 1 | 1.2 | |
| default_assetsrc/cohort.rs:74 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| derive_labeled_cohort_idsrc/cohort.rs:35 | fn | 3 | 1 | 2 | 1 | 0.9 | |
| CourseCohort::seat_pricesrc/cohort.rs:118 | method | 6 | 2 | 5 | 0 | 0.9 | |
| CourseCohort::labeledsrc/cohort.rs:101 | method | 9 | 1 | 6 | 2 | 0.9 | |
| featured_cohortsrc/cohort.rs:191 | fn | 10 | 2 | 3 | 0 | 0.8 | |
| load_cohort_for_coursesrc/cohort.rs:156 | fn | 10 | 2 | 3 | 5 | 0.8 | |
| resolve_timezonesrc/cohort.rs:205 | fn | 7 | 2 | 2 | 0 | 0.8 | |
| next_cohort_startsrc/cohort.rs:214 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| CourseCohort::is_opensrc/cohort.rs:112 | method | 3 | 1 | 0 | 0 | 0.5 | |
| cohort_round_trips_one_per_coursesrc/cohort.rs:252 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| a_course_runs_many_cohorts_and_the_default_id_keeps_resolvingsrc/cohort.rs:266 | fn | 27 | 1 | 0 | 9 | 0.5 | |
| a_self_paced_cohort_needs_no_event_and_a_shop_course_sells_free_seatssrc/cohort.rs:295 | fn | 19 | 2 | 0 | 5 | 0.5 | |
| a_cohort_reads_in_its_events_zone_else_its_own_else_the_coursessrc/cohort.rs:316 | fn | 13 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.