< Summary

Information
Class: ShopGuard.Core.Database.Order
Assembly: ShopGuard.Core
File(s): /home/runner/work/ShopGuard/ShopGuard/ShopGuard/ShopGuard.Core/Database/Order.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 19
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_OrderNumber()100%11100%
get_CustomerEmail()100%11100%
get_Total()100%11100%
get_Status()100%11100%
get_CreatedAtUtc()100%11100%

File(s)

/home/runner/work/ShopGuard/ShopGuard/ShopGuard/ShopGuard.Core/Database/Order.cs

#LineLine coverage
 1namespace ShopGuard.Core.Database;
 2
 3/// <summary>
 4/// Persisted order row in the Orders table of the validation database.
 5/// </summary>
 6public sealed class Order
 7{
 28    public long Id { get; init; }
 9
 210    public required string OrderNumber { get; init; }
 11
 312    public required string CustomerEmail { get; init; }
 13
 314    public required decimal Total { get; init; }
 15
 416    public required string Status { get; init; }
 17
 218    public DateTime CreatedAtUtc { get; init; }
 19}