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-provider/src/discovery/profile.rs
Items
const PROFILES_SCHEMA const PROFILES_JSON const PROVIDER_OSM const PROVIDER_GOOGLE const PROVIDER_YELP const SUPPORTED_PROVIDERS const REQUIRE_MISSING_FIELDS struct ProfileFile struct AudienceProfile struct CategoryEntry struct ProfileExclusions struct Centroid impl Centroid static PROFILES
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| validate_profilesrc/discovery/profile.rs:190 | fn | 29 | 6 | 1 | 4 | 2.8 | |
| parse_profilessrc/discovery/profile.rs:220 | fn | 10 | 2 | 3 | 1 | 2.7 | |
| normalize_providerssrc/discovery/profile.rs:120 | fn | 19 | 4 | 5 | 0 | 2.3 | |
| profilessrc/discovery/profile.rs:233 | fn | 10 | 2 | 3 | 1 | 2.2 | |
| findsrc/discovery/profile.rs:244 | fn | 4 | 1 | 4 | 1 | 1.5 | |
| is_slugsrc/discovery/profile.rs:112 | fn | 5 | 6 | 2 | 0 | 1.2 | |
| profiles_responsesrc/discovery/profile.rs:305 | fn | 24 | 3 | 2 | 3 | 1.1 | |
| validate_entrysrc/discovery/profile.rs:149 | fn | 40 | 9 | 1 | 6 | 1.1 | |
| yelp_aliases_forsrc/discovery/profile.rs:142 | fn | 6 | 2 | 2 | 1 | 0.8 | |
| selectors_forsrc/discovery/profile.rs:251 | fn | 38 | 2 | 2 | 2 | 0.8 | |
| profile_viewsrc/discovery/profile.rs:290 | fn | 12 | 2 | 1 | 0 | 0.8 | |
| one_profilesrc/discovery/profile.rs:383 | fn | 11 | 1 | 1 | 0 | 0.7 | |
| Centroid::parsesrc/discovery/profile.rs:102 | method | 8 | 2 | 1 | 1 | 0.6 | |
| bundled_profiles_parse_and_cover_the_four_clientssrc/discovery/profile.rs:335 | fn | 30 | 4 | 0 | 4 | 0.5 | |
| vocabulary_entries_resolve_to_every_providers_taxonomysrc/discovery/profile.rs:367 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| malformed_profiles_are_refusedsrc/discovery/profile.rs:396 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| providers_normalize_and_reject_unknown_idssrc/discovery/profile.rs:415 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| profiles_response_lists_or_selectssrc/discovery/profile.rs:424 | fn | 9 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.