Closed paulmccarron closed 1 year ago
Lines | Statements | Branches | Functions |
---|---|---|---|
98.67% (298/302) | 83.65% (87/104) | 98.68% (75/76) |
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
112 | 7 :zzz: | 0 :x: | 0 :fire: | 16.742s :stopwatch: |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|
All files | 98.67 | 83.65 | 98.68 | 98.64 | |
src | 100 | 100 | 100 | 100 | |
App.tsx | 100 | 100 | 100 | 100 | |
src/api | 92.3 | 83.33 | 83.33 | 92.3 | |
api.ts | 88.88 | 75 | 75 | 88.88 | 27 |
use-common-headers.ts | 100 | 100 | 100 | 100 | |
src/api/auth-api | 100 | 100 | 100 | 100 | |
auth-api.ts | 100 | 100 | 100 | 100 | |
use-auth-api.ts | 100 | 100 | 100 | 100 | |
src/modules/login | 100 | 100 | 100 | 100 | |
login.tsx | 100 | 100 | 100 | 100 | |
use-login-logic.ts | 100 | 100 | 100 | 100 | |
src/modules/register | 100 | 100 | 100 | 100 | |
register.tsx | 100 | 100 | 100 | 100 | |
use-register-logic.ts | 100 | 100 | 100 | 100 | |
src/pages/home | 100 | 100 | 100 | 100 | |
home.tsx | 100 | 100 | 100 | 100 | |
src/pages/login | 100 | 100 | 100 | 100 | |
login.tsx | 100 | 100 | 100 | 100 | |
src/pages/register | 100 | 100 | 100 | 100 | |
register.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/app-header | 100 | 100 | 100 | 100 | |
app-header.tsx | 100 | 100 | 100 | 100 | |
use-app-header-logic.ts | 100 | 100 | 100 | 100 | |
src/shared/components/auth-provider | 100 | 100 | 100 | 100 | |
auth-provider.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/button | 100 | 100 | 100 | 100 | |
button.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/menu | 100 | 100 | 100 | 100 | |
menu.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/modal | 100 | 100 | 100 | 100 | |
modal.tsx | 100 | 100 | 100 | 100 | |
use-modal.ts | 100 | 100 | 100 | 100 | |
src/shared/components/recoil-observer | 100 | 100 | 100 | 100 | |
recoil-observer.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/select | 100 | 50 | 100 | 100 | |
select.tsx | 100 | 50 | 100 | 100 | 17–18, 25 |
src/shared/components/table | 100 | 91.66 | 100 | 100 | |
table-body.tsx | 100 | 100 | 100 | 100 | |
table-head.tsx | 100 | 87.5 | 100 | 100 | 38–40 |
table.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/table/hooks | 89.65 | 69.23 | 100 | 89.28 | |
use-table-sorting.ts | 89.65 | 69.23 | 100 | 89.28 | 15, 18, 21 |
src/shared/components/tabs | 100 | 100 | 100 | 100 | |
tabs.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/text-input | 100 | 83.33 | 100 | 100 | |
text-input.tsx | 100 | 83.33 | 100 | 100 | 19 |
src/shared/components/toggle | 100 | 0 | 100 | 100 | |
toggle.tsx | 100 | 0 | 100 | 100 | 63 |
src/shared/components/tooltip | 100 | 100 | 100 | 100 | |
tooltip.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/typography | 100 | 100 | 100 | 100 | |
typography.tsx | 100 | 100 | 100 | 100 | |
src/shared/services | 100 | 83.33 | 100 | 100 | |
session-storage-service.ts | 100 | 83.33 | 100 | 100 | 66 |
src/shared/state/user | 100 | 100 | 100 | 100 | |
use-access-token.ts | 100 | 100 | 100 | 100 | |
use-set-user.ts | 100 | 100 | 100 | 100 | |
use-user.ts | 100 | 100 | 100 | 100 | |
src/shared/utils | 100 | 100 | 100 | 100 | |
authentication-valid.ts | 100 | 100 | 100 | 100 |
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
SpotifyPlaylistJanitorAPI | 99% | 82% | 462 | ✔ |
Summary | 99% (1249 / 1267) | 82% (209 / 254) | 462 | ✔ |
Api Test Coverage
File | Coverage | Lines | Branches | Missing | |
---|---|---|---|---|---|
All files | 90% |
98% |
82% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Services.AuthService/ |
83% |
92% |
75% |
:white_check_mark: | 111-112 |
SpotifyPlaylistJanitorAPI.Services.DatabaseService/<>c__DisplayClass22_0 | 0% |
0% |
100% |
:x: | 580 |
SpotifyPlaylistJanitorAPI.Services.DatabaseService/<>c__DisplayClass9_0 | 62% |
100% |
25% |
:x: | |
SpotifyPlaylistJanitorAPI.Services.DatabaseService/ |
0% |
0% |
0% |
:x: | 574-589 |
SpotifyPlaylistJanitorAPI.Services.DatabaseUserService/ |
75% |
100% |
50% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Services.PlayingStateService | 84% |
100% |
68% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Services.SecurityService | 74% |
98% |
50% |
:x: | 134-135 |
SpotifyPlaylistJanitorAPI.Services.SpotifyService/<>c | 75% |
100% |
50% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Services.SpotifyService/ |
79% |
100% |
58% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Jobs.SpotifyPollingJob/ |
92% |
100% |
84% |
:white_check_mark: | |
SpotifyPlaylistJanitorAPI.Controllers.AuthController | 94% |
88% |
100% |
:white_check_mark: | 28 |
SpotifyPlaylistJanitorAPI.Controllers.AuthController/ |
87% |
100% |
75% |
:white_check_mark: |
Minimum allowed coverage is 75%
Generated by :monkey: cobertura-action against 20af60ad03169951c909cb0673b549a1a030166f
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
SpotifyPlaylistJanitorAPI | 99% | 82% | 464 | ✔ |
Summary | 99% (1249 / 1267) | 82% (211 / 256) | 464 | ✔ |