< Summary

Information
Class: Services.DataServices.DTO.NotFullOrdersModel
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/DataServices/DTO/NotFullOrdersModel.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 23
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_UniqueOrders()100%210%
get_OrdersWithMultipleMatches()100%210%
get_OrdersWithOneMatches()100%210%
get_DistributionReasons()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/DataServices/DTO/NotFullOrdersModel.cs

#LineLine coverage
 1using OzonDomains.Models;
 2using System;
 3using System.Collections.Generic;
 4using System.Linq;
 5using System.Text;
 6using System.Threading.Tasks;
 7
 8namespace Services.DataServices.DTO
 9{
 10    public class NotFullOrdersModel
 11    {
 012        public List<Order>? UniqueOrders { get; set; }
 13
 014        public Dictionary<Order, List<Order>> OrdersWithMultipleMatches { get; set; } = new();
 15
 016        public Dictionary<Order, Order> OrdersWithOneMatches { get; set; } = new();
 17
 18        /// <summary>
 19        /// Словарь причин распределения заказов. Ключ - заказ из Excel, значение - описание причины
 20        /// </summary>
 021        public Dictionary<Order, string> DistributionReasons { get; set; } = new Dictionary<Order, string>();
 22    }
 23}