< Summary

Information
Class: Punch.CLI.PunchData
Assembly: punch
File(s): /home/runner/work/punch/punch/src/Punch.CLI/PunchData.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 14
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_Blocks()100%11100%

File(s)

/home/runner/work/punch/punch/src/Punch.CLI/PunchData.cs

#LineLine coverage
 1namespace Punch.CLI;
 2
 3internal sealed class PunchData
 4{
 975    public List<TimeBlockDto> Blocks { get; set; } = new();
 6}
 7
 8internal sealed class TimeBlockDto
 9{
 10    public int StartSlot { get; set; }
 11    public int Length { get; set; }
 12    public string Label { get; set; } = "";
 13    public string Ticket { get; set; } = "";
 14}

Methods/Properties

get_Blocks()