< Summary - Jellyfin

Information
Class: Emby.Naming.Video.Format3DRule
Assembly: Emby.Naming
File(s): /srv/git/jellyfin/Emby.Naming/Video/Format3DRule.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/Format3DRule.cs

#LineLine coverage
 1namespace Emby.Naming.Video
 2{
 3    /// <summary>
 4    /// Data holder class for 3D format rule.
 5    /// </summary>
 6    public class Format3DRule
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="Format3DRule"/> class.
 10        /// </summary>
 11        /// <param name="token">Token.</param>
 12        /// <param name="precedingToken">Token present before current token.</param>
 13        public Format3DRule(string token, string? precedingToken = null)
 14        {
 779415            Token = token;
 779416            PrecedingToken = precedingToken;
 779417        }
 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 preceding token.
 27        /// </summary>
 28        /// <value>The preceding token.</value>
 29        public string? PrecedingToken { get; set; }
 30    }
 31}