< Summary

Information
Class: ShopGuard.Core.Models.BookingId
Assembly: ShopGuard.Core
File(s): /home/runner/work/ShopGuard/ShopGuard/ShopGuard/ShopGuard.Core/Models/BookingId.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
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%

File(s)

/home/runner/work/ShopGuard/ShopGuard/ShopGuard/ShopGuard.Core/Models/BookingId.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace ShopGuard.Core.Models;
 4
 5/// <summary>
 6/// Single element of the GET /booking listing response.
 7/// </summary>
 8public sealed class BookingId
 9{
 10    [JsonPropertyName("bookingid")]
 611    public required int Id { get; init; }
 12}

Methods/Properties

get_Id()