< Summary - Jellyfin

Information
Class: MediaBrowser.Providers.Books.ComicServiceRegistrator
Assembly: MediaBrowser.Providers
File(s): /srv/git/jellyfin/MediaBrowser.Providers/Books/ComicServiceRegistrator.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 23
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 6/11/2026 - 12:16:04 AM Line coverage: 0% (0/5) Total lines: 23

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
RegisterServices(...)100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Providers/Books/ComicServiceRegistrator.cs

#LineLine coverage
 1using MediaBrowser.Controller;
 2using MediaBrowser.Controller.Plugins;
 3using MediaBrowser.Providers.Books.ComicBookInfo;
 4using MediaBrowser.Providers.Books.ComicInfo;
 5using Microsoft.Extensions.DependencyInjection;
 6
 7namespace MediaBrowser.Providers.Books;
 8
 9/// <inheritdoc />
 10public class ComicServiceRegistrator : IPluginServiceRegistrator
 11{
 12    /// <inheritdoc />
 13    public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
 14    {
 15        // register the generic local metadata provider for comic files
 016        serviceCollection.AddSingleton<ComicProvider>();
 17
 18        // register the actual implementations of the local metadata provider for comic files
 019        serviceCollection.AddSingleton<IComicProvider, ComicBookInfoProvider>();
 020        serviceCollection.AddSingleton<IComicProvider, ExternalComicInfoProvider>();
 021        serviceCollection.AddSingleton<IComicProvider, InternalComicInfoProvider>();
 022    }
 23}