< Summary

Information
Class: Services.StockSyncServices.WarehouseStockLookupResult
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_Found()100%11100%
get_FuzzyManufacturer()100%11100%
get_Id()100%11100%
get_SourceRowNumber()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{
 85    public bool Found { get; init; }
 36    public bool FuzzyManufacturer { get; init; }
 37    public long Id { get; init; }
 28    public int SourceRowNumber { get; init; }
 49    public decimal? M2Qty { get; init; }
 310    public decimal? M1Qty { get; init; }
 411    public decimal? M3Qty { get; init; }
 412    public decimal? B1Qty { get; init; }
 413    public decimal? B2Qty { get; init; }
 614    public decimal? C0 { get; init; }
 15}
 16
 17public sealed class WarehouseStockSnapshotCandidate
 18{
 19    public long Id { get; init; }
 20    public int SourceRowNumber { get; init; }
 21    public string? Article { get; init; }
 22    public string? Manufacturer { get; init; }
 23    public decimal? M2Qty { get; init; }
 24    public decimal? M1Qty { get; init; }
 25    public decimal? M3Qty { get; init; }
 26    public decimal? B1Qty { get; init; }
 27    public decimal? B2Qty { get; init; }
 28    public decimal? C0 { get; init; }
 29}