< 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_22190969454
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 17
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{
 426    public record PagedSearchRequest(
 427        [property: Description("Page number. Must be greater than 0.")]
 428        [Range(1, int.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
 1419        int PageNumber,
 4210        [property: Description("Page size. Must be greater than 0.")]
 4211        [Range(1, int.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
 17012        int PageSize,
 4213        [property: Description("Filter on name of entity.")]
 20414        string? NameFilter,
 4215        [property: Description("Sorting option")]
 9316        string? SortOption);
 17}