< Summary - Jellyfin

Information
Class: Emby.Server.Implementations.ConfigurationOptions
Assembly: Emby.Server.Implementations
File(s): /srv/git/jellyfin/Emby.Server.Implementations/ConfigurationOptions.cs
Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 27
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
get_DefaultConfiguration()100%11100%

File(s)

/srv/git/jellyfin/Emby.Server.Implementations/ConfigurationOptions.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
 3
 4namespace Emby.Server.Implementations
 5{
 6    /// <summary>
 7    /// Static class containing the default configuration options for the web server.
 8    /// </summary>
 9    public static class ConfigurationOptions
 10    {
 11        /// <summary>
 12        /// Gets a new copy of the default configuration options.
 13        /// </summary>
 4414        public static Dictionary<string, string?> DefaultConfiguration => new()
 4415        {
 4416            { HostWebClientKey, bool.TrueString },
 4417            { DefaultRedirectKey, "web/" },
 4418            { FfmpegProbeSizeKey, "1G" },
 4419            { FfmpegAnalyzeDurationKey, "200M" },
 4420            { PlaylistsAllowDuplicatesKey, bool.FalseString },
 4421            { BindToUnixSocketKey, bool.FalseString },
 4422            { SqliteCacheSizeKey, "20000" },
 4423            { FfmpegSkipValidationKey, bool.FalseString },
 4424            { DetectNetworkChangeKey, bool.TrueString }
 4425        };
 26    }
 27}

Methods/Properties

get_DefaultConfiguration()