< Summary - Jellyfin

Information
Class: MediaBrowser.XbmcMetadata.Configuration.NfoConfigurationFactory
Assembly: MediaBrowser.XbmcMetadata
File(s): /srv/git/jellyfin/MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 24
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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
GetConfigurations()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.XbmcMetadata/Configuration/NfoConfigurationFactory.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System.Collections.Generic;
 4using MediaBrowser.Common.Configuration;
 5using MediaBrowser.Model.Configuration;
 6
 7namespace MediaBrowser.XbmcMetadata.Configuration
 8{
 9    public class NfoConfigurationFactory : IConfigurationFactory
 10    {
 11        /// <inheritdoc />
 12        public IEnumerable<ConfigurationStore> GetConfigurations()
 13        {
 2214            return new[]
 2215            {
 2216                new ConfigurationStore
 2217                {
 2218                    ConfigurationType = typeof(XbmcMetadataOptions),
 2219                    Key = "xbmcmetadata"
 2220                }
 2221            };
 22        }
 23    }
 24}

Methods/Properties

GetConfigurations()