< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Entities.ParentalRating
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Entities/ParentalRating.cs
Line coverage
75%
Covered lines: 3
Uncovered lines: 1
Coverable lines: 4
Total lines: 33
Line coverage: 75%
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%210%
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Entities/ParentalRating.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4namespace MediaBrowser.Model.Entities
 5{
 6    /// <summary>
 7    /// Class ParentalRating.
 8    /// </summary>
 9    public class ParentalRating
 10    {
 11        public ParentalRating()
 12        {
 013        }
 14
 15        public ParentalRating(string name, int? value)
 16        {
 1461917            Name = name;
 1461918            Value = value;
 1461919        }
 20
 21        /// <summary>
 22        /// Gets or sets the name.
 23        /// </summary>
 24        /// <value>The name.</value>
 25        public string Name { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the value.
 29        /// </summary>
 30        /// <value>The value.</value>
 31        public int? Value { get; set; }
 32    }
 33}