< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Dto.NameValuePair
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Dto/NameValuePair.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 30
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%
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Dto/NameValuePair.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4namespace MediaBrowser.Model.Dto
 5{
 6    public class NameValuePair
 7    {
 8        public NameValuePair()
 9        {
 1410        }
 11
 12        public NameValuePair(string name, string value)
 13        {
 1534414            Name = name;
 1534415            Value = value;
 1534416        }
 17
 18        /// <summary>
 19        /// Gets or sets the name.
 20        /// </summary>
 21        /// <value>The name.</value>
 22        public string Name { get; set; }
 23
 24        /// <summary>
 25        /// Gets or sets the value.
 26        /// </summary>
 27        /// <value>The value.</value>
 28        public string Value { get; set; }
 29    }
 30}