UniversityOfSaskatchewanCMPT371 / term-project-2024-team-3

3 stars 2 forks source link

Feature/198 create user profile page api routes #307

Closed ralphgregorio closed 6 months ago

ralphgregorio commented 6 months ago

Resolves # (issue)

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

UAT Steps (if applicable)

If your changes are hard to follow, please describe how to manually test your changes as if a user was testing your changes.

github-actions[bot] commented 6 months ago

Backend Code Coverage Report

Overall Project 23.19% -7.44% :x:
Files changed 59.49% :x:


File Coverage
WatchController.java 100% :green_apple:
Util.java 100% :green_apple:
UserService.java 88.7% -5.27% :x:
RawDataService.java 84.4% -15.6% :x:
UserDao.java 74.15% -6.21% :green_apple:
ProcessedDataService.java 73.2% -17.53% :x:
PredictedDataService.java 56.8% -43.2% :x:
UserController.java 31.25% -68.75% :x:
ProcessedDataDao.java 2.89% -32.95% :x:
PredictedDataDao.java 1.96% -38.43% :x:
RawDataDao.java 1.72% -33.68% :x:
AppleWatchService.java 0.28% -0.17% :x:
FitbitService.java 0.24% -0.14% :x:
ProfileDeleteService.java 0% :x:
LoginUserController.java 0% :green_apple:
ArchiveUtil.java 0% :green_apple:
DownloadUtil.java 0% :green_apple:
AccessGroupDao.java 0% :green_apple:
RoleDao.java 0% :green_apple:
github-actions[bot] commented 6 months ago

Frontend Code Coverage Report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
71.01% (+71.01% πŸ”Ό)
529/745
πŸ”΄ Branches
50.59% (+50.59% πŸ”Ό)
128/253
🟑 Functions
70.29% (+70.29% πŸ”Ό)
123/175
🟑 Lines
71.64% (+71.64% πŸ”Ό)
528/737
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / baseapi.ts
| 100% | 75% | 100% | 100% | | 🟒 | shared/api/Api.ts | 100% | 50% | 100% | 100% | | 🟒 |
`...` / useLogin.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / LoginPage.tsx
| 74.42% | 70% | 58.33% | 74.42% | | 🟒 |
`...` / useSignup.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / SignUpPage.tsx
| 80.3% | 69.23% | 68.75% | 80.3% | | 🟑 |
`...` / index.ts
| 60% | 17.65% | 100% | 60% | | 🟒 |
`...` / PrivacyPolicy.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useUpload.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / index.tsx
| 0% | 100% | 0% | 0% | | πŸ”΄ |
`...` / FileDropzone.tsx
| 1.72% | 0% | 0% | 1.85% | | 🟒 |
`...` / useIsUserLoggedIn.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useAuth.tsx
| 90% | 50% | 100% | 88.89% | | 🟒 |
`...` / HelpPopup.tsx
| 85.71% | 56.25% | 100% | 85.71% | | 🟒 |
`...` / ProgressBar.tsx
| 93.55% | 89.47% | 100% | 93.55% | | 🟒 |
`...` / useGetProcessedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / usePredictFile.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / ErrorSnackbar.tsx
| 73.33% | 66.67% | 50% | 73.33% | | πŸ”΄ |
`...` / useDownload.ts
| 46.88% | 0% | 75% | 50% | | πŸ”΄ |
`...` / ProcessedDataPage.tsx
| 49.33% | 29.73% | 66.67% | 49.33% | | 🟒 |
`...` / useLogout.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / loading-modal.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingModal.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Navbar.tsx
| 100% | 75% | 100% | 100% | | 🟒 |
`...` / useGetUploadedFiles.ts
| 91.67% | 100% | 83.33% | 91.67% | | 🟒 |
`...` / useProcessFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / UploadedFiles.tsx
| 91.11% | 66.67% | 100% | 91.11% | | πŸ”΄ |
`...` / HomePage.tsx
| 57.14% | 100% | 33.33% | 57.14% | | 🟒 |
`...` / ProtectedRoute.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useGetPredictedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Logout.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useDeleteFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / FileDropzoneControls.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / PredictedDataPage.tsx
| 50% | 35.71% | 16.67% | 51.72% | | πŸ”΄ |
`...` / FileUploadPage.tsx
| 45.45% | 25% | 40% | 45.45% | | πŸ”΄ |
`...` / GoogleLogin.tsx
| 0% | 0% | 0% | 0% |

Test suite run success

106 tests passing in 33 suites.

Report generated by πŸ§ͺjest coverage report action from 44be0f5040e3b9aaa3eb713bc6fc732af9f89865