< Summary

Information
Class: RaidLoop.Client.Services.OnPersonEntry
Assembly: RaidLoop.Client
File(s): /home/runner/work/RaidLoop/RaidLoop/src/RaidLoop.Client/Services/ClientProfileState.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 27
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
get_Item()100%11100%

File(s)

/home/runner/work/RaidLoop/RaidLoop/src/RaidLoop.Client/Services/ClientProfileState.cs

#LineLine coverage
 1using RaidLoop.Core;
 2
 3namespace RaidLoop.Client.Services;
 4
 5public sealed record RandomCharacterState
 6{
 7    public RandomCharacterState(string Name, List<Item> Inventory, PlayerStats Stats)
 8    {
 9        ArgumentNullException.ThrowIfNull(Stats);
 10        this.Name = Name;
 11        this.Inventory = Inventory;
 12        this.Stats = Stats;
 13    }
 14
 15    public string Name { get; init; }
 16    public List<Item> Inventory { get; init; }
 17    public PlayerStats Stats { get; init; }
 18}
 19
 20public sealed record GameSave(
 21    List<Item> MainStash,
 22    DateTimeOffset RandomCharacterAvailableAt,
 23    RandomCharacterState? RandomCharacter,
 24    int Money,
 25    List<OnPersonEntry> OnPersonItems);
 26
 27327public sealed record OnPersonEntry(Item Item, bool IsEquipped);

Methods/Properties

get_Item()