< Summary

Information
Class: RoleRadar.Application.Insights.WeeklyApplicationsDto
Assembly: RoleRadar.Application
File(s): /home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Insights/InsightsStatsDto.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 21
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_WeekStart()100%11100%

File(s)

/home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Insights/InsightsStatsDto.cs

#LineLine coverage
 1namespace RoleRadar.Application.Insights;
 2
 3/// <summary>The window is written as the API names it, "last90Days" or "allTime" (see <see cref="InsightsWindows"/>).</
 4public sealed record InsightsStatsDto(
 5    DateOnly AsOf,
 6    string Window,
 7    DateOnly? WindowStart,
 8    ResponseTimeDto ResponseTime,
 9    IReadOnlyList<WeeklyApplicationsDto> WeeklyApplications,
 10    SearchRunYieldDto SearchRunYield);
 11
 12/// <summary>Median days from applied to first response, and how many responses it is based on.</summary>
 13public sealed record ResponseTimeDto(double? MedianDays, int SampleSize);
 14
 15/// <summary>Applications whose applied date falls in the Monday-start UTC week beginning on <c>WeekStart</c>.</summary>
 234816public sealed record WeeklyApplicationsDto(DateOnly WeekStart, int Count);
 17
 18/// <summary>Search-run yield, oldest first, at most the latest <see cref="InsightsStatsCalculator.MaxRunYield"/> runs.<
 19public sealed record SearchRunYieldDto(IReadOnlyList<SearchRunYieldPointDto> Runs, bool Truncated);
 20
 21public sealed record SearchRunYieldPointDto(DateTimeOffset StartedAt, int NewPostings);

Methods/Properties

get_WeekStart()