DiscoverViewModel

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total275 of 2750%16 of 160%181855551010
DiscoverViewModel(CoroutineDispatcher, MovieDiscoverInteractor, WatchlistInteractor, AuthenticationInteractor, DiscoverMovieItemMapper, ErrorsDispatcher)1050%n/a11252511
createDiscoverUiState(ImmutableList, Result, boolean, boolean)400%120%77111111
shakeLogInSnackbar(Continuation)280%20%224411
onMovieSwiped(DiscoverUiState.MovieItem, SwipeDirection)260%n/a112211
addToWatchlist(DiscoverUiState.MovieItem, Continuation)230%n/a115511
onMovieDisappeared(DiscoverUiState.MovieItem)220%n/a112211
fetchNewDiscoverMovies()180%n/a112211
shouldAddMovieToWatchlist(SwipeDirection)70%20%221111
getUiState()30%n/a111111
retry()30%n/a112211