< Summary

Information
Class: FLP.Core.Context.Shared.PaginatedQuery
Assembly: FLP.Core
File(s): /home/runner/work/FLP.AzureFunctions/FLP.AzureFunctions/FLP.Core/Context/Shared/PaginatedQuery.cs
Line coverage
83%
Covered lines: 5
Uncovered lines: 1
Coverable lines: 6
Total lines: 12
Line coverage: 83.3%
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%210%
get_Page()100%11100%
get_PageSize()100%11100%
get_Query()100%11100%
get_SortBy()100%11100%
get_SortOrder()100%11100%

File(s)

/home/runner/work/FLP.AzureFunctions/FLP.AzureFunctions/FLP.Core/Context/Shared/PaginatedQuery.cs

#LineLine coverage
 1using FLP.Core.Context.Constants;
 2
 3namespace FLP.Core.Context.Shared;
 4
 05public record PaginatedQuery
 6{
 87    public int Page { get; set; } = 1;
 88    public int PageSize { get; set; } = 10;
 29    public string? Query { get; set; }
 210    public string? SortBy { get; set; }
 611    public SortOrder SortOrder { get; set;} = SortOrder.Ascending;
 12}