Closed mbrzus closed 5 months ago
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Lines | Statements | Branches | Functions |
---|---|---|---|
75.65% (432/571) | 57.14% (68/119) | 68.2% (118/173) |
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
35 | 0 :zzz: | 0 :x: | 0 :fire: | 3.645s :stopwatch: |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|
All files | 75.65 | 57.14 | 68.2 | 75.14 | |
fixtures | 100 | 100 | 100 | 100 | |
kidneyStudyFixture.tsx | 100 | 100 | 100 | 100 | |
src/components | 90.09 | 44.44 | 82.75 | 91.17 | |
ErrorMessageBox.tsx | 83.33 | 100 | 0 | 100 | |
EventTimeline.tsx | 71.42 | 0 | 0 | 75 | 79–83 |
Metadata.tsx | 85.71 | 0 | 80 | 84.61 | 74–75 |
Navbar.tsx | 90.47 | 50 | 100 | 90 | 150, 163 |
StackedChart.tsx | 100 | 66.66 | 100 | 100 | 72–85 |
withAuthenticated.tsx | 100 | 100 | 100 | 100 | |
src/contexts | 90 | 100 | 58.33 | 89.28 | |
authContext.tsx | 90 | 100 | 58.33 | 89.28 | 72, 90, 104 |
src/data | 28.08 | 28.57 | 36.11 | 16.88 | |
index.ts | 28.08 | 28.57 | 36.11 | 16.88 | 14–24, 35–45, 53–63, 73–83, 95–104, 116–126, 136–145, 155–160, 172–189, 199–207, 217–222, 235–274 |
src/hooks | 100 | 100 | 100 | 100 | |
useAuthContext.ts | 100 | 100 | 100 | 100 | |
src/pages | 86.84 | 77.41 | 83.33 | 87.5 | |
analytics.tsx | 96.15 | 100 | 88.88 | 96 | 90 |
dashboard.tsx | 100 | 100 | 100 | 100 | |
index.tsx | 100 | 100 | 100 | 100 | |
login.tsx | 83.87 | 88.88 | 85.71 | 83.33 | 52–57, 109 |
profile.tsx | 78.57 | 66.66 | 75 | 83.33 | 63–66 |
signup.tsx | 80.48 | 57.14 | 72.72 | 80 | 65–67, 82–83, 163–170, 194 |
src/pages/apikeys | 73.21 | 54.54 | 64.28 | 71.69 | |
index.tsx | 73.21 | 54.54 | 64.28 | 71.69 | 74–77, 89, 94–99, 104–108, 195 |
src/pages/studies | 75.23 | 47.22 | 67.74 | 78.12 | |
[id].tsx | 68.57 | 37.5 | 57.89 | 71.42 | 84, 93–107, 111–113, 124–125, 129, 133, 142, 218 |
index.tsx | 88.57 | 66.66 | 83.33 | 90.9 | 69, 78, 95 |
Overview
This pull request fixes multiple bugs and introduces improvements to the receiver agent study handling.
Implementation
Testing
We performed multiple end-to-end entire system manual tests and confirmed all steps are handled and executed correctly.
Problems Faced
We found multiple logical mistakes in receiver agent study handling and resolved them. Similarly we identified and resolved issues with missing results and wrong data return to hospital.