< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Session.GeneralCommand
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Session/GeneralCommand.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 27
Line coverage: 100%
Branch coverage
50%
Covered branches: 1
Total branches: 2
Branch coverage: 50%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 5/16/2026 - 12:15:55 AM Line coverage: 0% (0/4) Branch coverage: 0% (0/2) Total lines: 2710/29/2026 - 12:17:11 AM Line coverage: 100% (4/4) Branch coverage: 50% (1/2) Total lines: 27 5/16/2026 - 12:15:55 AM Line coverage: 0% (0/4) Branch coverage: 0% (0/2) Total lines: 2710/29/2026 - 12:17:11 AM Line coverage: 100% (4/4) Branch coverage: 50% (1/2) Total lines: 27

Coverage delta

Coverage delta 100 -100

Metrics

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

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Session/GeneralCommand.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System;
 4using System.Collections.Generic;
 5using System.Text.Json.Serialization;
 6
 7namespace MediaBrowser.Model.Session;
 8
 9public class GeneralCommand
 10{
 11    public GeneralCommand()
 212        : this(new Dictionary<string, string>())
 13    {
 214    }
 15
 16    [JsonConstructor]
 17    public GeneralCommand(Dictionary<string, string>? arguments)
 18    {
 219        Arguments = arguments ?? new Dictionary<string, string>();
 220    }
 21
 22    public GeneralCommandType Name { get; set; }
 23
 24    public Guid ControllingUserId { get; set; }
 25
 26    public Dictionary<string, string> Arguments { get; }
 27}