< Summary

Information
Class: Minesweeper.Domain.Y
Assembly: Minesweeper
File(s): /home/runner/work/kata-minesweeper-func1/kata-minesweeper-func1/src/Minesweeper/Domain/Y.cs
Tag: 26_1981553485
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 9
Line coverage: 66.6%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Coverage History

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Value()100%1100%
op_Implicit(...)100%1100%
op_Addition(...)100%10%

File(s)

/home/runner/work/kata-minesweeper-func1/kata-minesweeper-func1/src/Minesweeper/Domain/Y.cs

#LineLine coverage
 1namespace Minesweeper.Domain;
 2
 23public readonly record struct Y(int Value)
 4{
 15    public static implicit operator Y(int v) => new(v);
 6
 07    public static Y operator +(Y a, Y b) => new(a.Value + b.Value);
 8}
 9