< Summary - Jellyfin

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

#LineLine coverage
 1namespace MediaBrowser.Model.Lyrics;
 2
 3/// <summary>
 4/// Lyric model.
 5/// </summary>
 6public class LyricLine
 7{
 8    /// <summary>
 9    /// Initializes a new instance of the <see cref="LyricLine"/> class.
 10    /// </summary>
 11    /// <param name="text">The lyric text.</param>
 12    /// <param name="start">The lyric start time in ticks.</param>
 13    public LyricLine(string text, long? start = null)
 14    {
 15        Text = text;
 16        Start = start;
 017    }
 18
 19    /// <summary>
 20    /// Gets the text of this lyric line.
 21    /// </summary>
 22    public string Text { get; }
 23
 24    /// <summary>
 25    /// Gets the start time in ticks.
 26    /// </summary>
 27    public long? Start { get; }
 28}