< Summary - Jellyfin

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

Metrics

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

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Lyrics/LyricLineCue.cs

#LineLine coverage
 1namespace MediaBrowser.Model.Lyrics;
 2
 3/// <summary>
 4/// LyricLineCue model, holds information about the timing of words within a LyricLine.
 5/// </summary>
 6public class LyricLineCue
 7{
 8    /// <summary>
 9    /// Initializes a new instance of the <see cref="LyricLineCue"/> class.
 10    /// </summary>
 11    /// <param name="position">The start of the character index of the lyric.</param>
 12    /// <param name="start">The start of the timestamp the lyric is synced to in ticks.</param>
 13    /// <param name="end">The end of the timestamp the lyric is synced to in ticks.</param>
 14    public LyricLineCue(int position, long start, long? end)
 15    {
 16        Position = position;
 17        Start = start;
 18        End = end;
 34119    }
 20
 21    /// <summary>
 22    /// Gets the character index of the lyric.
 23    /// </summary>
 24    public int Position { get; }
 25
 26    /// <summary>
 27    /// Gets the timestamp the lyric is synced to in ticks.
 28    /// </summary>
 29    public long Start { get; }
 30
 31    /// <summary>
 32    /// Gets the end timestamp the lyric is synced to in ticks.
 33    /// </summary>
 34    public long? End { get; }
 35}