< Summary

Information
Class: GridForge.Diagnostics.GridDiagnosticScratch
Assembly: GridForge
File(s): /home/runner/work/GridForge/GridForge/src/GridForge/Diagnostics/GridDiagnosticScratch.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 22
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
Clear()100%11100%

File(s)

/home/runner/work/GridForge/GridForge/src/GridForge/Diagnostics/GridDiagnosticScratch.cs

#LineLine coverage
 1//=======================================================================
 2// GridDiagnosticScratch.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2024–present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8namespace GridForge.Diagnostics;
 9
 10/// <summary>
 11/// Reusable scratch storage for allocation-conscious diagnostic queries.
 12/// </summary>
 13public sealed class GridDiagnosticScratch
 14{
 15    /// <summary>
 16    /// Clears reusable scratch state. Phase 1 does not allocate scratch
 17    /// collections yet.
 18    /// </summary>
 19    public void Clear()
 20    {
 6621    }
 22}

Methods/Properties

Clear()