< Summary

Information
Class: OzonDomains.Models.SupplierQuotationOffer
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/SupplierQuotationOffer.cs
Line coverage
88%
Covered lines: 23
Uncovered lines: 3
Coverable lines: 26
Total lines: 35
Line coverage: 88.4%
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%210%
get_RequestId()100%210%
get_Request()100%210%
get_Caption()100%11100%
get_Direction()100%11100%
get_Producer()100%11100%
get_Code()100%11100%
get_Rest()100%11100%
get_MinQuantity()100%11100%
get_DeliveryDaysMin()100%11100%
get_DeliveryDaysMax()100%11100%
get_DeliveryDays()100%11100%
get_ExtraDeliveryHours()100%11100%
get_CurrencyCode()100%11100%
get_Price()100%11100%
get_CostPrice()100%11100%
get_CostPriceFormatted()100%11100%
get_SourcePrice()100%11100%
get_SourceCurrencyCode()100%11100%
get_ItemId()100%11100%
get_ItemHash()100%11100%
get_SiteUrl()100%11100%
get_Title()100%11100%
get_Description()100%11100%
get_PriceDescription()100%11100%
get_ProviderDataJson()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/SupplierQuotationOffer.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace OzonDomains.Models;
 4
 5/// <summary>Нормализованный снимок одного предложения в ответе API-поставщика.</summary>
 6public sealed class SupplierQuotationOffer
 7{
 08    public long Id { get; set; }
 09    public long RequestId { get; set; }
 010    public SupplierQuotationRequest Request { get; set; } = null!;
 211    [MaxLength(255)] public string? Caption { get; set; }
 112    [MaxLength(255)] public string? Direction { get; set; }
 113    [MaxLength(255)] public string? Producer { get; set; }
 114    [MaxLength(255)] public string? Code { get; set; }
 115    [MaxLength(80)] public string? Rest { get; set; }
 116    public int MinQuantity { get; set; }
 117    public int DeliveryDaysMin { get; set; }
 118    public int DeliveryDaysMax { get; set; }
 119    [MaxLength(80)] public string? DeliveryDays { get; set; }
 20    /// <summary>Надбавка к сроку поставки (часы), применённая настройкой поставщика к этому предложению.</summary>
 121    public int ExtraDeliveryHours { get; set; }
 122    [MaxLength(32)] public string? CurrencyCode { get; set; }
 123    [MaxLength(80)] public string? Price { get; set; }
 124    [MaxLength(80)] public string? CostPrice { get; set; }
 125    [MaxLength(80)] public string? CostPriceFormatted { get; set; }
 226    public decimal? SourcePrice { get; set; }
 127    [MaxLength(32)] public string? SourceCurrencyCode { get; set; }
 128    [MaxLength(255)] public string? ItemId { get; set; }
 129    [MaxLength(255)] public string? ItemHash { get; set; }
 130    [MaxLength(1000)] public string? SiteUrl { get; set; }
 131    [MaxLength(255)] public string? Title { get; set; }
 132    public string? Description { get; set; }
 133    public string? PriceDescription { get; set; }
 234    public string? ProviderDataJson { get; set; }
 35}