< Summary - Jellyfin

Information
Class: Emby.Naming.Video.StubTypeRule
Assembly: Emby.Naming
File(s): /srv/git/jellyfin/Emby.Naming/Video/StubTypeRule.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 31
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/Emby.Naming/Video/StubTypeRule.cs

#LineLine coverage
 1namespace Emby.Naming.Video
 2{
 3    /// <summary>
 4    /// Data class holding information about Stub type rule.
 5    /// </summary>
 6    public class StubTypeRule
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="StubTypeRule"/> class.
 10        /// </summary>
 11        /// <param name="token">Token.</param>
 12        /// <param name="stubType">Stub type.</param>
 13        public StubTypeRule(string token, string stubType)
 14        {
 650415            Token = token;
 650416            StubType = stubType;
 650417        }
 18
 19        /// <summary>
 20        /// Gets or sets the token.
 21        /// </summary>
 22        /// <value>The token.</value>
 23        public string Token { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the type of the stub.
 27        /// </summary>
 28        /// <value>The type of the stub.</value>
 29        public string StubType { get; set; }
 30    }
 31}