< Summary

Information
Class: ProjectTemplate.Infrastructure.Data.Auditing.ApplicationMutationManifest
Assembly: ProjectTemplate.Infrastructure
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Auditing/ApplicationMutationManifest.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 20
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_SchemaVersion()100%11100%
get_MutationBatchId()100%11100%
get_AuditRecordCount()100%11100%
get_CanonicalJson()100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Auditing/ApplicationMutationManifest.cs

#LineLine coverage
 1namespace ProjectTemplate.Infrastructure.Data.Auditing;
 2
 3/// <summary>
 4/// Represents a versioned canonical mutation manifest built from privacy-protected audit records.
 5/// </summary>
 6/// <param name="SchemaVersion">The canonical manifest schema version.</param>
 7/// <param name="MutationBatchId">The mutation batch represented by the manifest.</param>
 8/// <param name="AuditRecordCount">The number of audit records represented exactly once.</param>
 9/// <param name="CanonicalJson">The deterministic UTF-8 JSON text used for hashing and archival verification.</param>
 8410public sealed record ApplicationMutationManifest(
 5811    string SchemaVersion,
 212    string MutationBatchId,
 213    int AuditRecordCount,
 18014    string CanonicalJson)
 15{
 16    /// <summary>
 17    /// The current canonical mutation manifest schema version.
 18    /// </summary>
 19    public const string CurrentSchemaVersion = "1.0";
 20}