< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Configuration.ImageOption
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Configuration/ImageOption.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 32
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/MediaBrowser.Model/Configuration/ImageOption.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using MediaBrowser.Model.Entities;
 4
 5namespace MediaBrowser.Model.Configuration
 6{
 7    public class ImageOption
 8    {
 9        public ImageOption()
 10        {
 6711            Limit = 1;
 6712        }
 13
 14        /// <summary>
 15        /// Gets or sets the type.
 16        /// </summary>
 17        /// <value>The type.</value>
 18        public ImageType Type { get; set; }
 19
 20        /// <summary>
 21        /// Gets or sets the limit.
 22        /// </summary>
 23        /// <value>The limit.</value>
 24        public int Limit { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the minimum width.
 28        /// </summary>
 29        /// <value>The minimum width.</value>
 30        public int MinWidth { get; set; }
 31    }
 32}

Methods/Properties

.ctor()