< Summary - Jellyfin

Information
Class: MediaBrowser.Providers.Plugins.Omdb.Plugin
Assembly: MediaBrowser.Providers
File(s): /srv/git/jellyfin/MediaBrowser.Providers/Plugins/Omdb/Plugin.cs
Line coverage
100%
Covered lines: 14
Uncovered lines: 0
Coverable lines: 14
Total lines: 44
Line coverage: 100%
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 2/13/2026 - 12:11:21 AM Line coverage: 100% (7/7) Total lines: 414/19/2026 - 12:14:27 AM Line coverage: 100% (13/13) Total lines: 415/22/2026 - 12:15:17 AM Line coverage: 100% (14/14) Total lines: 44

Coverage delta

Coverage delta 1 -1

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_Id()100%11100%
get_Name()100%11100%
get_Description()100%11100%
get_ConfigurationFileName()100%11100%
get_ImageResourceName()100%11100%
GetPages()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Providers/Plugins/Omdb/Plugin.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4using System;
 5using System.Collections.Generic;
 6using MediaBrowser.Common.Configuration;
 7using MediaBrowser.Common.Plugins;
 8using MediaBrowser.Controller.Plugins;
 9using MediaBrowser.Model.Plugins;
 10using MediaBrowser.Model.Serialization;
 11
 12namespace MediaBrowser.Providers.Plugins.Omdb
 13{
 14    public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages, IHasEmbeddedImage
 15    {
 16        public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
 2117            : base(applicationPaths, xmlSerializer)
 18        {
 2119            Instance = this;
 2120        }
 21
 22        public static Plugin Instance { get; private set; }
 23
 2424        public override Guid Id => new Guid("a628c0da-fac5-4c7e-9d1a-7134223f14c8");
 25
 2926        public override string Name => "OMDb";
 27
 128        public override string Description => "Get metadata for movies and other video content from OMDb.";
 29
 30        // TODO remove when plugin removed from server.
 131        public override string ConfigurationFileName => "Jellyfin.Plugin.Omdb.xml";
 32
 2133        public string ImageResourceName => GetType().Namespace + ".jellyfin-plugin-omdb.png";
 34
 35        public IEnumerable<PluginPageInfo> GetPages()
 36        {
 537            yield return new PluginPageInfo
 538            {
 539                Name = Name,
 540                EmbeddedResourcePath = GetType().Namespace + ".Configuration.config.html"
 541            };
 542        }
 43    }
 44}