< Summary

Information
Class: ClutterStock.Contracts.Locations.LocationResponse
Assembly: Contracts
File(s): /home/runner/work/ClutterStock/ClutterStock/backend/public/Contracts/Locations/LocationResponse.cs
Tag: 58_25416222083
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 14
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/ClutterStock/ClutterStock/backend/public/Contracts/Locations/LocationResponse.cs

#LineLine coverage
 1namespace ClutterStock.Contracts.Locations;
 2
 3/// <summary>Response payload for a location.</summary>
 4/// <param name="Id" example="1">Unique identifier of the location.</param>
 5/// <param name="Name" example="Home">Display name of the location (e.g. home, office).</param>
 6/// <param name="Description" example="Main residence">Optional description of the location.</param>
 7/// <param name="CreatedAtUtc" example="2024-01-15T10:30:00Z">UTC timestamp when the location was created.</param>
 8/// <param name="UpdatedAtUtc" example="2024-02-01T14:00:00Z">UTC timestamp when the location was last updated.</param>
 119public record LocationResponse(
 1110    int Id,
 1111    string Name,
 1112    string? Description,
 1113    DateTimeOffset CreatedAtUtc,
 1114    DateTimeOffset? UpdatedAtUtc);