< Summary

Information
Class: Services.ApiServices.AvdApi.AvdPriceOffer
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/AvdApi/AvdPriceOffer.cs
Line coverage
100%
Covered lines: 14
Uncovered lines: 0
Coverable lines: 14
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
get_CatalogName()100%11100%
get_ItemName()100%11100%
get_ItemNumber()100%11100%
get_Price()100%11100%
get_Quantity()100%11100%
get_Multiply()100%11100%
get_SupplierPeriod()100%11100%
get_PriceAverage()100%11100%
get_PriceStatistic()100%11100%
get_SupplierName()100%11100%
get_SupplierInfo()100%11100%
get_DealerStore()100%11100%
get_DatePrice()100%11100%
get_Hash()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/AvdApi/AvdPriceOffer.cs

#LineLine coverage
 1namespace Services.ApiServices.AvdApi;
 2
 3public sealed class AvdPriceOffer
 4{
 45    public string CatalogName { get; init; } = string.Empty;
 46    public string ItemName { get; init; } = string.Empty;
 47    public string ItemNumber { get; init; } = string.Empty;
 58    public decimal? Price { get; init; }
 39    public decimal? Quantity { get; init; }
 210    public int? Multiply { get; init; }
 211    public int? SupplierPeriod { get; init; }
 412    public string PriceAverage { get; init; } = string.Empty;
 413    public string PriceStatistic { get; init; } = string.Empty;
 514    public string SupplierName { get; init; } = string.Empty;
 415    public string SupplierInfo { get; init; } = string.Empty;
 416    public string DealerStore { get; init; } = string.Empty;
 417    public string DatePrice { get; init; } = string.Empty;
 18    /// <summary>Хэш предложения из ответа АВД — обязателен для InsertToBasket.</summary>
 519    public string Hash { get; init; } = string.Empty;
 20}