< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.SyncPlay.Requests.NewGroupRequest
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/SyncPlay/Requests/NewGroupRequest.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 28
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 3/26/2026 - 12:14:14 AM Line coverage: 0% (0/1) Total lines: 287/3/2026 - 12:15:32 AM Line coverage: 100% (1/1) Total lines: 28

Coverage delta

Coverage delta 100 -100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/SyncPlay/Requests/NewGroupRequest.cs

#LineLine coverage
 1using MediaBrowser.Model.SyncPlay;
 2
 3namespace MediaBrowser.Controller.SyncPlay.Requests
 4{
 5    /// <summary>
 6    /// Class NewGroupRequest.
 7    /// </summary>
 8    public class NewGroupRequest : ISyncPlayRequest
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="NewGroupRequest"/> class.
 12        /// </summary>
 13        /// <param name="groupName">The name of the new group.</param>
 14        public NewGroupRequest(string groupName)
 15        {
 16            GroupName = groupName;
 117        }
 18
 19        /// <summary>
 20        /// Gets the group name.
 21        /// </summary>
 22        /// <value>The name of the new group.</value>
 23        public string GroupName { get; }
 24
 25        /// <inheritdoc />
 26        public RequestType Type { get; } = RequestType.NewGroup;
 27    }
 28}

Methods/Properties

.ctor(System.String)