< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Entities.InternalPeopleQuery
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 69
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 5/6/2026 - 12:15:23 AM Line coverage: 0% (0/3) Total lines: 558/6/2026 - 12:17:15 AM Line coverage: 0% (0/4) Total lines: 69

Coverage delta

Coverage delta 1 -1

Metrics

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

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs

#LineLine coverage
 1#nullable disable
 2
 3#pragma warning disable CS1591
 4
 5using System;
 6using System.Collections.Generic;
 7using Jellyfin.Database.Implementations.Entities;
 8
 9namespace MediaBrowser.Controller.Entities
 10{
 11    public class InternalPeopleQuery
 12    {
 13        public InternalPeopleQuery()
 014         : this(Array.Empty<string>(), Array.Empty<string>())
 15        {
 016        }
 17
 18        public InternalPeopleQuery(IReadOnlyList<string> personTypes, IReadOnlyList<string> excludePersonTypes)
 19        {
 20            PersonTypes = personTypes;
 21            ExcludePersonTypes = excludePersonTypes;
 022            EnableTotalRecordCount = true;
 023        }
 24
 25        /// <summary>
 26        /// Gets or sets a value indicating whether to count the matching people. Under an
 27        /// <see cref="AccessFilter"/> the count is the expensive half of the query: the page walk stops
 28        /// at the limit, the count has to check every person.
 29        /// </summary>
 30        public bool EnableTotalRecordCount { get; set; }
 31
 32        public int? StartIndex { get; set; }
 33
 34        /// <summary>
 35        /// Gets or sets the maximum number of items the query should return.
 36        /// </summary>
 37        public int Limit { get; set; }
 38
 39        public Guid ItemId { get; set; }
 40
 41        public Guid? ParentId { get; set; }
 42
 43        public IReadOnlyList<string> PersonTypes { get; }
 44
 45        public IReadOnlyList<string> ExcludePersonTypes { get; }
 46
 47        public int? MaxListOrder { get; set; }
 48
 49        public Guid AppearsInItemId { get; set; }
 50
 51        public string NameContains { get; set; }
 52
 53        public string NameStartsWith { get; set; }
 54
 55        public string NameLessThan { get; set; }
 56
 57        public string NameStartsWithOrGreater { get; set; }
 58
 59        public User User { get; set; }
 60
 61        public bool? IsFavorite { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the item query whose access settings (library access, parental rating, tags)
 65        /// people must satisfy through at least one of the items they are credited on.
 66        /// </summary>
 67        public InternalItemsQuery AccessFilter { get; set; }
 68    }
 69}