< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Logging.Utils.Console.Row
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Logging/Utils/Console/Row.cs
Tag: Kestrun/Kestrun@0d738bf294e6281b936d031e1979d928007495ff
Line coverage
100%
Covered lines: 14
Uncovered lines: 0
Coverable lines: 14
Total lines: 27
Line coverage: 100%
Branch coverage
100%
Covered branches: 6
Total branches: 6
Branch coverage: 100%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 08/26/2025 - 14:53:17 Line coverage: 85.7% (12/14) Branch coverage: 50% (3/6) Total lines: 27 Tag: Kestrun/Kestrun@78d1e497d8ba989d121b57aa39aa3c6b22de743112/15/2025 - 04:25:23 Line coverage: 100% (14/14) Branch coverage: 100% (6/6) Total lines: 27 Tag: Kestrun/Kestrun@e333660af9731cab5ae4c14a12f3bb84a8fabc7d 08/26/2025 - 14:53:17 Line coverage: 85.7% (12/14) Branch coverage: 50% (3/6) Total lines: 27 Tag: Kestrun/Kestrun@78d1e497d8ba989d121b57aa39aa3c6b22de743112/15/2025 - 04:25:23 Line coverage: 100% (14/14) Branch coverage: 100% (6/6) Total lines: 27 Tag: Kestrun/Kestrun@e333660af9731cab5ae4c14a12f3bb84a8fabc7d

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_IsHeader()100%11100%
get_Index()100%11100%
get_Cells()100%11100%
get_DisableTopGrid()100%11100%
.ctor(...)100%44100%
.ctor(...)100%22100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Logging/Utils/Console/Row.cs

#LineLine coverage
 1namespace Kestrun.Logging.Utils.Console;
 2
 3internal class Row
 4{
 25    public bool IsHeader { get; }
 1716    public int Index { get; }
 1017    public List<Cell> Cells { get; }
 508    public bool DisableTopGrid { get; set; }
 9
 10    public Row(int index, bool isHeader = false, params object[] values)
 10111        : this(index, isHeader, [.. (values ?? []).Select(v => v?.ToString() ?? Cell.NULL_PLACEHOLDER)])
 12    {
 3213    }
 14
 5515    public Row(int index, bool isHeader = false, params string[] values)
 16    {
 5517        if (values == null)
 18        {
 119            throw new ArgumentException("You must provide cells when creating row!", nameof(values));
 20        }
 21
 5422        var cellIndex = 0;
 16323        Cells = [.. values.Select(v => new Cell(v, cellIndex++, this))];
 5424        Index = index;
 5425        IsHeader = isHeader;
 5426    }
 27}