Coverage Summary for Package: com.georgeci.moneysurfer.domain.usecase
| Package | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|---|
| com.georgeci.moneysurfer.domain.usecase | 94.6% (158/167) | 75.4% (322/427) | 77.5% (427/551) | 92.6% (1545/1669) | 88.6% (13851/15632) |
| Class | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|---|
| CancelInviteUseCase | 0% (0/1) | 0% (0/2) | 0% (0/12) | 0% (0/19) | 0% (0/397) |
| CheckAppVersionUseCase | 0% (0/1) | 0% (0/2) | 0% (0/3) | 0% (0/9) | |
| DeclineInviteUseCase | 0% (0/1) | 0% (0/2) | 0% (0/20) | 0% (0/30) | 0% (0/674) |
| GetGoalContributionsUseCase | 0% (0/1) | 0% (0/2) | 0% (0/3) | 0% (0/9) | |
| ListPendingInvitesForCurrentUserUseCase | 66.7% (2/3) | 75% (3/4) | 16.7% (2/12) | 47.1% (8/17) | 34.3% (61/178) |
| UpdateWorkspaceCurrencyError | 50% (1/2) | 50% (1/2) | 50% (1/2) | 22.2% (2/9) | |
| GetGoalsUseCaseKt | 100% (1/1) | 50% (2/4) | 25% (2/8) | 62.5% (5/8) | 100% (11/11) |
| GetCategorySpendHistoryUseCaseKt | 100% (1/1) | 100% (1/1) | 33.3% (1/3) | 66.7% (2/3) | 85.7% (12/14) |
| AcceptInviteUseCase | 100% (1/1) | 100% (2/2) | 82.1% (23/28) | 68% (66/97) | 78.8% (1151/1461) |
| SendInviteUseCase | 66.7% (2/3) | 80% (4/5) | 82.1% (23/28) | 82.9% (58/70) | 89.5% (1037/1159) |
| GetBudgetProgressUseCase | 100% (2/2) | 38.5% (5/13) | 50% (1/2) | 86.7% (13/15) | 84.4% (81/96) |
| GetRecentTransactionsUseCase | 100% (1/1) | 50% (4/8) | 50% (2/4) | 88.9% (8/9) | 100% (23/23) |
| GoalActionError | 88.9% (8/9) | 88.9% (8/9) | 88.9% (8/9) | 69.6% (16/23) | |
| MemberActionGuardsKt | 100% (1/1) | 100% (1/1) | 66.7% (8/12) | 88.9% (8/9) | 90.8% (138/152) |
| DeleteUserAccountUseCase | 100% (1/1) | 100% (5/5) | 62.5% (5/8) | 90.3% (28/31) | 97.3% (534/549) |
| InviteError | 92.3% (12/13) | 92.3% (12/13) | 92.3% (12/13) | 86.3% (44/51) | |
| GetBudgetTransactionsUseCase | 100% (2/2) | 50% (4/8) | 50% (1/2) | 95% (19/20) | 94.8% (91/96) |
| GetDailySpendSeriesUseCase | 100% (1/1) | 30.8% (4/13) | 100% (8/8) | 95.2% (20/21) | 73.7% (28/38) |
| LeaveWorkspaceUseCase | 100% (1/1) | 100% (2/2) | 81.2% (13/16) | 95.7% (22/23) | 97.2% (351/361) |
| AbandonAuthSessionUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (10/10) | 100% (87/87) |
| AccountActionError | 100% (2/2) | 100% (2/2) | 100% (2/2) | 100% (9/9) | |
| AddContributionUseCase | 100% (1/1) | 100% (3/3) | 100% (16/16) | 100% (68/68) | |
| AnonymousLoginUseCase | 100% (1/1) | 100% (2/2) | 100% (22/22) | 100% (380/380) | |
| ApplyTransactionChangeUseCase | 100% (1/1) | 100% (4/4) | 93.8% (15/16) | 100% (14/14) | 100% (192/192) |
| ArchiveAccountUseCase | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (9/9) | 100% (175/175) |
| ArchiveBudgetUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (11/11) | |
| CategoryCapUseCase | 100% (1/1) | 57.1% (4/7) | 100% (18/18) | 100% (27/27) | 100% (295/295) |
| CategoryDeletion | 100% (1/1) | 100% (1/1) | 100% (3/3) | 100% (12/12) | |
| ChangeMemberRoleUseCase | 100% (2/2) | 100% (3/3) | 75% (9/12) | 100% (29/29) | 99.4% (312/314) |
| ComparisonWindows | 100% (1/1) | 100% (1/1) | 100% (5/5) | 100% (22/22) | |
| ConvertAccountsTotalUseCase | 100% (1/1) | 100% (3/3) | 95% (19/20) | 100% (19/19) | 98.5% (129/131) |
| CreateAccountUseCase | 100% (1/1) | 100% (2/2) | 100% (7/7) | 100% (105/105) | |
| CreateBudgetUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| CreateCategoryUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| CreateSavingsGoalUseCase | 100% (1/1) | 100% (2/2) | 100% (9/9) | 100% (153/153) | |
| CreateSplitTransactionUseCase | 100% (3/3) | 100% (4/4) | 100% (6/6) | 100% (39/39) | 100% (218/218) |
| CreateTransactionUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (11/11) | |
| CreateTransferUseCase | 100% (2/2) | 100% (4/4) | 100% (6/6) | 100% (62/62) | 100% (321/321) |
| CreateWorkspaceError | 100% (3/3) | 100% (3/3) | 100% (3/3) | 100% (16/16) | |
| CreateWorkspaceUseCase | 100% (2/2) | 100% (5/5) | 100% (8/8) | 100% (75/75) | 100% (942/942) |
| DeleteAccountUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (8/8) | 100% (163/163) |
| DeleteBudgetUseCase | 100% (1/1) | 100% (2/2) | 50% (1/2) | 100% (5/5) | 95.6% (43/45) |
| DeleteCategoryUseCase | 100% (1/1) | 100% (2/2) | 50% (1/2) | 100% (9/9) | 98.6% (144/146) |
| DeleteSavingsGoalUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (5/5) | 100% (45/45) |
| DeleteTransactionUseCase | 100% (1/1) | 100% (2/2) | 87.5% (7/8) | 100% (9/9) | 100% (141/141) |
| DemoLoginUseCase | 100% (1/1) | 100% (2/2) | 100% (15/15) | 100% (89/89) | |
| EditBudgetUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| EditCategoryUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| GenerateInsightsUseCase | 100% (4/4) | 66.7% (10/15) | 100% (12/12) | 100% (45/45) | 100% (281/281) |
| GenerateInsightsUseCaseKt | 100% (1/1) | 100% (3/3) | 100% (12/12) | 100% (69/69) | |
| GetAccountBalanceSeriesUseCase | 100% (1/1) | 100% (3/3) | 100% (10/10) | 100% (21/21) | |
| GetAccountByIdUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| GetAccountsUseCase | 100% (1/1) | 75% (3/4) | 50% (3/6) | 100% (5/5) | 100% (14/14) |
| GetActiveBudgetProgressUseCase | 100% (1/1) | 50% (4/8) | 100% (4/4) | 100% (13/13) | 100% (23/23) |
| GetBudgetTransactionsUseCaseKt | 100% (1/1) | 100% (1/1) | 100% (3/3) | 100% (12/12) | |
| GetBudgetsUseCase | 100% (1/1) | 75% (3/4) | 66.7% (4/6) | 100% (5/5) | 100% (14/14) |
| GetBurnRateUseCase | 100% (2/2) | 100% (4/4) | 100% (2/2) | 100% (7/7) | 100% (43/43) |
| GetCategoriesUseCase | 100% (1/1) | 75% (3/4) | 66.7% (4/6) | 100% (5/5) | 100% (14/14) |
| GetCategorySpendHistoryUseCase | 100% (1/1) | 43.8% (7/16) | 87.5% (7/8) | 100% (37/37) | 100% (41/41) |
| GetCategorySpendUseCase | 100% (3/3) | 61.5% (8/13) | 90% (9/10) | 100% (33/33) | 100% (94/94) |
| GetCurrenciesUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (8/8) | |
| GetCurrentTimeUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (8/8) | |
| GetCurrentWorkspaceUseCase | 100% (1/1) | 42.9% (3/7) | 75% (3/4) | 100% (7/7) | 100% (15/15) |
| GetExchangeRatesUseCase | 100% (4/4) | 61.5% (8/13) | 90% (9/10) | 100% (19/19) | 100% (111/111) |
| GetGoalDetailsUseCase | 100% (2/2) | 100% (3/3) | 100% (2/2) | 100% (12/12) | 100% (50/50) |
| GetGoalsUseCase | 100% (2/2) | 83.3% (5/6) | 75% (6/8) | 100% (22/22) | 98.1% (103/105) |
| GetMonthlyNetHistoryUseCase | 100% (3/3) | 55.6% (10/18) | 100% (14/14) | 100% (34/34) | 100% (175/175) |
| GetMonthlyNetHistoryUseCaseKt | 100% (1/1) | 100% (1/1) | 100% (1/1) | 100% (6/6) | |
| GetSafeToSpendUseCase | 100% (2/2) | 100% (4/4) | 100% (7/7) | 100% (27/27) | |
| GetSpendInsightsUseCase | 100% (4/4) | 64.3% (9/14) | 50% (5/10) | 100% (45/45) | 98.6% (143/145) |
| GetSpendInsightsUseCaseKt | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (23/23) | |
| GetSpentMonthUseCase | 100% (2/2) | 46.7% (7/15) | 100% (8/8) | 100% (31/31) | 100% (71/71) |
| GetSplitLegsUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (4/4) | 100% (17/17) |
| GetTransactionByIdUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (10/10) | |
| GetTransactionsByAccountUseCase | 100% (1/1) | 100% (4/4) | 100% (5/5) | 100% (20/20) | |
| GetTransactionsByCategoryUseCase | 100% (3/3) | 85.7% (6/7) | 50% (2/4) | 100% (17/17) | 96.4% (53/55) |
| GetTransferCounterpartUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (5/5) | 100% (39/39) |
| GetUpcomingRecurringUseCase | 100% (3/3) | 66.7% (8/12) | 87.5% (7/8) | 100% (26/26) | 100% (137/137) |
| GetUpcomingRecurringUseCaseKt | 100% (1/1) | 100% (1/1) | 100% (1/1) | 100% (6/6) | |
| GetWorkspacesForUserUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (9/9) | |
| GoalValidationKt | 100% (1/1) | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (58/58) |
| LoginUseCase | 100% (1/1) | 100% (2/2) | 50% (1/2) | 100% (24/24) | 100% (297/297) |
| LogoutUseCase | 100% (1/1) | 100% (2/2) | 100% (11/11) | 100% (71/71) | |
| OwnerActionTarget | 100% (1/1) | 100% (1/1) | 100% (4/4) | 100% (17/17) | |
| PostAuthBootstrapUseCase | 100% (4/4) | 100% (8/8) | 87.5% (42/48) | 100% (92/92) | 98.3% (977/994) |
| PurgeDeletedTransactionsUseCase | 100% (2/2) | 100% (4/4) | 100% (6/6) | 100% (24/24) | |
| RecalculateAccountBalanceUseCase | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (11/11) | 100% (86/86) |
| RecordGoalContributionKt | 100% (1/1) | 100% (2/2) | 92.9% (13/14) | 100% (24/24) | 100% (356/356) |
| RefreshIncomingInvitesUseCase | 100% (1/1) | 100% (2/2) | 100% (5/5) | 100% (37/37) | |
| RemoveMemberUseCase | 100% (2/2) | 100% (3/3) | 75% (6/8) | 100% (30/30) | 99.3% (284/286) |
| ReorderAccountsUseCase | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (37/37) | |
| RestoreAccountUseCase | 100% (1/1) | 100% (2/2) | 75% (3/4) | 100% (9/9) | 94.9% (166/175) |
| RestoreTransactionsUseCase | 100% (1/1) | 100% (2/2) | 100% (3/3) | 100% (42/42) | |
| SeedDefaultsUseCase | 100% (1/1) | 100% (4/4) | 84.6% (22/26) | 100% (43/43) | 98.7% (392/397) |
| SelectWorkspaceUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (18/18) | 100% (121/121) |
| SendInviteUseCaseKt | 100% (1/1) | 100% (1/1) | 62.5% (5/8) | 100% (4/4) | 94.7% (36/38) |
| SetGoalStatusUseCase | 100% (1/1) | 100% (2/2) | 87.5% (7/8) | 100% (13/13) | 98.9% (184/186) |
| SignupUseCase | 100% (1/1) | 100% (2/2) | 50% (1/2) | 100% (24/24) | 100% (297/297) |
| UpdateAccountUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (8/8) | 100% (105/105) |
| UpdateSavingsGoalUseCase | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (13/13) | 100% (306/306) |
| UpdateSavingsGoalUseCaseKt | 100% (1/1) | 100% (1/1) | 87.5% (7/8) | 100% (4/4) | 100% (16/16) |
| UpdateTransactionUseCase | 100% (1/1) | 100% (3/3) | 100% (6/6) | 100% (20/20) | 100% (189/189) |
| UpdateWorkspaceCurrencyUseCase | 100% (1/1) | 100% (2/2) | 100% (4/4) | 100% (20/20) | 100% (266/266) |
| WipeDemoDataUseCase | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (7/7) | 100% (48/48) |
| WithdrawFromGoalUseCase | 100% (1/1) | 100% (3/3) | 100% (16/16) | 100% (69/69) |