< Summary - Jellyfin

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

#LineLine coverage
 1namespace Emby.Naming.Video
 2{
 3    /// <summary>
 4    /// Helper object to return data from <see cref="Format3DParser"/>.
 5    /// </summary>
 6    public class Format3DResult
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="Format3DResult"/> class.
 10        /// </summary>
 11        /// <param name="is3D">A value indicating whether the parsed string contains 3D tokens.</param>
 12        /// <param name="format3D">The 3D format. Value might be null if [is3D] is <c>false</c>.</param>
 13        public Format3DResult(bool is3D, string? format3D)
 14        {
 15            Is3D = is3D;
 16            Format3D = format3D;
 3117        }
 18
 19        /// <summary>
 20        /// Gets a value indicating whether [is3 d].
 21        /// </summary>
 22        /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
 23        public bool Is3D { get; }
 24
 25        /// <summary>
 26        /// Gets the format3 d.
 27        /// </summary>
 28        /// <value>The format3 d.</value>
 29        public string? Format3D { get; }
 30    }
 31}