< Summary - ZhEaIsNsAaBn.Libraries coverage (affected: 23 packages)

Information
Class: ZhEaIsNsAaBn.Infrastructure.Specifications.PaginationSpecification<T>
Assembly: ZhEaIsNsAaBn.Infrastructure.Specifications
File(s): /home/runner/work/ZhEaIsNsAaBn.Libraries.V1/ZhEaIsNsAaBn.Libraries.V1/src/DataBasePackages/ZhEaIsNsAaBn.Infrastructure.Specifications/Specifications/PaginationSpecification.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 11
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%

File(s)

/home/runner/work/ZhEaIsNsAaBn.Libraries.V1/ZhEaIsNsAaBn.Libraries.V1/src/DataBasePackages/ZhEaIsNsAaBn.Infrastructure.Specifications/Specifications/PaginationSpecification.cs

#LineLine coverage
 1namespace ZhEaIsNsAaBn.Infrastructure.Specifications;
 2
 3/// <summary>A no-tracking page query (see <see cref="PaginationExtensions.Pagination{TEntity}"/>); derive and add crite
 4/// <typeparam name="TEntity">The entity type.</typeparam>
 5public abstract class PaginationSpecification< TEntity > : BaseSpecification<TEntity>
 6    where TEntity : class
 7{
 8    /// <summary>Creates the specification.</summary>
 9    /// <param name="filter">The page request.</param>
 3210    protected PaginationSpecification( IPaginationFilter<TEntity> filter ) => Query.AsNoTracking().Pagination( filter );
 11}