Source file "com/weatherxm/ui/forecastdetails/ForecastDetailsViewModel.kt" was not found during generation of report.
| Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
| Total | 23 of 389 | 94% | 4 of 30 | 86% | 5 | 34 | 4 | 70 | 2 | 19 |
| fetchDeviceForecasts() | 53% | 25% | 2 | 3 | 2 | 6 | 0 | 1 | ||
| onDevicePremiumForecast() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getCharts(UIForecast, UIForecastDay) | 93% | 75% | 1 | 3 | 1 | 8 | 0 | 1 | ||
| getHasFreeTrialAvailable() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| ForecastDetailsViewModel(UIDevice, UILocation, boolean, BillingService, Resources, AnalyticsWrapper, AuthUseCase, ChartsUseCase, ForecastUseCase, LocationsUseCase, CoroutineDispatcher) | 100% | n/a | 0 | 1 | 0 | 16 | 0 | 1 | ||
| getSelectedDayPosition(String, UIForecast) | 100% | 100% | 0 | 3 | 0 | 10 | 0 | 1 | ||
| getFailureResource(Failure) | 100% | 100% | 0 | 4 | 0 | 7 | 0 | 1 | ||
| getDefaultHourPosition(List) | 100% | 100% | 0 | 3 | 0 | 4 | 0 | 1 | ||
| fetchLocationForecast() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | ||
| canSaveMoreLocations() | 100% | 100% | 0 | 5 | 0 | 4 | 0 | 1 | ||
| fetchDeviceForecast(MutableLiveData, Function1) | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | ||
| addSavedLocation() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | ||
| removeSavedLocation() | 100% | n/a | 0 | 1 | 0 | 3 | 0 | 1 | ||
| getSelectedDayPosition$lambda$1(UIForecastDay) | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
| onDeviceDefaultForecast() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
| onLocationForecast() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
| isLoggedIn() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
| getDevice() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | ||
| getLocation() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 |