< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Session.GeneralCommand
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Session/GeneralCommand.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 27
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
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(...)0%620%

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()
 012        : this(new Dictionary<string, string>())
 13    {
 014    }
 15
 16    [JsonConstructor]
 17    public GeneralCommand(Dictionary<string, string>? arguments)
 18    {
 019        Arguments = arguments ?? new Dictionary<string, string>();
 020    }
 21
 22    public GeneralCommandType Name { get; set; }
 23
 24    public Guid ControllingUserId { get; set; }
 25
 26    public Dictionary<string, string> Arguments { get; }
 27}