< Summary

Information
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 16
Line coverage: 0%
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_OfferId()100%210%
get_ProductId()100%210%
get_Stock()100%210%
get_WarehouseId()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/StockItem.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3public class StockItemForUpdate
 4{
 5    [JsonProperty("offer_id")]
 06    public string? OfferId { get; set; }
 7
 8    [JsonProperty("product_id")]
 09    public long ProductId { get; set; }
 10
 11    [JsonProperty("stock")]
 012    public int Stock { get; set; }
 13
 14    [JsonProperty("warehouse_id")]
 015    public long WarehouseId { get; set; }
 16}