< Summary

Information
Class: Services.StockSyncServices.WarehouseStockSnapshotCandidate
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/StockSyncServices/WarehouseStockLookupModels.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 29
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_Id()100%11100%
get_SourceRowNumber()100%11100%
get_Article()100%11100%
get_Manufacturer()100%11100%
get_M2Qty()100%11100%
get_M1Qty()100%11100%
get_M3Qty()100%11100%
get_B1Qty()100%11100%
get_B2Qty()100%11100%
get_C0()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/StockSyncServices/WarehouseStockLookupModels.cs

#LineLine coverage
 1namespace Services.StockSyncServices;
 2
 3public sealed class WarehouseStockLookupResult
 4{
 5    public bool Found { get; init; }
 6    public bool FuzzyManufacturer { get; init; }
 7    public long Id { get; init; }
 8    public int SourceRowNumber { get; init; }
 9    public decimal? M2Qty { get; init; }
 10    public decimal? M1Qty { get; init; }
 11    public decimal? M3Qty { get; init; }
 12    public decimal? B1Qty { get; init; }
 13    public decimal? B2Qty { get; init; }
 14    public decimal? C0 { get; init; }
 15}
 16
 17public sealed class WarehouseStockSnapshotCandidate
 18{
 2219    public long Id { get; init; }
 1220    public int SourceRowNumber { get; init; }
 3421    public string? Article { get; init; }
 2822    public string? Manufacturer { get; init; }
 1423    public decimal? M2Qty { get; init; }
 1224    public decimal? M1Qty { get; init; }
 1225    public decimal? M3Qty { get; init; }
 1226    public decimal? B1Qty { get; init; }
 1227    public decimal? B2Qty { get; init; }
 1928    public decimal? C0 { get; init; }
 29}