< Summary

Line coverage
50%
Covered lines: 4
Uncovered lines: 4
Coverable lines: 8
Total lines: 29
Line coverage: 50%
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_Acquiring()100%210%
get_OfferId()100%11100%
get_ProductId()100%11100%
get_VolumeWeight()100%210%
get_Commissions()100%210%
get_MarketingActions()100%210%
get_Price()100%11100%
get_PriceIndexes()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/ProductPriceses/ProductPriceItemResponse.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2using Services.ApiServices.OzonApi.Filters.ProductPriceses;
 3
 4public class ProductPriceItemResponse
 5{
 6    [JsonProperty("acquiring")]
 07    public double Acquiring { get; set; }
 8
 9    [JsonProperty("offer_id")]
 1310    public string? OfferId { get; set; }
 11
 12    [JsonProperty("product_id")]
 1113    public long ProductId { get; set; }
 14
 15    [JsonProperty("volume_weight")]
 016    public double VolumeWeight { get; set; }
 17
 18    [JsonProperty("commissions")]
 019    public ProductPriceCommissions Commissions { get; set; } = null!;
 20
 21    [JsonProperty("marketing_actions")]
 022    public ProductPriceMarketingActions MarketingActions { get; set; } = null!;
 23
 24    [JsonProperty("price")]
 8925    public ProductPriceDetail Price { get; set; } = null!;
 26
 27    [JsonProperty("price_indexes")]
 7128    public ProductPriceIndexes PriceIndexes { get; set; } = null!;
 29}