Source file "com/weatherxm/data/services/CacheService.kt" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 118 of 1,728 | 93% | 37 of 130 | 71% | 37 | 152 | 11 | 279 | 1 | 87 |
clearUserPreferences() | ![]() ![]() | 82% | ![]() ![]() | 40% | 5 | 6 | 7 | 53 | 0 | 1 |
setFollowedDevicesIds(List) | ![]() ![]() | 75% | ![]() ![]() | 50% | 1 | 2 | 0 | 4 | 0 | 1 |
setUserDevices(List) | ![]() ![]() | 75% | ![]() ![]() | 50% | 1 | 2 | 0 | 4 | 0 | 1 |
setSavedLocations(List) | ![]() ![]() | 73% | ![]() ![]() | 50% | 1 | 2 | 0 | 3 | 0 | 1 |
setUserPropertiesChangeListener(Function2) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
getDeviceForecast(String) | ![]() ![]() | 83% | ![]() ![]() | 66% | 2 | 4 | 1 | 5 | 0 | 1 |
getLocationForecast(String) | ![]() ![]() | 83% | ![]() ![]() | 66% | 2 | 4 | 1 | 5 | 0 | 1 |
setUser(User) | ![]() ![]() | 77% | ![]() ![]() | 50% | 1 | 2 | 0 | 4 | 0 | 1 |
setWalletAddress(String) | ![]() ![]() | 76% | ![]() ![]() | 50% | 1 | 2 | 0 | 4 | 0 | 1 |
setUserDevicesOfBundle(String, int) | ![]() ![]() | 73% | ![]() ![]() | 50% | 1 | 2 | 0 | 3 | 0 | 1 |
setCountriesInfo(List) | ![]() ![]() | 54% | ![]() ![]() | 50% | 1 | 2 | 0 | 2 | 0 | 1 |
getUserId() | ![]() ![]() | 72% | ![]() ![]() | 50% | 1 | 2 | 0 | 1 | 0 | 1 |
getDeviceNotificationTypesEnabled(String) | ![]() | 91% | ![]() ![]() | 50% | 1 | 2 | 0 | 2 | 0 | 1 |
getPreferredUnit(int, int) | ![]() | 90% | ![]() ![]() | 50% | 1 | 2 | 0 | 3 | 0 | 1 |
getDevicePhotoUploadIds(String) | ![]() | 84% | ![]() ![]() | 50% | 1 | 2 | 0 | 1 | 0 | 1 |
getSavedLocations() | ![]() | 80% | ![]() ![]() | 50% | 1 | 2 | 0 | 1 | 0 | 1 |
addDevicePhotoUploadId(String, String) | ![]() | 97% | ![]() ![]() | 75% | 1 | 3 | 0 | 4 | 0 | 1 |
removeDevicePhotoUploadId(String, String) | ![]() | 94% | ![]() ![]() | 50% | 1 | 2 | 0 | 2 | 0 | 1 |
CacheService(SharedPreferences, SharedPreferences, Cache, Resources) | ![]() | 100% | n/a | 0 | 1 | 0 | 15 | 0 | 1 | |
getAuthToken() | ![]() | 100% | ![]() ![]() | 83% | 2 | 7 | 0 | 5 | 0 | 1 |
getUserDevicesOfBundles() | ![]() | 100% | n/a | 0 | 1 | 0 | 6 | 0 | 1 | |
clearAll() | ![]() | 100% | n/a | 0 | 1 | 0 | 14 | 0 | 1 | |
isCacheEmpty() | ![]() | 100% | ![]() ![]() | 55% | 9 | 11 | 0 | 4 | 0 | 1 |
getDevicesSortFilterOptions() | ![]() | 100% | n/a | 0 | 1 | 0 | 4 | 0 | 1 | |
getDeviceLastOtaVersion(String) | ![]() | 100% | ![]() | 100% | 0 | 4 | 0 | 4 | 0 | 1 |
getWidgetDevice(String) | ![]() | 100% | ![]() | 100% | 0 | 4 | 0 | 4 | 0 | 1 |
getWidgetIds() | ![]() | 100% | ![]() | 100% | 0 | 4 | 0 | 4 | 0 | 1 |
getInstallationId() | ![]() | 100% | ![]() | 100% | 0 | 4 | 0 | 4 | 0 | 1 |
getUserUsername() | ![]() | 100% | ![]() | 100% | 0 | 4 | 0 | 4 | 0 | 1 |
setDevicesSortFilterOptions(String, String, String) | ![]() | 100% | n/a | 0 | 1 | 0 | 6 | 0 | 1 | |
setLastDismissedRemoteBannerId(RemoteBannerType, String) | ![]() | 100% | ![]() | 100% | 0 | 2 | 0 | 6 | 0 | 1 |
getLastDismissedRemoteBannerId(RemoteBannerType) | ![]() | 100% | ![]() | 100% | 0 | 2 | 0 | 7 | 0 | 1 |
getWalletAddress() | ![]() | 100% | ![]() | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
setAuthToken(AuthToken) | ![]() | 100% | n/a | 0 | 1 | 0 | 5 | 0 | 1 | |
setDeviceForecast(String, List) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setLocationForecast(String, List) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getUser() | ![]() | 100% | ![]() | 100% | 0 | 2 | 0 | 1 | 0 | 1 |
getSuggestionLocation(SearchSuggestion) | ![]() | 100% | ![]() ![]() | 75% | 1 | 3 | 0 | 1 | 0 | 1 |
getSearchSuggestions(String) | ![]() | 100% | ![]() ![]() | 75% | 1 | 3 | 0 | 1 | 0 | 1 |
setSuggestionLocation(SearchSuggestion, Location) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setDeviceLastOtaVersion(String, String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setWidgetDevice(String, String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setDeviceNotificationTypesEnabled(String, Set) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setSearchSuggestions(String, List) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setUploadIdRequest(String, MultipartUploadRequest) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setWidgetIds(List) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setInstallationId(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setAnalyticsEnabled(boolean) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setUserUsername(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setDeviceLastOtaTimestamp(String, long) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setLastDismissedSurveyId(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setDeviceNotificationsEnabled(String, boolean) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setDeviceNotificationTypeTimestamp(String, long) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getPreferenceString(int, int) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
static {...} | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
removeDeviceOfWidget(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setLastRemindedVersion(int) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setAnalyticsDecisionTimestamp(long) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setAcceptTermsTimestamp(long) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getAnalyticsEnabled() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getUploadIdRequest(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
removeUploadIdRequest(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setWalletWarningDismissTimestamp(long) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getDeviceLastOtaTimestamp(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
setPhotoVerificationAcceptedTerms() | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
setClaimingBadgeShouldShow(boolean) | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getDeviceNotificationsEnabled(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
checkDeviceNotificationsPrompt() | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getDeviceNotificationTypeTimestamp(String) | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
disableShouldShowOnboarding() | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getLastRemindedVersion() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getAnalyticsDecisionTimestamp() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getAcceptTermsTimestamp() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
hasWallet() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getWalletWarningDismissTimestamp() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getDevicesFavorite() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getDevicesOwn() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getLastDismissedSurveyId() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getPhotoVerificationAcceptedTerms() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getClaimingBadgeShouldShow() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getDeviceNotificationsPrompt() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
shouldShowOnboarding() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
clearDeviceForecast() | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
clearLocationForecast() | ![]() | 100% | n/a | 0 | 1 | 0 | 2 | 0 | 1 | |
getFollowedDevicesIds() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getUserDevices() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 | |
getCountriesInfo() | ![]() | 100% | n/a | 0 | 1 | 0 | 1 | 0 | 1 |