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/adapters/osm_places.rs
Items
const OVERPASS_ENDPOINTS const NOMINATIM_URL const USER_AGENT const OVERPASS_REQUEST_TIMEOUT const DEFAULT_RADIUS_M const MIN_RADIUS_M const MAX_RADIUS_M struct OsmPlacesProvider const CATEGORY_SELECTORS const CATEGORY_GROUPS enum OverpassOutcome impl ExternalDataProvider for OsmPlacesProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 46 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| category_memberssrc/adapters/osm_places.rs:187 | fn | 6 | 2 | 7 | 0 | 3.6 | |
| category_selectorssrc/adapters/osm_places.rs:195 | fn | 3 | 1 | 2 | 0 | 3.3 | |
| category_querysrc/adapters/osm_places.rs:206 | fn | 7 | 1 | 8 | 1 | 3.2 | |
| overpass_endpoint_countsrc/adapters/osm_places.rs:201 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| supported_categoriessrc/adapters/osm_places.rs:179 | fn | 3 | 1 | 7 | 0 | 1.6 | |
| regex_safesrc/adapters/osm_places.rs:78 | fn | 8 | 3 | 1 | 0 | 1.3 | |
| overpass_outcomesrc/adapters/osm_places.rs:293 | fn | 23 | 6 | 2 | 3 | 1 | |
| transport_outcomesrc/adapters/osm_places.rs:320 | fn | 7 | 3 | 2 | 0 | 1 | |
| build_overpass_querysrc/adapters/osm_places.rs:119 | fn | 16 | 1 | 2 | 1 | 1 | |
| merge_elementssrc/adapters/osm_places.rs:229 | fn | 17 | 4 | 2 | 0 | 1 | |
| run_overpass_querysrc/adapters/osm_places.rs:352 | fn | 44 | 4 | 2 | 1 | 1 | |
| normalize_elementsrc/adapters/osm_places.rs:397 | fn | 69 | 3 | 2 | 5 | 1 | |
| query_locationsrc/adapters/osm_places.rs:50 | fn | 10 | 1 | 2 | 0 | 0.9 | |
| request_coordinatessrc/adapters/osm_places.rs:61 | fn | 7 | 1 | 2 | 1 | 0.9 | |
| valid_coordinatessrc/adapters/osm_places.rs:69 | fn | 3 | 4 | 3 | 0 | 0.9 | |
| search_radius_msrc/adapters/osm_places.rs:74 | fn | 3 | 1 | 3 | 0 | 0.9 | |
| requestsrc/adapters/osm_places.rs:820 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| status_is_retryablesrc/adapters/osm_places.rs:260 | fn | 3 | 3 | 1 | 0 | 0.8 | |
| remark_is_retryablesrc/adapters/osm_places.rs:267 | fn | 6 | 1 | 1 | 0 | 0.8 | |
| body_excerptsrc/adapters/osm_places.rs:274 | fn | 17 | 6 | 1 | 0 | 0.8 | |
| location_pointsrc/adapters/osm_places.rs:87 | fn | 10 | 2 | 2 | 3 | 0.7 | |
| query_termsrc/adapters/osm_places.rs:39 | fn | 10 | 1 | 2 | 0 | 0.7 | |
| resolve_location_pointsrc/adapters/osm_places.rs:98 | fn | 20 | 1 | 1 | 4 | 0.7 | |
| category_queriessrc/adapters/osm_places.rs:219 | fn | 6 | 1 | 2 | 2 | 0.6 | |
| post_overpasssrc/adapters/osm_places.rs:331 | fn | 17 | 2 | 1 | 5 | 0.5 | |
| OsmPlacesProvider::descriptorsrc/adapters/osm_places.rs:468 | trait impl | 10 | 1 | 0 | 0 | 0.5 | |
| OsmPlacesProvider::seed_recordssrc/adapters/osm_places.rs:479 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OsmPlacesProvider::normalize_payloadsrc/adapters/osm_places.rs:483 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| OsmPlacesProvider::sync_contractsrc/adapters/osm_places.rs:487 | trait impl | 26 | 3 | 0 | 0 | 0.5 | |
| OsmPlacesProvider::fetch_livesrc/adapters/osm_places.rs:514 | trait impl | 72 | 8 | 0 | 11 | 0.5 | |
| lodging_category_uses_exact_tourism_tagssrc/adapters/osm_places.rs:593 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| cafe_category_searches_osm_tags_instead_of_business_namessrc/adapters/osm_places.rs:601 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| music_and_event_venue_categories_match_by_tagsrc/adapters/osm_places.rs:610 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| referral_health_categories_use_healthcare_tagssrc/adapters/osm_places.rs:625 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| sports_club_and_pilates_categories_build_expected_selectorssrc/adapters/osm_places.rs:642 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| prospect_profile_categories_select_documented_tagssrc/adapters/osm_places.rs:653 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| every_category_builds_tag_queries_and_groups_run_one_query_per_membersrc/adapters/osm_places.rs:672 | fn | 29 | 6 | 0 | 5 | 0.5 | |
| merge_elements_dedupes_by_type_and_id_first_occurrence_winssrc/adapters/osm_places.rs:703 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| overpass_outcome_retries_load_failures_and_refuses_query_failuressrc/adapters/osm_places.rs:720 | fn | 33 | 3 | 0 | 1 | 0.5 | |
| transport_outcome_keeps_policy_refusals_fatalsrc/adapters/osm_places.rs:755 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| run_overpass_query_moves_to_the_next_endpoint_only_on_retryable_failuressrc/adapters/osm_places.rs:766 | fn | 44 | 3 | 0 | 1 | 0.5 | |
| overpass_endpoints_start_with_the_reference_instancesrc/adapters/osm_places.rs:812 | fn | 7 | 1 | 0 | 0 | 0.5 | |
| location_point_uses_coordinates_without_geocodingsrc/adapters/osm_places.rs:825 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| search_radius_defaults_and_clampssrc/adapters/osm_places.rs:838 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| overpass_query_sanitizes_search_terms_and_omits_empty_selectorsrc/adapters/osm_places.rs:848 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| normalize_element_collects_tags_coordinates_and_contact_fieldssrc/adapters/osm_places.rs:859 | fn | 33 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.