< Summary

Information
Class: OzonOrdersWeb.Areas.Studio2.ViewModels.Bitrix.RemainingStockFilter
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/BitrixModels/RemainingStockFilter.cs
Line coverage
100%
Covered lines: 42
Uncovered lines: 0
Coverable lines: 42
Total lines: 59
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_ProductId()100%11100%
get_Article()100%11100%
get_PreviewText()100%11100%
get_Active()100%11100%
get_Available()100%11100%
get_Supplier()100%11100%
get_QuantityFrom()100%11100%
get_QuantityTo()100%11100%
get_DateFrom()100%11100%
get_DateTo()100%11100%
get_PriceValueFrom()100%11100%
get_PriceValueTo()100%11100%
get_RegistrationPriceFrom()100%11100%
get_RegistrationPriceTo()100%11100%
get_StoreId()100%11100%
get_StoreTitle()100%11100%
get_SelectedStoreTitles()100%11100%
get_AmountFrom()100%11100%
get_AmountTo()100%11100%
get_Page()100%11100%
get_PageSize()100%11100%
get_SortColumn()100%11100%
get_SortDirection()100%11100%
get_OzonStoreTitle()100%11100%
get_OzonAmountFrom()100%11100%
get_OzonAmountTo()100%11100%
get_PriceIndexColor()100%11100%
get_PriceIndexValueFrom()100%11100%
get_PriceIndexValueTo()100%11100%
get_MinPriceFrom()100%11100%
get_MinPriceTo()100%11100%
get_LoadOzonWarehouses()100%11100%
get_LoadOneCStocks()100%11100%
get_DiffOzonWarehouses()100%11100%
get_LoadOzonPriceIndexes()100%11100%
get_RedOzonPriceIndexes()100%11100%
get_Clients()100%11100%
get_SelectedClient()100%11100%
get_SelectedClientId()100%11100%
get_OnlyInactive()100%11100%
get_OnlyActive()100%11100%
get_DisablePagination()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/BitrixModels/RemainingStockFilter.cs

#LineLine coverage
 1using OzonDomains.Models;
 2
 3namespace OzonOrdersWeb.Areas.Studio2.ViewModels.Bitrix;
 4
 5public record RemainingStockFilter
 6{
 797    public int? ProductId { get; set; }
 818    public string? Article { get; set; }
 739    public string? PreviewText { get; set; }
 8110    public string? Active { get; set; }
 7011    public string? Available { get; set; }
 7012    public string? Supplier { get; set; }
 7013    public int? QuantityFrom { get; set; }
 6914    public int? QuantityTo { get; set; }
 6815    public DateTime? DateFrom { get; set; }
 6716    public DateTime? DateTo { get; set; }
 17
 6618    public decimal? PriceValueFrom { get; set; }
 6519    public decimal? PriceValueTo { get; set; }
 6420    public decimal? RegistrationPriceFrom { get; set; }
 6321    public decimal? RegistrationPriceTo { get; set; }
 22
 6123    public int? StoreId { get; set; }
 10324    public string? StoreTitle { get; set; }
 14425    public List<string> SelectedStoreTitles { get; set; } = new();
 5626    public double? AmountFrom { get; set; }
 5527    public double? AmountTo { get; set; }
 28
 27229    public int Page { get; set; } = 1;
 27330    public int PageSize { get; set; } = 10_000;
 31
 3432    public string? SortColumn { get; set; }
 11833    public string? SortDirection { get; set; } = "asc";
 34
 5835    public string? OzonStoreTitle { get; set; }
 6436    public double? OzonAmountFrom { get; set; }
 5637    public double? OzonAmountTo { get; set; }
 38
 139    public string? PriceIndexColor { get; set; }
 1940    public double? PriceIndexValueFrom { get; set; }
 1841    public double? PriceIndexValueTo { get; set; }
 1742    public decimal? MinPriceFrom { get; set; }
 1643    public decimal? MinPriceTo { get; set; }
 44
 8245    public bool LoadOzonWarehouses { get; set; }
 3946    public bool LoadOneCStocks { get; set; }
 5647    public bool DiffOzonWarehouses { get; set; }
 5248    public bool LoadOzonPriceIndexes { get; set; }
 49
 5050    public bool RedOzonPriceIndexes { get; set; }
 51
 8452    public List<OzonClient> Clients { get; set; } = new();
 153    public OzonClient? SelectedClient { get; set; }
 5854    public int? SelectedClientId { get; set; }
 55
 9156    public bool OnlyInactive { get; set; }
 9457    public bool OnlyActive { get; set; }
 20958    public bool DisablePagination { get; set; }
 59}