Coverage report: 84%

Files Functions Classes

coverage.py v7.17.4, created at 2026-11-21 22:18 +0000

File class   statements missing excluded   coverage
downtify/__init__.py (no class)   1 0 0   100%
downtify/account_routes.py (no class)   256 30 0   88%
downtify/activity.py ActivityLog   45 2 0   96%
downtify/activity.py NowPlaying   26 1 0   96%
downtify/activity.py (no class)   67 3 0   96%
downtify/admin_access.py (no class)   12 0 0   100%
downtify/album_artist.py (no class)   33 0 0   100%
downtify/api.py ConnectionManager   62 18 0   71%
downtify/api.py AppState   0 0 0   100%
downtify/api.py _PlaylistLens   13 0 0   100%
downtify/api.py (no class)   4934 1191 0   76%
downtify/apple_music.py (no class)   117 7 0   94%
downtify/artist_catalogue.py ArtistCatalogue   60 8 0   87%
downtify/artist_catalogue.py (no class)   156 2 0   99%
downtify/artist_photo_proxy.py PhotoUnavailable   0 0 0   100%
downtify/artist_photo_proxy.py (no class)   102 5 0   95%
downtify/artist_profile.py ProfileUnavailable   0 0 0   100%
downtify/artist_profile.py (no class)   544 17 0   97%
downtify/artist_release_store.py ArtistReleaseStore   19 0 0   100%
downtify/artist_release_store.py (no class)   14 0 0   100%
downtify/artist_suggestions.py (no class)   81 1 0   99%
downtify/audio_replace.py ReplaceError   0 0 0   100%
downtify/audio_replace.py (no class)   229 126 0   45%
downtify/auth.py Principal   1 0 0   100%
downtify/auth.py PairingStore   48 1 0   98%
downtify/auth.py TicketStore   16 0 0   100%
downtify/auth.py RateLimiter   19 1 0   95%
downtify/auth.py _SignInCache   26 2 0   92%
downtify/auth.py AuthStore   138 2 0   99%
downtify/auth.py UrlSigner   44 2 0   95%
downtify/auth.py AuthMiddleware   61 2 0   97%
downtify/auth.py (no class)   262 13 0   95%
downtify/auth_routes.py (no class)   347 54 0   84%
downtify/backup.py BackupError   0 0 0   100%
downtify/backup.py BackupInfo   1 1 0   0%
downtify/backup.py (no class)   176 20 0   89%
downtify/backup_routes.py _Body   4 4 0   0%
downtify/backup_routes.py ScheduleRequest   0 0 0   100%
downtify/backup_routes.py (no class)   192 61 0   68%
downtify/buy_links.py (no class)   54 0 0   100%
downtify/catalog_worker.py (no class)   26 0 0   100%
downtify/compilation.py CompilationError   0 0 0   100%
downtify/compilation.py AlreadyInStateError   2 2 0   0%
downtify/compilation.py CompilationMarks   33 0 0   100%
downtify/compilation.py _Track   4 4 0   0%
downtify/compilation.py CompilationResult   0 0 0   100%
downtify/compilation.py (no class)   161 103 0   36%
downtify/content_advisory.py (no class)   5 0 0   100%
downtify/cookie_refresh.py (no class)   119 18 0   85%
downtify/cookies.py InvalidCookiesFile   0 0 0   100%
downtify/cookies.py CookiesStore   33 0 0   100%
downtify/cookies.py (no class)   135 16 0   88%
downtify/cover_art.py (no class)   124 44 0   65%
downtify/cover_cache.py CoverArtCache   87 51 0   41%
downtify/cover_cache.py (no class)   20 0 0   100%
downtify/cover_sources.py CoverCandidate   1 1 0   0%
downtify/cover_sources.py (no class)   148 21 0   86%
downtify/cover_thumbs.py CoverThumbs   49 7 0   86%
downtify/cover_thumbs.py (no class)   31 0 0   100%
downtify/db/__init__.py (no class)   0 0 0   100%
downtify/db/batching.py (no class)   22 0 0   100%
downtify/db/config.py Dialect   0 0 0   100%
downtify/db/config.py DbConfig   25 0 0   100%
downtify/db/config.py (no class)   42 0 0   100%
downtify/db/core.py Cursor   20 3 0   85%
downtify/db/core.py Connection   32 0 0   100%
downtify/db/core.py _ThreadState   0 0 0   100%
downtify/db/core.py Database   88 2 0   98%
downtify/db/core.py (no class)   65 0 0   100%
downtify/db/dialect.py (no class)   51 1 3   98%
downtify/db/errors.py DatabaseError   0 0 0   100%
downtify/db/errors.py OperationalError   0 0 0   100%
downtify/db/errors.py IntegrityError   0 0 0   100%
downtify/db/errors.py ProgrammingError   0 0 0   100%
downtify/db/errors.py UndefinedTable   0 0 0   100%
downtify/db/errors.py SerializationRetry   0 0 0   100%
downtify/db/errors.py (no class)   55 2 0   96%
downtify/db/migrate_sqlite.py MigrationError   0 0 0   100%
downtify/db/migrate_sqlite.py TableReport   0 0 0   100%
downtify/db/migrate_sqlite.py Report   0 0 0   100%
downtify/db/migrate_sqlite.py _Source   0 0 0   100%
downtify/db/migrate_sqlite.py _Plan   1 0 0   100%
downtify/db/migrate_sqlite.py _Target   0 0 0   100%
downtify/db/migrate_sqlite.py _Digest   3 0 0   100%
downtify/db/migrate_sqlite.py (no class)   320 15 0   95%
downtify/db/migrations/__init__.py (no class)   0 0 0   100%
downtify/db/migrations/runner.py Migration   0 0 0   100%
downtify/db/migrations/runner.py (no class)   64 0 0   100%
downtify/db/migrations/schema/__init__.py (no class)   0 0 0   100%
downtify/db/migrations/schema/activity.py (no class)   2 0 0   100%
downtify/db/migrations/schema/auth.py (no class)   2 0 0   100%
downtify/db/migrations/schema/doctor.py (no class)   2 0 0   100%
downtify/db/migrations/schema/library_a.py (no class)   2 0 0   100%
downtify/db/migrations/schema/library_b.py (no class)   2 0 0   100%
downtify/db/migrations/schema/monitor.py (no class)   2 0 0   100%
downtify/db/migrations/versions/0001_baseline.py (no class)   7 0 0   100%
downtify/db/migrations/versions/0002_download_sources.py (no class)   6 0 0   100%
downtify/db/migrations/versions/0003_release_dates.py (no class)   6 0 0   100%
downtify/db/migrations/versions/0004_slskd_misses.py (no class)   6 0 0   100%
downtify/db/migrations/versions/__init__.py (no class)   0 0 0   100%
downtify/db/rows.py Row   16 0 0   100%
downtify/db/rows.py (no class)   22 0 0   100%
downtify/db/runtime.py (no class)   48 4 0   92%
downtify/db/sql.py (no class)   50 0 0   100%
downtify/deemix_provider.py DeemixError   0 0 0   100%
downtify/deemix_provider.py DeemixClient   41 4 0   90%
downtify/deemix_provider.py (no class)   168 47 0   72%
downtify/deemix_upgrade.py DeemixLibraryUpgrade   186 35 0   81%
downtify/deemix_upgrade.py (no class)   29 0 0   100%
downtify/deemix_upgrade_playlists.py (no class)   64 2 0   97%
downtify/deemix_upgrade_store.py AudioReplacementStore   91 1 0   99%
downtify/deemix_upgrade_store.py (no class)   35 1 0   97%
downtify/deezer.py DeezerRefused   2 0 0   100%
downtify/deezer.py (no class)   673 48 0   93%
downtify/discover.py DiscoverStore   136 6 0   96%
downtify/discover.py (no class)   371 19 0   95%
downtify/discovery.py Announcer   37 37 0   0%
downtify/discovery.py (no class)   37 0 0   100%
downtify/doctor.py CandidateIndex   33 0 0   100%
downtify/doctor.py CopyResult   1 0 0   100%
downtify/doctor.py M3UInfo   1 0 0   100%
downtify/doctor.py PlaylistGroup   16 0 0   100%
downtify/doctor.py (no class)   392 39 0   90%
downtify/doctor_ai.py Helper   78 1 0   99%
downtify/doctor_ai.py ToolError   0 0 0   100%
downtify/doctor_ai.py (no class)   366 45 0   88%
downtify/doctor_ai_routes.py AiSettings   0 0 0   100%
downtify/doctor_ai_routes.py SuggestionIds   0 0 0   100%
downtify/doctor_ai_routes.py (no class)   84 9 0   89%
downtify/doctor_ai_sections.py (no class)   397 61 0   85%
downtify/doctor_audio.py AudioHashCache   29 0 0   100%
downtify/doctor_audio.py (no class)   34 16 0   53%
downtify/doctor_routes.py Cleanup   0 0 0   100%
downtify/doctor_routes.py Merge   0 0 0   100%
downtify/doctor_routes.py PlaylistDecisions   0 0 0   100%
downtify/doctor_routes.py NavidromeRepair   0 0 0   100%
downtify/doctor_routes.py DuplicateMerge   0 0 0   100%
downtify/doctor_routes.py DuplicateFiles   0 0 0   100%
downtify/doctor_routes.py (no class)   690 428 0   38%
downtify/download_log.py DownloadLog   25 0 0   100%
downtify/download_log.py (no class)   21 0 0   100%
downtify/download_policy.py DownloadPolicyBlocked   2 0 0   100%
downtify/download_policy.py DownloadPolicy   80 2 0   98%
downtify/download_policy.py Attempt   11 1 0   91%
downtify/download_policy.py (no class)   62 2 3   97%
downtify/download_policy_routes.py Track   0 0 0   100%
downtify/download_policy_routes.py (no class)   39 19 0   51%
downtify/download_queue.py QueuePause   33 2 0   94%
downtify/download_queue.py PendingDownload   0 0 0   100%
downtify/download_queue.py PendingDownloads   54 1 0   98%
downtify/download_queue.py (no class)   67 3 0   96%
downtify/download_sources.py DownloadSources   65 14 0   78%
downtify/download_sources.py (no class)   57 5 0   91%
downtify/downloader.py NoAudioMatchError   0 0 0   100%
downtify/downloader.py TrackTooLongError   0 0 0   100%
downtify/downloader.py _ExtractAudioPP   18 0 0   100%
downtify/downloader.py _YtdlpLogger   7 7 0   0%
downtify/downloader.py Downloader   537 93 0   83%
downtify/downloader.py _LookupResults   4 0 0   100%
downtify/downloader.py _MetadataLookups   8 0 0   100%
downtify/downloader.py (no class)   467 64 0   86%
downtify/duplicate_merge.py MergeError   3 0 0   100%
downtify/duplicate_merge.py KeptApart   29 0 0   100%
downtify/duplicate_merge.py MergeStores   0 0 0   100%
downtify/duplicate_merge.py MergePlan   0 0 0   100%
downtify/duplicate_merge.py (no class)   149 13 0   91%
downtify/external_library.py _ArtistMatcher   26 1 0   96%
downtify/external_library.py (no class)   496 98 0   80%
downtify/external_playlists.py ExternalPlaylist   0 0 0   100%
downtify/external_playlists.py ExternalPlaylistImports   35 1 0   97%
downtify/external_playlists.py (no class)   108 12 0   89%
downtify/external_sync.py ExternalSyncJob   55 9 0   84%
downtify/external_sync.py (no class)   118 46 0   61%
downtify/file_naming.py (no class)   19 0 0   100%
downtify/file_providers.py FileProviders   60 0 0   100%
downtify/file_providers.py (no class)   42 0 0   100%
downtify/fs_suggest.py (no class)   65 21 0   68%
downtify/hand_replaced.py HandReplacedFiles   24 1 0   96%
downtify/hand_replaced.py (no class)   18 0 0   100%
downtify/http_etag.py JsonETagMiddleware   16 1 0   94%
downtify/http_etag.py (no class)   25 0 0   100%
downtify/image_size.py (no class)   76 18 0   76%
downtify/integration_check.py (no class)   185 15 0   92%
downtify/isrc.py (no class)   107 31 0   71%
downtify/itunes.py (no class)   227 50 0   78%
downtify/library_archive.py _StreamBuffer   13 0 0   100%
downtify/library_archive.py ArchiveTicketStore   18 0 0   100%
downtify/library_archive.py (no class)   55 1 0   98%
downtify/library_cache_keys.py (no class)   20 4 0   80%
downtify/library_catalog.py LibraryContext   0 0 0   100%
downtify/library_catalog.py (no class)   523 46 3   91%
downtify/library_cleanup.py (no class)   52 3 0   94%
downtify/library_delete.py TagMismatchDeleteContext   0 0 0   100%
downtify/library_delete.py (no class)   268 57 0   79%
downtify/library_fingerprint.py (no class)   80 13 0   84%
downtify/library_import.py LibraryCsvError   0 0 0   100%
downtify/library_import.py (no class)   49 1 0   98%
downtify/library_listing_store.py LibraryListingStore   32 0 0   100%
downtify/library_listing_store.py (no class)   15 0 0   100%
downtify/library_metadata.py (no class)   188 41 0   78%
downtify/library_metadata_cache.py LibraryMetadataCache   189 47 0   75%
downtify/library_metadata_cache.py (no class)   61 3 0   95%
downtify/library_only.py Policy   16 0 0   100%
downtify/library_only.py (no class)   94 2 0   98%
downtify/library_paths.py ResolvedLibraryRoots   35 11 0   69%
downtify/library_paths.py (no class)   154 11 0   93%
downtify/library_paths_cache.py (no class)   272 32 3   88%
downtify/library_preference.py (no class)   30 0 0   100%
downtify/library_reconcile.py (no class)   229 132 3   42%
downtify/library_songs.py LibrarySongs   20 0 0   100%
downtify/library_songs.py (no class)   45 7 0   84%
downtify/library_sync.py LibrarySync   180 0 0   100%
downtify/library_sync.py (no class)   84 1 0   99%
downtify/library_trash.py TrashError   0 0 0   100%
downtify/library_trash.py TrashRoot   10 2 0   80%
downtify/library_trash.py _Hidden   0 0 0   100%
downtify/library_trash.py LibraryTrash   292 23 0   92%
downtify/library_trash.py (no class)   270 36 0   87%
downtify/library_upgrade.py UpgradeOptions   11 0 0   100%
downtify/library_upgrade.py _Staged   0 0 0   100%
downtify/library_upgrade.py UpgradeOutcome   0 0 0   100%
downtify/library_upgrade.py UpgradeDeps   0 0 0   100%
downtify/library_upgrade.py _Artwork   0 0 0   100%
downtify/library_upgrade.py LibraryUpgradeRunner   238 36 0   85%
downtify/library_upgrade.py (no class)   424 36 0   92%
downtify/library_upgrade_db.py LibraryUpgradeDB   96 0 0   100%
downtify/library_upgrade_db.py (no class)   88 7 0   92%
downtify/library_usage.py _Estimate   7 0 0   100%
downtify/library_usage.py _Groups   10 2 0   80%
downtify/library_usage.py UsageSnapshots   14 0 0   100%
downtify/library_usage.py (no class)   234 8 0   97%
downtify/library_visibility.py HiddenRules   19 0 0   100%
downtify/library_visibility.py LibraryVisibility   92 0 0   100%
downtify/library_visibility.py (no class)   50 0 0   100%
downtify/likes.py LikedTracks   70 1 0   99%
downtify/likes.py (no class)   76 4 0   95%
downtify/loudness.py LoudnessAnalyzer   138 47 0   66%
downtify/loudness.py (no class)   65 6 0   91%
downtify/lyrics.py Lyrics   2 0 0   100%
downtify/lyrics.py (no class)   551 99 0   82%
downtify/lyrics_cache.py LyricsLookupCache   46 11 0   76%
downtify/lyrics_cache.py (no class)   37 2 0   95%
downtify/m3u.py (no class)   239 13 0   95%
downtify/manual_playlists.py ManualPlaylistError   2 0 0   100%
downtify/manual_playlists.py (no class)   307 33 0   89%
downtify/metadata_edit.py (no class)   103 68 0   34%
downtify/mobile_routes.py (no class)   462 280 0   39%
downtify/mobile_track_ids.py (no class)   35 1 0   97%
downtify/monitor.py LibraryStores   0 0 0   100%
downtify/monitor.py MonitoredPlaylist   5 0 0   100%
downtify/monitor.py PlaylistMonitorDB   151 0 0   100%
downtify/monitor.py (no class)   863 71 0   92%
downtify/musicbrainz.py MusicBrainzError   0 0 0   100%
downtify/musicbrainz.py NotFound   0 0 0   100%
downtify/musicbrainz.py (no class)   167 16 0   90%
downtify/navidrome.py SubsonicError   2 0 0   100%
downtify/navidrome.py PlaylistSyncResult   0 0 0   100%
downtify/navidrome.py NavidromeClient   239 81 0   66%
downtify/navidrome.py IdleScan   31 7 0   77%
downtify/navidrome.py (no class)   541 129 0   76%
downtify/navidrome_index.py NavidromeIndex   110 16 0   85%
downtify/navidrome_index.py (no class)   27 0 0   100%
downtify/navidrome_ratings.py DeezerUnavailable   0 0 0   100%
downtify/navidrome_ratings.py RatingRun   129 4 0   97%
downtify/navidrome_ratings.py (no class)   91 0 0   100%
downtify/navidrome_ratings_routes.py RunRequest   0 0 0   100%
downtify/navidrome_ratings_routes.py (no class)   153 13 0   92%
downtify/oidc.py OIDCError   0 0 0   100%
downtify/oidc.py OIDCConfig   13 1 0   92%
downtify/oidc.py OIDCTransactions   16 0 0   100%
downtify/oidc.py OIDCProvider   43 6 0   86%
downtify/oidc.py (no class)   104 11 0   89%
downtify/playlist_batches.py PlaylistBatchStore   67 0 0   100%
downtify/playlist_batches.py LibrarySnapshot   9 0 0   100%
downtify/playlist_batches.py (no class)   135 18 0   87%
downtify/playlist_catalog.py PlaylistCatalog   168 2 0   99%
downtify/playlist_catalog.py ManualPlaylistOwners   39 0 0   100%
downtify/playlist_catalog.py (no class)   66 0 0   100%
downtify/playlist_diagnostics.py PlaylistDiagnosticsContext   0 0 0   100%
downtify/playlist_diagnostics.py _PlaylistSnapshot   0 0 0   100%
downtify/playlist_diagnostics.py (no class)   164 17 0   90%
downtify/playlist_hidden.py HiddenSongs   12 0 0   100%
downtify/playlist_hidden.py PlaylistHiddenSongs   81 0 0   100%
downtify/playlist_hidden.py HiddenSongsError   2 0 0   100%
downtify/playlist_hidden.py (no class)   147 4 4   97%
downtify/playlist_identity.py (no class)   19 0 0   100%
downtify/playlist_listing.py (no class)   34 1 0   97%
downtify/playlist_mosaic.py (no class)   128 46 0   64%
downtify/playlist_shares.py ShareView   0 0 0   100%
downtify/playlist_shares.py PlaylistShares   117 0 0   100%
downtify/playlist_shares.py (no class)   44 0 0   100%
downtify/playlist_spotify_cache.py PlaylistSpotifyCache   117 6 0   95%
downtify/playlist_spotify_cache.py (no class)   113 9 0   92%
downtify/podcasts.py PodcastFeedNotFoundError   2 0 0   100%
downtify/podcasts.py _TextExtractor   14 0 0   100%
downtify/podcasts.py EpisodeInfo   0 0 0   100%
downtify/podcasts.py ParsedFeed   0 0 0   100%
downtify/podcasts.py PodcastStore   107 0 0   100%
downtify/podcasts.py (no class)   388 141 0   64%
downtify/providers.py (no class)   1479 152 0   90%
downtify/proxy_config.py OutboundProxyConfig   0 0 0   100%
downtify/proxy_config.py ProxyConfigurationError   0 0 0   100%
downtify/proxy_config.py (no class)   99 8 0   92%
downtify/release_files.py (no class)   26 4 0   85%
downtify/server_identity.py ServerIdentity   49 4 0   92%
downtify/server_identity.py (no class)   35 2 0   94%
downtify/server_port.py PortError   0 0 0   100%
downtify/server_port.py (no class)   69 13 0   81%
downtify/slskd_misses.py SlskdMisses   18 0 0   100%
downtify/slskd_misses.py (no class)   18 0 0   100%
downtify/slskd_provider.py _PollSchedule   19 0 0   100%
downtify/slskd_provider.py SlskdClient   145 79 0   46%
downtify/slskd_provider.py (no class)   946 174 0   82%
downtify/spotify.py (no class)   897 131 0   85%
downtify/sqlite_utils.py ClosingConnection   3 0 0   100%
downtify/sqlite_utils.py (no class)   15 0 0   100%
downtify/storage_scan.py Folder   0 0 0   100%
downtify/storage_scan.py _File   0 0 0   100%
downtify/storage_scan.py _Tally   4 0 0   100%
downtify/storage_scan.py _Found   6 0 0   100%
downtify/storage_scan.py (no class)   155 6 0   96%
downtify/stream.py _StreamJob   3 0 0   100%
downtify/stream.py StreamCache   111 33 0   70%
downtify/stream.py (no class)   93 11 0   88%
downtify/telemetry.py (no class)   40 7 0   82%
downtify/track_index.py TrackIndex   94 1 0   99%
downtify/track_index.py (no class)   84 5 0   94%
downtify/track_owners.py TrackOwners   80 1 0   99%
downtify/track_owners.py (no class)   43 0 0   100%
downtify/track_tag_match.py (no class)   303 51 0   83%
downtify/traffic.py TrafficCounters   55 2 0   96%
downtify/traffic.py TrafficMiddleware   25 2 0   92%
downtify/traffic.py (no class)   37 3 0   92%
downtify/transcode.py Format   0 0 0   100%
downtify/transcode.py TranscodeError   0 0 0   100%
downtify/transcode.py _Job   2 0 0   100%
downtify/transcode.py Transcoder   87 11 0   87%
downtify/transcode.py (no class)   68 3 0   96%
downtify/trash_routes.py Selection   0 0 0   100%
downtify/trash_routes.py Confirmation   0 0 0   100%
downtify/trash_routes.py Items   0 0 0   100%
downtify/trash_routes.py (no class)   241 52 0   78%
downtify/trash_worker.py (no class)   82 10 0   88%
downtify/update_check.py UpdateChecker   22 0 0   100%
downtify/update_check.py (no class)   32 0 0   100%
downtify/users.py UserError   0 0 0   100%
downtify/users.py UserStore   173 3 0   98%
downtify/users.py (no class)   107 1 0   99%
downtify/wanted_routes.py (no class)   140 3 0   98%
downtify/watch_history.py WatchHistoryStore   62 0 0   100%
downtify/watch_history.py (no class)   30 0 3   100%
downtify/watch_stats.py _WatchFacts   0 0 0   100%
downtify/watch_stats.py (no class)   187 6 0   97%
Total     35082 5701 22   84%

No items found using the specified filter.