< Summary - Jellyfin

Information
Class: MediaBrowser.Model.SyncPlay.SyncPlayQueueItem
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/SyncPlay/SyncPlayQueueItem.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 31
Line coverage: 0%
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%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/SyncPlay/SyncPlayQueueItem.cs

#LineLine coverage
 1using System;
 2
 3namespace MediaBrowser.Model.SyncPlay
 4{
 5    /// <summary>
 6    /// Class QueueItem.
 7    /// </summary>
 8    public class SyncPlayQueueItem
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="SyncPlayQueueItem"/> class.
 12        /// </summary>
 13        /// <param name="itemId">The item identifier.</param>
 14        public SyncPlayQueueItem(Guid itemId)
 15        {
 16            ItemId = itemId;
 017        }
 18
 19        /// <summary>
 20        /// Gets the item identifier.
 21        /// </summary>
 22        /// <value>The item identifier.</value>
 23        public Guid ItemId { get; }
 24
 25        /// <summary>
 26        /// Gets the playlist identifier of the item.
 27        /// </summary>
 28        /// <value>The playlist identifier of the item.</value>
 29        public Guid PlaylistItemId { get; } = Guid.NewGuid();
 30    }
 31}

Methods/Properties

.ctor(System.Guid)