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-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 TestRainProvider impl TestRainProvider impl WeatherDataProvider for TestRainProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 28 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| open_weather_map_weather_kind_for_non_thunder_groupsrc/provider.rs:249 | fn | 9 | 5 | 1 | 0 | 2.1 | |
| registrysrc/provider.rs:259 | fn | 3 | 1 | 2 | 0 | 2 | |
| open_weather_map_weather_kind_for_groupsrc/provider.rs:245 | fn | 3 | 2 | 1 | 1 | 1.9 | |
| open_weather_map_weather_kindsrc/provider.rs:241 | fn | 3 | 1 | 1 | 1 | 1.7 | |
| findsrc/provider.rs:294 | fn | 8 | 2 | 2 | 1 | 1.5 | |
| 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:307 | 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:311 | fn | 12 | 1 | 2 | 0 | 0.7 | |
| open_weather_payloadsrc/provider.rs:324 | 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 | |
| TestRainProvider::idsrc/provider.rs:273 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TestRainProvider::fetch_weathersrc/provider.rs:277 | trait impl | 15 | 1 | 0 | 0 | 0.5 | |
| open_meteo_parser_maps_codes_units_and_errorssrc/provider.rs:340 | fn | 30 | 2 | 0 | 4 | 0.5 | |
| open_weather_map_parser_maps_codes_wind_defaults_and_errorssrc/provider.rs:372 | fn | 31 | 2 | 0 | 4 | 0.5 | |
| parsers_surface_doppler_grade_channels_when_presentsrc/provider.rs:405 | fn | 40 | 1 | 0 | 4 | 0.5 | |
| registry_find_and_fetch_error_paths_are_covered_without_network_successsrc/provider.rs:447 | fn | 17 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.