< Summary

Information
Class: ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationRemediation
Assembly: ProjectTemplate.Infrastructure
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Entities/ApplicationAuditReconciliationFinding.cs
Line coverage
50%
Covered lines: 3
Uncovered lines: 3
Coverable lines: 6
Total lines: 49
Line coverage: 50%
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_FindingId()100%210%
get_MutationBatchId()100%11100%
get_ActionCode()100%11100%
get_ActorId()100%11100%
get_EvidenceReference()100%210%
get_RecordedUtc()100%210%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Entities/ApplicationAuditReconciliationFinding.cs

#LineLine coverage
 1namespace ProjectTemplate.Infrastructure.Data.Entities;
 2
 3/// <summary>
 4/// Represents a minimized, durable audit-integrity finding.
 5/// </summary>
 6public sealed class ApplicationAuditReconciliationFinding : DataEntity
 7{
 8    public const string CurrentSchemaVersion = "1.0";
 9
 10    public string SchemaVersion { get; set; } = CurrentSchemaVersion;
 11
 12    public string FindingKey { get; set; } = string.Empty;
 13
 14    public string ReasonCode { get; set; } = string.Empty;
 15
 16    public string Severity { get; set; } = string.Empty;
 17
 18    public string MutationBatchId { get; set; } = string.Empty;
 19
 20    public string? Destination { get; set; }
 21
 22    public string Guidance { get; set; } = string.Empty;
 23
 24    public string RemediationStatus { get; set; } = "Open";
 25
 26    public DateTime FirstObservedUtc { get; set; }
 27
 28    public DateTime LastObservedUtc { get; set; }
 29
 30    public DateTime? ResolvedUtc { get; set; }
 31}
 32
 33/// <summary>
 34/// Represents append-only evidence that an operator investigated or remediated a finding.
 35/// </summary>
 36public sealed class ApplicationAuditReconciliationRemediation : DataEntity
 37{
 038    public Guid FindingId { get; set; }
 39
 240    public string MutationBatchId { get; set; } = string.Empty;
 41
 242    public string ActionCode { get; set; } = string.Empty;
 43
 244    public string ActorId { get; set; } = string.Empty;
 45
 046    public string? EvidenceReference { get; set; }
 47
 048    public DateTime RecordedUtc { get; set; }
 49}