< Summary

Information
Class: GridForge.Grids.WorldOccupancyRegistry
Assembly: GridForge
File(s): /home/runner/work/GridForge/GridForge/src/GridForge/Grids/Managers/WorldOccupancyRegistry.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 20
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
.ctor()100%11100%

File(s)

/home/runner/work/GridForge/GridForge/src/GridForge/Grids/Managers/WorldOccupancyRegistry.cs

#LineLine coverage
 1//=======================================================================
 2// WorldOccupancyRegistry.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
 8using System;
 9using SwiftCollections;
 10
 11namespace GridForge.Grids;
 12
 13/// <summary>
 14/// Synchronizes one world's tracked occupant registrations.
 15/// </summary>
 16internal sealed class WorldOccupancyRegistry
 17{
 9118    public readonly object SyncRoot = new object();
 9119    public readonly SwiftDictionary<Guid, OccupancyRecord> Records = new SwiftDictionary<Guid, OccupancyRecord>();
 20}

Methods/Properties

.ctor()