1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-organization/src/chapter.rs
Items
const KIND_CHAPTER const KIND_CHAPTER_CLAIM const CHAPTER_HOUSE_OWNER const CHAPTER_GEOHASH_LEN enum ChapterTier impl ChapterTier struct ChapterPlace impl ChapterPlace const EARTH_RADIUS_KM struct Chapter impl Chapter enum ChapterLinkKind impl ChapterLinkKind struct ChapterLinks impl ChapterLinks struct TierStep enum ClaimStatus impl ClaimStatus struct ChapterClaim impl ChapterClaim struct ChapterSeedRow struct SeedReport
Functions
By call-graph weight (PageRank; 1.0 is the average function). 60 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| normalize_chapter_slugsrc/chapter.rs:77 | fn | 5 | 2 | 22 | 1 | 15.8 | |
| haversine_kmsrc/chapter.rs:196 | fn | 8 | 1 | 7 | 0 | 3.4 | |
| upsert_chaptersrc/chapter.rs:309 | fn | 28 | 5 | 25 | 8 | 3.2 | |
| tier_checklistsrc/chapter.rs:567 | fn | 51 | 2 | 3 | 0 | 3.1 | |
| load_chaptersrc/chapter.rs:356 | fn | 3 | 1 | 15 | 4 | 2.8 | |
| Chapter::newsrc/chapter.rs:242 | method | 20 | 2 | 21 | 3 | 2.6 | |
| chapter_org_idsrc/chapter.rs:66 | fn | 4 | 1 | 5 | 2 | 2.1 | |
| chapter_linkssrc/chapter.rs:480 | fn | 14 | 7 | 11 | 1 | 1.8 | |
| parse_chaptersrc/chapter.rs:286 | fn | 19 | 1 | 2 | 7 | 1.8 | |
| link_chaptersrc/chapter.rs:496 | fn | 17 | 2 | 9 | 4 | 1.6 | |
| parent_stewardsrc/chapter.rs:777 | fn | 4 | 1 | 3 | 1 | 1.6 | |
| list_chapterssrc/chapter.rs:362 | fn | 11 | 1 | 6 | 2 | 1.6 | |
| upsert_claimsrc/chapter.rs:716 | fn | 6 | 3 | 4 | 2 | 1.4 | |
| ChapterClaim::newsrc/chapter.rs:677 | method | 15 | 1 | 3 | 2 | 1.3 | |
| graphsrc/chapter.rs:924 | fn | 3 | 1 | 10 | 0 | 1.3 | |
| ChapterLinks::rowssrc/chapter.rs:450 | method | 9 | 5 | 1 | 0 | 1.3 | |
| parse_claimsrc/chapter.rs:702 | fn | 13 | 1 | 3 | 5 | 1.3 | |
| ChapterPlace::newsrc/chapter.rs:161 | method | 3 | 1 | 1 | 0 | 1.2 | |
| ChapterLinkKind::parsesrc/chapter.rs:389 | method | 10 | 6 | 1 | 0 | 1.2 | |
| derive_claim_idsrc/chapter.rs:652 | fn | 3 | 1 | 2 | 1 | 1.2 | |
| ChapterLinkKind::child_kindsrc/chapter.rs:410 | method | 9 | 5 | 2 | 0 | 1 | |
| ensure_stewardsrc/chapter.rs:757 | fn | 18 | 6 | 2 | 1 | 1 | |
| list_claimssrc/chapter.rs:742 | fn | 5 | 1 | 3 | 2 | 1 | |
| ChapterLinks::countsrc/chapter.rs:460 | method | 3 | 1 | 1 | 1 | 0.9 | |
| seed_chapterssrc/chapter.rs:832 | fn | 86 | 22 | 3 | 7 | 0.9 | |
| ensure_chapter_orgsrc/chapter.rs:340 | fn | 15 | 4 | 1 | 5 | 0.8 | |
| earned_tiersrc/chapter.rs:536 | fn | 12 | 6 | 1 | 0 | 0.8 | |
| list_claims_forsrc/chapter.rs:733 | fn | 7 | 1 | 3 | 3 | 0.8 | |
| ChapterPlace::coordssrc/chapter.rs:166 | method | 13 | 6 | 1 | 0 | 0.7 | |
| load_claimsrc/chapter.rs:723 | fn | 8 | 1 | 3 | 5 | 0.7 | |
| ChapterTier::parsesrc/chapter.rs:120 | method | 9 | 5 | 2 | 0 | 0.7 | |
| rowsrc/chapter.rs:928 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| unlink_chaptersrc/chapter.rs:516 | fn | 15 | 2 | 2 | 3 | 0.6 | |
| ClaimStatus::parsesrc/chapter.rs:641 | method | 9 | 5 | 1 | 0 | 0.6 | |
| ChapterTier::keysrc/chapter.rs:102 | method | 8 | 4 | 0 | 0 | 0.5 | |
| ChapterTier::labelsrc/chapter.rs:111 | method | 8 | 4 | 0 | 0 | 0.5 | |
| ChapterTier::at_leastsrc/chapter.rs:131 | method | 3 | 2 | 0 | 0 | 0.5 | |
| ChapterPlace::normalizedsrc/chapter.rs:183 | method | 10 | 2 | 0 | 2 | 0.5 | |
| Chapter::treasury_nssrc/chapter.rs:265 | method | 3 | 1 | 0 | 1 | 0.5 | |
| Chapter::osm_hrefsrc/chapter.rs:271 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Chapter::propssrc/chapter.rs:276 | method | 8 | 1 | 0 | 0 | 0.5 | |
| ChapterLinkKind::keysrc/chapter.rs:400 | method | 9 | 5 | 0 | 0 | 0.5 | |
| ChapterLinks::ofsrc/chapter.rs:440 | method | 9 | 5 | 0 | 0 | 0.5 | |
| ChapterLinks::totalsrc/chapter.rs:464 | method | 3 | 1 | 0 | 1 | 0.5 | |
| ChapterLinks::to_jsonsrc/chapter.rs:468 | method | 9 | 1 | 0 | 0 | 0.5 | |
| ClaimStatus::keysrc/chapter.rs:632 | method | 8 | 4 | 0 | 0 | 0.5 | |
| ChapterClaim::propssrc/chapter.rs:693 | method | 7 | 1 | 0 | 0 | 0.5 | |
| slug_normalization_collapses_the_handle_spellingssrc/chapter.rs:933 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| a_chapter_is_an_org_of_kind_chapter_keyed_by_slugsrc/chapter.rs:945 | fn | 32 | 1 | 0 | 7 | 0.5 | |
| the_terminal_facet_round_trips_and_earns_no_tiersrc/chapter.rs:979 | fn | 20 | 1 | 0 | 5 | 0.5 | |
| a_chapter_cannot_parent_itselfsrc/chapter.rs:1001 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| a_place_without_coordinates_carries_no_geohashsrc/chapter.rs:1009 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| seeding_twice_creates_once_and_never_downgrades_a_built_out_chaptersrc/chapter.rs:1017 | fn | 43 | 1 | 0 | 8 | 0.5 | |
| a_seed_row_whose_slug_normalizes_to_nothing_is_skipped_not_writtensrc/chapter.rs:1062 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| links_group_by_kind_and_unlink_leaves_the_tier_alonesrc/chapter.rs:1071 | fn | 24 | 1 | 0 | 7 | 0.5 | |
| the_checklist_reads_the_links_for_any_chaptersrc/chapter.rs:1097 | fn | 14 | 1 | 0 | 6 | 0.5 | |
| the_steward_gate_mirrors_the_owner_gate_and_the_parent_may_actsrc/chapter.rs:1113 | fn | 19 | 1 | 0 | 5 | 0.5 | |
| a_claim_is_one_row_per_claimant_and_carries_its_decisionsrc/chapter.rs:1134 | fn | 21 | 1 | 0 | 8 | 0.5 | |
| near_queries_measure_real_distancesrc/chapter.rs:1157 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| the_directory_order_puts_the_designated_build_out_firstsrc/chapter.rs:1170 | fn | 12 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.