< Summary

Information
Class: RoleRadar.Application.Reading.Models.CriterionReadModel
Assembly: RoleRadar.Application
File(s): /home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Reading/Models/CriterionReadModel.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 15
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
get_Id()100%11100%
get_Name()100%11100%
get_Category()100%11100%
get_RuleText()100%11100%
get_EffectiveFrom()100%11100%
get_EffectiveTo()100%11100%
get_IsActive()100%11100%
get_OwnerId()100%11100%
get_HasEffectiveTo()100%11100%

File(s)

/home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Reading/Models/CriterionReadModel.cs

#LineLine coverage
 1namespace RoleRadar.Application.Reading.Models;
 2
 3public sealed class CriterionReadModel
 4{
 62205    public Guid Id { get; init; }
 93306    public string Name { get; init; } = string.Empty;
 93067    public string Category { get; init; } = string.Empty;
 93068    public string RuleText { get; init; } = string.Empty;
 61969    public DateTimeOffset EffectiveFrom { get; init; }
 619610    public DateTimeOffset? EffectiveTo { get; init; }
 619611    public bool IsActive { get; init; }
 12
 622013    internal string OwnerId { get; init; } = string.Empty;
 311014    internal bool HasEffectiveTo { get; init; }
 15}