< Summary - Jellyfin

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

#LineLine coverage
 1using System.Collections.Generic;
 2
 3namespace MediaBrowser.Model.Search
 4{
 5    /// <summary>
 6    /// Class SearchHintResult.
 7    /// </summary>
 8    public class SearchHintResult
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="SearchHintResult" /> class.
 12        /// </summary>
 13        /// <param name="searchHints">The search hints.</param>
 14        /// <param name="totalRecordCount">The total record count.</param>
 15        public SearchHintResult(IReadOnlyList<SearchHint> searchHints, int totalRecordCount)
 16        {
 17            SearchHints = searchHints;
 18            TotalRecordCount = totalRecordCount;
 019        }
 20
 21        /// <summary>
 22        /// Gets the search hints.
 23        /// </summary>
 24        /// <value>The search hints.</value>
 25        public IReadOnlyList<SearchHint> SearchHints { get; }
 26
 27        /// <summary>
 28        /// Gets the total record count.
 29        /// </summary>
 30        /// <value>The total record count.</value>
 31        public int TotalRecordCount { get; }
 32    }
 33}