< Summary - Jellyfin

Information
Class: Emby.Server.Implementations.Branding.BrandingConfigurationFactory
Assembly: Emby.Server.Implementations
File(s): /srv/git/jellyfin/Emby.Server.Implementations/Branding/BrandingConfigurationFactory.cs
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 25
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/Emby.Server.Implementations/Branding/BrandingConfigurationFactory.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using MediaBrowser.Common.Configuration;
 3using MediaBrowser.Model.Branding;
 4
 5namespace Emby.Server.Implementations.Branding
 6{
 7    /// <summary>
 8    /// A configuration factory for <see cref="BrandingOptions"/>.
 9    /// </summary>
 10    public class BrandingConfigurationFactory : IConfigurationFactory
 11    {
 12        /// <inheritdoc />
 13        public IEnumerable<ConfigurationStore> GetConfigurations()
 14        {
 2215            return new[]
 2216            {
 2217                new ConfigurationStore
 2218                {
 2219                     ConfigurationType = typeof(BrandingOptions),
 2220                     Key = "branding"
 2221                }
 2222            };
 23        }
 24    }
 25}

Methods/Properties

GetConfigurations()