< Summary - Jellyfin

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

#LineLine coverage
 1namespace MediaBrowser.Model.Lyrics;
 2
 3/// <summary>
 4/// The information for a raw lyrics file before parsing.
 5/// </summary>
 6public class LyricFile
 7{
 8    /// <summary>
 9    /// Initializes a new instance of the <see cref="LyricFile"/> class.
 10    /// </summary>
 11    /// <param name="name">The name.</param>
 12    /// <param name="content">The content, must not be empty.</param>
 13    public LyricFile(string name, string content)
 14    {
 015        Name = name;
 016        Content = content;
 017    }
 18
 19    /// <summary>
 20    /// Gets or sets the name of the lyrics file. This must include the file extension.
 21    /// </summary>
 22    public string Name { get; set; }
 23
 24    /// <summary>
 25    /// Gets or sets the contents of the file.
 26    /// </summary>
 27    public string Content { get; set; }
 28}