Closed paulmccarron closed 1 year ago
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
SpotifyPlaylistJanitorAPI | 99% | 82% | 465 | ✔ |
Summary | 99% (1251 / 1269) | 82% (211 / 256) | 465 | ✔ |
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: | 581 |
SpotifyPlaylistJanitorAPI.Services.DatabaseService/<>c__DisplayClass9_0 | 62% |
100% |
25% |
:x: | |
SpotifyPlaylistJanitorAPI.Services.DatabaseService/ |
0% |
0% |
0% |
:x: | 575-590 |
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 8e4f468d1c582f57f1439a2245de0c73ae0d6ab1
Lines | Statements | Branches | Functions |
---|---|---|---|
96.69% (644/666) | 80.64% (250/310) | 94.15% (161/171) |
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
213 | 0 :zzz: | 0 :x: | 0 :fire: | 12.938s :stopwatch: |
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|
All files | 96.69 | 80.64 | 94.15 | 97.1 | |
src | 100 | 100 | 100 | 100 | |
App.tsx | 100 | 100 | 100 | 100 | |
src/api | 100 | 100 | 100 | 100 | |
api.ts | 100 | 100 | 100 | 100 | |
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/api/data-api | 100 | 100 | 100 | 100 | |
data-api.ts | 100 | 100 | 100 | 100 | |
use-data-api.ts | 100 | 100 | 100 | 100 | |
src/api/spotify-api | 100 | 100 | 100 | 100 | |
spotify-api.ts | 100 | 100 | 100 | 100 | |
use-spotify-api.ts | 100 | 100 | 100 | 100 | |
src/modules/home | 100 | 90.9 | 94.73 | 100 | |
home.tsx | 100 | 100 | 83.33 | 100 | |
use-home-logic.ts | 100 | 85 | 100 | 100 | 60–82, 151 |
src/modules/home/modal | 90 | 75 | 75 | 90 | |
add-playlist-modal.tsx | 83.33 | 75 | 66.66 | 83.33 | 48 |
spotify-auth-modal.tsx | 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/playlist | 100 | 88.09 | 100 | 100 | |
playlist.tsx | 100 | 91.66 | 100 | 100 | 125, 138 |
use-playlist-logic.ts | 100 | 83.33 | 100 | 100 | 68–83 |
src/modules/playlist/modal | 100 | 100 | 100 | 100 | |
delete-playlist-modal.tsx | 100 | 100 | 100 | 100 | |
edit-playlist-modal.tsx | 100 | 100 | 100 | 100 | |
src/modules/playlist/tabs | 87.96 | 68.35 | 76.47 | 89.92 | |
delete-track-modal.tsx | 100 | 100 | 100 | 100 | |
playlist-tabs.tsx | 100 | 100 | 100 | 100 | |
use-playlist-tabs-columns.tsx | 92.85 | 50 | 91.66 | 92.85 | 121, 145 |
use-playlist-tabs-logic.ts | 84.61 | 33.33 | 56.25 | 87.35 | 46–54, 97, 116, 162 |
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/playlist | 100 | 100 | 100 | 100 | |
playlist.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 | 57.14 | 100 | 100 | |
select.tsx | 100 | 57.14 | 100 | 100 | 18, 20, 28 |
src/shared/components/table | 100 | 91.66 | 100 | 100 | |
table-body.tsx | 100 | 100 | 100 | 100 | |
table-head.tsx | 100 | 87.5 | 100 | 100 | 54–56 |
table.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/table/hooks | 88.09 | 68.33 | 100 | 87.8 | |
use-table-sorting.ts | 88.09 | 68.33 | 100 | 87.8 | 16, 19, 22, 44, 76 |
src/shared/components/tabs | 100 | 100 | 100 | 100 | |
tabs.tsx | 100 | 100 | 100 | 100 | |
src/shared/components/text-input | 100 | 100 | 100 | 100 | |
text-input.tsx | 100 | 100 | 100 | 100 | |
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 |