< Summary

Information
Class: Minesweeper.CellModule
Assembly: Minesweeper
File(s): /home/runner/work/kata-fsharp-tdd-minesweeper4/kata-fsharp-tdd-minesweeper4/src/Minesweeper/Cell.fs
Tag: 7_2446904407
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 15
Line coverage: 100%
Branch coverage
100%
Covered branches: 2
Total branches: 2
Branch coverage: 100%
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Coverage History

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
char(...)100%2100%

File(s)

/home/runner/work/kata-fsharp-tdd-minesweeper4/kata-fsharp-tdd-minesweeper4/src/Minesweeper/Cell.fs

#LineLine coverage
 1namespace Minesweeper
 2
 3open System
 4
 5type Cell =
 6    | Bomb
 7    | Number of int
 8
 9module Cell =
 10    let init = Number 0
 11
 12    let char = function
 113    | Bomb -> '*'
 114    | Number i -> Convert.ToChar(i + (int)'0')
 15

Methods/Properties

char(Minesweeper.Cell)