< Summary - Jellyfin

Information
Class: MediaBrowser.Common.Net.NetworkConfigurationFactory
Assembly: MediaBrowser.Common
File(s): /srv/git/jellyfin/MediaBrowser.Common/Net/NetworkConfigurationFactory.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 22
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.Common/Net/NetworkConfigurationFactory.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using MediaBrowser.Common.Configuration;
 3
 4namespace MediaBrowser.Common.Net;
 5
 6/// <summary>
 7/// Defines the <see cref="NetworkConfigurationFactory" />.
 8/// </summary>
 9public class NetworkConfigurationFactory : IConfigurationFactory
 10{
 11    /// <summary>
 12    /// The GetConfigurations.
 13    /// </summary>
 14    /// <returns>The <see cref="IEnumerable{ConfigurationStore}"/>.</returns>
 15    public IEnumerable<ConfigurationStore> GetConfigurations()
 16    {
 2217        return new[]
 2218        {
 2219            new NetworkConfigurationStore()
 2220        };
 21    }
 22}

Methods/Properties

GetConfigurations()