< Summary - pva.SuperV

Information
Class: pva.SuperV.Model.PagedSearchRequest
Assembly: pva.SuperV.Model
File(s): /home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Model/PagedSearchRequest.cs
Tag: dotnet-ubuntu_18869653307
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 19
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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_PageNumber()100%11100%
get_PageSize()100%11100%
get_NameFilter()100%11100%
get_SortOption()100%11100%

File(s)

/home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Model/PagedSearchRequest.cs

#LineLine coverage
 1using System.ComponentModel;
 2using System.ComponentModel.DataAnnotations;
 3
 4namespace pva.SuperV.Model
 5{
 366    public record PagedSearchRequest(
 367        [property: Description("Page number. Must be greater than 0.")]
 368        [Range(1, int.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
 899        int PageNumber,
 3610        [property: Description("Page size. Must be greater than 0.")]
 3611        [Range(1, int.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
 11512        int PageSize,
 3613        [property: Description("Filter on name of entity.")]
 9214        string? NameFilter,
 3615        [property: Description("Sorting option")]
 8116        string? SortOption)
 17    {
 18    }
 19}