< Summary - Jellyfin

Information
Class: Jellyfin.Server.Implementations.DatabaseConfiguration.DatabaseConfigurationStore
Assembly: Jellyfin.Server.Implementations
File(s): /srv/git/jellyfin/Jellyfin.Server.Implementations/DbConfiguration/DatabaseConfigurationStore.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 26
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
.ctor()100%11100%

File(s)

/srv/git/jellyfin/Jellyfin.Server.Implementations/DbConfiguration/DatabaseConfigurationStore.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using Jellyfin.Database.Implementations.DbConfiguration;
 4using MediaBrowser.Common.Configuration;
 5
 6namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
 7
 8/// <summary>
 9/// A configuration that stores database related settings.
 10/// </summary>
 11public class DatabaseConfigurationStore : ConfigurationStore
 12{
 13    /// <summary>
 14    /// The name of the configuration in the storage.
 15    /// </summary>
 16    public const string StoreKey = "database";
 17
 18    /// <summary>
 19    /// Initializes a new instance of the <see cref="DatabaseConfigurationStore"/> class.
 20    /// </summary>
 2121    public DatabaseConfigurationStore()
 22    {
 2123        ConfigurationType = typeof(DatabaseConfigurationOptions);
 2124        Key = StoreKey;
 2125    }
 26}

Methods/Properties

.ctor()