< Summary

Information
Class: Services.OrderDailySummaryServices.OrderDailySummary
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/OrderDailySummaryServices/IOrderDailySummaryService.cs
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
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
.ctor(...)100%11100%
get_Date()100%11100%
get_AcceptedForProcessingCount()100%11100%
get_CancelledCount()100%11100%
get_DeliveredCount()100%11100%
get_MissingSystemStatusCount()100%11100%
get_ActiveOrderControlTasksCount()100%11100%
get_OverdueOrderControlTasksCount()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/OrderDailySummaryServices/IOrderDailySummaryService.cs

#LineLine coverage
 1namespace Services.OrderDailySummaryServices;
 2
 3public interface IOrderDailySummaryService
 4{
 5    Task<OrderDailySummary> GetYesterdayAsync(CancellationToken cancellationToken = default);
 6    Task<IReadOnlyList<MissingSystemStatusOrder>> GetMissingSystemStatusOrdersAsync(int take = 200, CancellationToken ca
 7}
 8
 39public sealed record OrderDailySummary(
 210    DateOnly Date,
 211    int AcceptedForProcessingCount,
 212    int CancelledCount,
 213    int DeliveredCount,
 314    int MissingSystemStatusCount,
 215    int ActiveOrderControlTasksCount,
 516    int OverdueOrderControlTasksCount);
 17
 18public sealed record MissingSystemStatusOrder(
 19    int Id,
 20    string ShipmentNumber,
 21    string? ProductName,
 22    string? Article,
 23    string? ProducerName,
 24    string? SupplierName,
 25    string? ClientStatusName,
 26    string? ClientStatusColor,
 27    DateTime? ProcessingDate,
 28    string? ImageUrl,
 29    string? OzonClientName);