rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-weather/src/provider.rs
Items
struct WeatherObservation impl WeatherObservation trait WeatherDataProvider struct OpenMeteoProvider impl OpenMeteoProvider impl WeatherDataProvider for OpenMeteoProvider struct CurrentUnits struct Current struct Response struct OpenWeatherMapProvider impl OpenWeatherMapProvider impl WeatherDataProvider for OpenWeatherMapProvider struct Main struct Wind struct WeatherItem struct Coord struct Clouds struct Rain struct Response struct FakeWeatherProvider impl FakeWeatherProvider impl WeatherDataProvider for FakeWeatherProvider const KINDS struct TestRainProvider impl TestRainProvider impl WeatherDataProvider for TestRainProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 31 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| registrysrc/provider.rs:259 | fn | 3 | 1 | 4 | 0 | 2.8 | |
| open_weather_map_weather_kind_for_non_thunder_groupsrc/provider.rs:249 | fn | 9 | 5 | 1 | 0 | 2.1 | |
| open_weather_map_weather_kind_for_groupsrc/provider.rs:245 | fn | 3 | 2 | 1 | 1 | 1.9 | |
| findsrc/provider.rs:340 | fn | 12 | 3 | 3 | 1 | 1.7 | |
| open_weather_map_weather_kindsrc/provider.rs:241 | fn | 3 | 1 | 1 | 1 | 1.7 | |
| open_meteo_weather_kind_after_clearsrc/provider.rs:137 | fn | 9 | 5 | 1 | 0 | 1.4 | |
| parse_open_meteosrc/provider.rs:78 | fn | 46 | 1 | 3 | 2 | 1.4 | |
| parse_open_weather_mapsrc/provider.rs:181 | fn | 59 | 1 | 3 | 1 | 1.4 | |
| open_meteo_wind_speed_m_ssrc/provider.rs:125 | fn | 7 | 3 | 1 | 0 | 1.1 | |
| open_meteo_weather_kindsrc/provider.rs:133 | fn | 3 | 2 | 1 | 1 | 1.1 | |
| parse_open_meteo_bytessrc/provider.rs:73 | fn | 4 | 1 | 2 | 1 | 0.8 | |
| parse_open_weather_map_bytessrc/provider.rs:176 | fn | 4 | 1 | 2 | 1 | 0.8 | |
| assert_closesrc/provider.rs:367 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| fetch_open_meteo_bytessrc/provider.rs:59 | fn | 13 | 1 | 1 | 0 | 0.7 | |
| fetch_open_weather_map_bytessrc/provider.rs:164 | fn | 11 | 1 | 1 | 0 | 0.7 | |
| open_meteo_payloadsrc/provider.rs:371 | fn | 12 | 1 | 2 | 0 | 0.7 | |
| open_weather_payloadsrc/provider.rs:384 | fn | 14 | 1 | 1 | 0 | 0.6 | |
| WeatherObservation::to_jsonsrc/provider.rs:21 | method | 15 | 1 | 0 | 0 | 0.5 | |
| OpenMeteoProvider::idsrc/provider.rs:50 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OpenMeteoProvider::fetch_weathersrc/provider.rs:54 | trait impl | 3 | 1 | 0 | 2 | 0.5 | |
| OpenWeatherMapProvider::idsrc/provider.rs:154 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OpenWeatherMapProvider::fetch_weathersrc/provider.rs:158 | trait impl | 4 | 1 | 0 | 2 | 0.5 | |
| FakeWeatherProvider::idsrc/provider.rs:274 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeWeatherProvider::fetch_weathersrc/provider.rs:278 | trait impl | 29 | 5 | 0 | 0 | 0.5 | |
| TestRainProvider::idsrc/provider.rs:319 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TestRainProvider::fetch_weathersrc/provider.rs:323 | trait impl | 15 | 1 | 0 | 0 | 0.5 | |
| the_offline_source_is_deterministic_named_only_and_boundedsrc/provider.rs:358 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| open_meteo_parser_maps_codes_units_and_errorssrc/provider.rs:400 | fn | 30 | 2 | 0 | 4 | 0.5 | |
| open_weather_map_parser_maps_codes_wind_defaults_and_errorssrc/provider.rs:432 | fn | 31 | 2 | 0 | 4 | 0.5 | |
| parsers_surface_doppler_grade_channels_when_presentsrc/provider.rs:465 | fn | 40 | 1 | 0 | 4 | 0.5 | |
| registry_find_and_fetch_error_paths_are_covered_without_network_successsrc/provider.rs:507 | fn | 17 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.